mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
30 lines
732 B
C#
30 lines
732 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cosmos.TestRunner;
|
|
using Sys = Cosmos.System;
|
|
|
|
namespace Cosmos.Compiler.Tests.MethodTests
|
|
{
|
|
public class Kernel : Sys.Kernel
|
|
{
|
|
protected override void BeforeRun()
|
|
{
|
|
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
|
|
}
|
|
|
|
protected override void Run()
|
|
{
|
|
try
|
|
{
|
|
ReturnTests.Execute();
|
|
TestController.Completed();
|
|
}
|
|
catch (Exception E)
|
|
{
|
|
Console.WriteLine("Exception");
|
|
Console.WriteLine(E.ToString());
|
|
}
|
|
}
|
|
}
|
|
}
|