void DoTests() { m_Ctx.Post(o => textView.Text = "", null); MoonSharp.Interpreter.Tests.TestRunner tr = new MoonSharp.Interpreter.Tests.TestRunner(Log); tr.Test(); }
void DoTests() { textView.Post(() => textView.Text = ""); MoonSharp.Interpreter.Tests.TestRunner tr = new MoonSharp.Interpreter.Tests.TestRunner(Log); tr.Test(); }
void DoTests() { textView.Post (() => textView.Text = ""); MoonSharp.Interpreter.Tests.TestRunner tr = new MoonSharp.Interpreter.Tests.TestRunner(Log); tr.Test(); }
static int Main(string[] args) { Console.ForegroundColor = ConsoleColor.Magenta; Console.WriteLine("===================================================================================="); Console.WriteLine("===================================================================================="); Console.WriteLine("===================================================================================="); Console.WriteLine(); Console.WriteLine(); Console.WriteLine(); try { TestRunner T = new TestRunner(Log); if (LOG_ON_FILE != null) File.WriteAllText(LOG_ON_FILE, ""); Console.ForegroundColor = ConsoleColor.Cyan; Console.WriteLine("Running on AOT : {0}", Script.GlobalOptions.Platform.IsRunningOnAOT()); if (Script.GlobalOptions.Platform.IsRunningOnAOT()) { SKIPLIST.AddRange(AOT_SKIPLIST); } Console.WriteLine(); Console.WriteLine(); T.Test(RESTRICT_TEST, SKIPLIST.ToArray()); if (Debugger.IsAttached) { Console.WriteLine("Press any key..."); Console.ReadKey(); } return T.Fail; } catch (Exception ex) { Console.WriteLine(ex.ToString()); return 999; } }
void DoTests() { MoonSharp.Interpreter.Tests.TestRunner tr = new MoonSharp.Interpreter.Tests.TestRunner(Log); tr.Test(); }
static int Main(string[] args) { Console.ForegroundColor = ConsoleColor.Magenta; Console.WriteLine("===================================================================================="); Console.WriteLine("===================================================================================="); Console.WriteLine("===================================================================================="); Console.WriteLine(); Console.WriteLine(); Console.WriteLine(); MyNamespace.MyClass.Initialize(); SKIPLIST.AddRange(HARDWIRE_SKIPLIST); UserData.RegistrationPolicy = new HardwireAndLogPolicy(); try { TestRunner T = new TestRunner(Log); if (LOG_ON_FILE != null) File.WriteAllText(LOG_ON_FILE, ""); Console.ForegroundColor = ConsoleColor.Cyan; Console.WriteLine("Running on AOT : {0}", Script.GlobalOptions.Platform.IsRunningOnAOT()); if (Script.GlobalOptions.Platform.IsRunningOnAOT()) { SKIPLIST.AddRange(AOT_SKIPLIST); } Console.WriteLine(); Console.WriteLine(); T.Test(RESTRICT_TEST, SKIPLIST.ToArray()); if (Debugger.IsAttached) { Console.WriteLine("Press any key..."); Console.ReadKey(); } //OnTestEnded(); return T.Fail; } catch (Exception ex) { Console.WriteLine(ex.ToString()); return 999; } }