Example #1
0
 public static void RunTest()
 {
     TestFile.RunTest("Missing End Statement", lMissingEndStatement, 1);
     TestFile.RunTest("Reading No Matching Group", NoMatchingGroup, 1);
     TestFile.RunTest("Invalid AUTA Command export", InvalidAUTACommand, 1);
     TestFile.RunTest("Invalid AUTA Command import", InvalidAUTACommandImport, 1);
     TestFile.RunTest("Invalid AUTA Command Missing scope", InvalidAUTACommandScopeMissing, 1);
     TestFile.RunTest("Invalid AUTA Command Missing flags", InvalidAUTACommandFlagsMissing, 1);
     TestFile.RunTest("Invalid AUTA Command partial flags", InvalidAUTACommandFlagsPartial, 1);
     TestFile.RunTest("Invalid AUTA Invalid Extra Command", InvalidAUTAExtraCommand, 1);
 }
        public static void RunTest()
        {
            TestFile.RunTest("Test Create Flag Block", TestFlagBlockCreate);
            TestFile.RunTest("Test use Flag Block true", TestFlagBlockTrue);
            TestFile.RunTest("Test use Flag Block false", TestFlagBlockFalse);
            TestFile.RunTest("Error Case : Invalid Flag block", TestFlagBlockInvalid, 1);

            List <TestFile> lList = new List <TestFile>()
            {
                TestFlagBlockTrueAcrossFiles1, TestFlagBlockTrueAcrossFiles2
            };

            TestFile.RunTest("Test use Flag Block Across Files", lList);
        }
Example #3
0
        public static void RunTest()
        {
            TestFile.RunTest("Test Create Scope Block Labels", TestScopeBlockTypesCreate);
            TestFile.RunTest("Test Create Scope block combining scope blocks Labels", TestScopeBlockTypesCombine);
            TestFile.RunTest("Test use Scope Block Labels", TestScopeBlockTypesUse);
            TestFile.RunTest("Test use Combined Scope Blocks Labels", TestScopeBlockTypesUseCombined);
            TestFile.RunTest("Test use concatenation seperate symbols", TestScopeBlockTypesUseWithConcatenation);

            List <TestFile> lList = new List <TestFile>()
            {
                TestScopeBlockTypesUseCombinedAcrossFiles1, TestScopeBlockTypesUseCombinedAcrossFiles2, TestScopeBlockTypesUseCombinedAcrossFiles3
            };

            TestFile.RunTest("Test use Scope Block Labels Across Files", lList);
        }
Example #4
0
        public static void RunTest()
        {
            TestFile.RunTest("Test Create Scope Block Labels", TestScopeBlockLabelsCreate);
            TestFile.RunTest("Test Create Scope block combining scope blocks Labels", TestScopeBlockLabelsCombine);
            TestFile.RunTest("Test use Scope Block Labels", TestScopeBlockLabelsUse);
            TestFile.RunTest("Test use Scope Block Multi Labels", TestScopeBlockMultiLabelsUse);
            TestFile.RunTest("Test use Combined Scope Blocks Labels", TestScopeBlockLabelsUseCombined);
            TestFile.RunTest("Test use undeclared scope block Labels", TestScopeBlockInvalidScopeBlock, 1);

            List <TestFile> lList = new List <TestFile>()
            {
                TestScopeBlockLabelsUseCombinedAcrossFiles1, TestScopeBlockLabelsUseCombinedAcrossFiles2, TestScopeBlockLabelsUseCombinedAcrossFiles3
            };

            TestFile.RunTest("Test use Scope Block Labels Across Files", lList);
        }
Example #5
0
        public static void RunTest()
        {
            TestFile.RunTest("Basic Import / Export", BasicInput);
            TestFile.RunTest("Basic Import / Export Multiple Groups", BasicMultipleGroups);
            TestFile.RunTest("Basic Import / Export Multiple Imports", BasicRepeatedImport);
            TestFile.RunTest("Basic Import / Export Concatenation Test", BasicConcatinationTest);

            List <TestFile> lList = new List <TestFile>()
            {
                BasicMultiFileImportFile1, BasicMultiFileImportFile2
            };

            TestFile.RunTest("Basic Import / Export Across Files", lList);
            TestFile.RunTest("Error Case : exported multiple times", ErrorMultipleExport, 1);

            List <TestFile> lList2 = new List <TestFile>()
            {
                ErrorMultipleExportAcrossFiles1, ErrorMultipleExportAcrossFiles2
            };

            TestFile.RunTest("Error Case : exported multiple times across Files", lList2, 1);
        }