From 3176e53c4a2e20ada47a117d4d57b93bc3fa7039 Mon Sep 17 00:00:00 2001 From: Luc van Vugt Date: Mon, 20 Feb 2023 17:01:28 +0100 Subject: [PATCH] Addition to sixth improvements #128 --- .../src/test/results/scenario084.al | 71 ------------------- 1 file changed, 71 deletions(-) delete mode 100644 vscode-extension/src/test/results/scenario084.al diff --git a/vscode-extension/src/test/results/scenario084.al b/vscode-extension/src/test/results/scenario084.al deleted file mode 100644 index cf1a63e..0000000 --- a/vscode-extension/src/test/results/scenario084.al +++ /dev/null @@ -1,71 +0,0 @@ -codeunit 50100 "TestObjectFLX" -{ - Subtype = Test; - - var - IsInitialized: Boolean; - - trigger OnRun() - begin - // [FEATURE] First test object - end; - - [Test] - procedure FirstTestFunctionWithValidGivenWhenThenStructure() - // [FEATURE] First test object - begin - // [SCENARIO 0001] First test function with valid Given-When-Then structure - // [GIVEN] Valid Given - CreateValidGiven(); - // [WHEN] Valid When - ValidWhen(); - // [THEN] Valid Then - VerifyValidThen(); - end; - - [Test] - procedure SecondTestFunctionWithValidGivenWhenThenStructure() - begin - // [Scenario #0002] Second test function with valid Given-When-Then structure - Initialize(); - end; - - [Test] - procedure AnotherTestFunctionWithValidGivenWhenThenStructure() - begin - // [Scenario #0003] Another test function with valid Given-When-Then structure - Initialize(); - end; - - local procedure CreateValidGiven() - begin - Error('Procedure CreateValidGiven not yet implemented.'); - end; - - local procedure ValidWhen() - begin - Error('Procedure ValidWhen not yet implemented.'); - end; - - local procedure VerifyValidThen() - begin - Error('Procedure VerifyValidThen not yet implemented.'); - end; - - local procedure Initialize() - var - LibraryTestInitialize: Codeunit "Library - Test Initialize"; - begin - LibraryTestInitialize.OnTestInitialize(Codeunit::"TestObjectFLX"); - - if IsInitialized then - exit; - - LibraryTestInitialize.OnBeforeTestSuiteInitialize(Codeunit::"TestObjectFLX"); - - IsInitialized := true; - Commit(); - - LibraryTestInitialize.OnAfterTestSuiteInitialize(Codeunit::"TestObjectFLX"); - end; -} \ No newline at end of file