Cosmos/Tests/Cosmos.TestRunner.TestController/TestController.cs
2015-06-21 15:59:56 +02:00

38 lines
1,014 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cosmos.Debug.Kernel;
namespace Cosmos.TestRunner
{
public static class TestController
{
private static Debugger mDebugger;
internal static Debugger Debugger
{
get
{
return new Debugger("Tests", "TestController");
}
}
public const byte TestChannel = 255;
public static void Completed()
{
Debugger.SendChannelCommand(TestChannel, (byte)TestChannelCommandEnum.TestCompleted, new byte[0]);
}
public static void Failed()
{
Debugger.SendChannelCommand(TestChannel, (byte)TestChannelCommandEnum.TestFailed, new byte[0]);
}
internal static void AssertionSucceeded()
{
//Debugger.SendChannelCommand(TestChannel, (byte)TestChannelCommandEnum.AssertionSucceeded, new byte[0]);
}
}
}