/// <summary> /// Main kernel loop /// </summary> protected override void Run() { try { mDebugger.Send("Run"); PathTest.Execute(mDebugger); DirectoryTest.Execute(mDebugger); FileStreamTest.Execute(mDebugger); DirectoryInfoTest.Execute(mDebugger); StreamWriterStreamReaderTest.Execute(mDebugger); BinaryWriterBinaryReaderTest.Execute(mDebugger); FileInfoTest.Execute(mDebugger); DriveInfoTest.Execute(mDebugger); FileTest.Execute(mDebugger); TestController.Completed(); } catch (Exception e) { Console.WriteLine("Exception occurred"); Console.WriteLine(e.ToString()); mDebugger.Send("Exception occurred: " + e.ToString()); TestController.Failed(); } }
/// <summary> /// Main kernel loop /// </summary> protected override void Run() { try { mDebugger.Send("Run"); FileTest.Execute(mDebugger); DriveInfoTest.Execute(mDebugger); TestController.Completed(); } catch (Exception e) { Console.WriteLine("Exception occurred"); Console.WriteLine(e.ToString()); mDebugger.Send("Exception occurred: " + e.ToString()); TestController.Failed(); } }