local ____exports = __module.env local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module) local Reset = M__Tests_Harness_TestRunner.Reset local PrintReport = M__Tests_Harness_TestRunner.PrintReport local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module) local InstallIfNeeded = M__Tests_Harness_MockUnLuaRuntime.InstallIfNeeded local M__Tests_Syntax_BasicTypesAndControlFlow = __MODULE__.Import("Tests.Syntax.BasicTypesAndControlFlow", __module) local RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests local M__Tests_Syntax_FunctionsClosuresAndTuples = __MODULE__.Import("Tests.Syntax.FunctionsClosuresAndTuples", __module) local RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests local M__Tests_Syntax_PureClassesAndGenerics = __MODULE__.Import("Tests.Syntax.PureClassesAndGenerics", __module) local RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests local M__Tests_Syntax_UnLuaSyntaxSuite = __MODULE__.Import("Tests.Syntax.UnLuaSyntaxSuite", __module) local RunUnLuaSyntaxTests = M__Tests_Syntax_UnLuaSyntaxSuite.RunUnLuaSyntaxTests local M__Tests_UnLuaExamples_UnLuaExamplesSuite = __MODULE__.Import("Tests.UnLuaExamples.UnLuaExamplesSuite", __module) local RunUnLuaExamplesTests = M__Tests_UnLuaExamples_UnLuaExamplesSuite.RunUnLuaExamplesTests local M__Tests_Gameplay_GameplaySuite = __MODULE__.Import("Tests.Gameplay.GameplaySuite", __module) local RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests local M__Tests_Extra_HotReloadAndFrameworkTest = __MODULE__.Import("Tests.Extra.HotReloadAndFrameworkTest", __module) local RunHotReloadAndFrameworkTests = M__Tests_Extra_HotReloadAndFrameworkTest.RunHotReloadAndFrameworkTests local M__Tests_Extra_Lua54PitfallsTest = __MODULE__.Import("Tests.Extra.Lua54PitfallsTest", __module) local RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests local M__Tests_Extra_LifecycleAndMemoryTest = __MODULE__.Import("Tests.Extra.LifecycleAndMemoryTest", __module) local RunLifecycleAndMemoryTests = M__Tests_Extra_LifecycleAndMemoryTest.RunLifecycleAndMemoryTests function ____exports.RunAll() InstallIfNeeded() Reset() RunBasicTypesAndControlFlowTests() RunFunctionsClosuresAndTuplesTests() RunPureClassesAndGenericsTests() RunUnLuaSyntaxTests() RunUnLuaExamplesTests() RunGameplayTests() RunHotReloadAndFrameworkTests() RunLua54PitfallsTests() RunLifecycleAndMemoryTests() return PrintReport() end local g = _G if g.__TS2LUA_TEST_AUTO_RUN__ == true then local summary = ____exports.RunAll() if summary.failed > 0 then os.exit(1) end end function __module.UpdateImports() Reset = M__Tests_Harness_TestRunner.Reset PrintReport = M__Tests_Harness_TestRunner.PrintReport InstallIfNeeded = M__Tests_Harness_MockUnLuaRuntime.InstallIfNeeded RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests RunUnLuaSyntaxTests = M__Tests_Syntax_UnLuaSyntaxSuite.RunUnLuaSyntaxTests RunUnLuaExamplesTests = M__Tests_UnLuaExamples_UnLuaExamplesSuite.RunUnLuaExamplesTests RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests RunHotReloadAndFrameworkTests = M__Tests_Extra_HotReloadAndFrameworkTest.RunHotReloadAndFrameworkTests RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests RunLifecycleAndMemoryTests = M__Tests_Extra_LifecycleAndMemoryTest.RunLifecycleAndMemoryTests end