Example #1
0
 public static int LibwasmText()
 {
     return(RunTests.RunMany(
                new AssemblerTests(),
                new LexerTests(),
                new ParserTests()));
 }
Example #2
0
 public static int Test_LeMP()
 {
     return(RunTests.RunMany(
                new MacroProcessorTests(),
                new PreludeMacroTests_Les2(),
                new PreludeMacroTests_Les3(),
                new CompilerTests(),
                new SmallerMacroTests(),
                new LiteralTests(),
                new TestAlgebraicDataTypes(),
                new TestCodeContractMacros(),
                new TestCodeQuoteMacro(),
                new TestMacroCombinations(),
                new TestMatchCodeMacro(),
                new TestStaticMatchCodeMacro(),
                new TestStaticDeconstructMacro(),
                new TestMatchMacro(),
                new TestOnFinallyReturnThrowMacros(),
                new TestReplaceAndDefineMacros(),
                new TestUseSequenceExpressionsMacro(),
                new TestSetOrCreateMemberMacro(),
                new TestUnrollMacro(),
                new TestUseSymbolsMacro(),
                new TestCompileTimeMacros(),
                new TestUserDefinedMacroMacro()));
 }
Example #3
0
 public static int Test_Ecs()
 {
     return(RunTests.RunMany(
                new EcsLexerTests(),
                new EcsParserTests(),
                new EcsNodePrinterTests(),
                new EcsValidatorTests()));
 }
Example #4
0
        public static int Test_LLLPG()
        {
            Console.WriteLine("Running LLLPG tests...");

            return(RunTests.RunMany(
                       new LlpgParserTests(),
                       new LlpgGeneralTests(),
                       new LlpgCoreTests(),
                       new LlpgAutoValueSaverVisitorTests(),
                       new LlpgTestLargerExamples(),
                       new LlpgBugsAndSlugs()));
        }
Example #5
0
        public static int Test_LLLPG()
        {
            Console.WriteLine("Running tests... (a small number of them are broken)");

            // Workaround for MS bug: Assert(false) will not fire in debugger
            Debug.Listeners.Clear();
            Debug.Listeners.Add(new DefaultTraceListener());

            return(RunTests.RunMany(
                       new LlpgParserTests(),
                       new LlpgGeneralTests(),
                       new LlpgCoreTests(),
                       new LlpgAutoValueSaverVisitorTests(),
                       new LlpgTestLargerExamples(),
                       new LlpgBugsAndSlugs()));
        }
Example #6
0
 public static int Test_LeMP()
 {
     return(RunTests.RunMany(
                new MacroProcessorTests(),
                new PreludeMacroTests(),
                new SmallerMacroTests(),
                new TestAlgebraicDataTypes(),
                new TestCodeContractMacros(),
                new TestCodeQuoteMacro(),
                new TestMacroCombinations(),
                new TestMatchCodeMacro(),
                new TestMatchMacro(),
                new TestOnFinallyReturnThrowMacros(),
                new TestReplaceMacro(),
                new TestSequenceExpressionMacro(),
                new TestSetOrCreateMemberMacro(),
                new TestUnrollMacro()));
 }
Example #7
0
 public static int LibwasmOptimize()
 {
     return(RunTests.RunMany(
                new FunctionBodyOptimizationTests()));
 }
Example #8
0
 public static int LibwasmInterpret()
 {
     return(RunTests.RunMany(
                new DefaultInterpreterTests(),
                new LinearMemoryTests()));
 }
Example #9
0
 public static int SpecScripts()
 {
     return(RunTests.RunMany(
                new ScriptTests()));
 }