Cosmos/source/TestKernels/SimpleTest/Program.cs
2009-05-17 13:13:56 +00:00

36 lines
No EOL
1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cosmos.TestKernelHelpers;
using Cosmos.Compiler.Builder;
namespace Cosmos.SimpleTest
{
public class Program
{
[STAThread]
static void Main(string[] args)
{
BuildUI.Run();
}
public static void Init()
{
// prevent interrupts from being enabled for now.
bool xTest = true;
if (xTest)
{
var xBoot = new Cosmos.Sys.Boot();
xBoot.Execute();
}
TestReporter.Initialize();
TestReporter.WriteTestResult("SimpleTest", "Simple test to show that harness is working", true);
TestReporter.WriteTestResult("SimpleTest1", "Simple test to show that harness is working", true);
TestReporter.TestsCompleted();
Console.WriteLine("Done");
//Cosmos.Sys.Deboot.ShutDown();
}
}
}