mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
31 lines
761 B
C#
31 lines
761 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading;
|
|
using Cosmos.TestRunner.Core;
|
|
|
|
namespace Cosmos.TestRunner.UI
|
|
{
|
|
partial class MainWindowHandler
|
|
{
|
|
private Thread TestEngineThread = null;
|
|
public void RunTestEngine()
|
|
{
|
|
TestEngineThread = new Thread(TestEngineThreadMain);
|
|
TestEngineThread.Start();
|
|
}
|
|
|
|
private void TestEngineThreadMain()
|
|
{
|
|
var xEngine = new Engine();
|
|
|
|
DefaultEngineConfiguration.Apply(xEngine);
|
|
|
|
var xOutputXml = new OutputHandlerXml();
|
|
xEngine.OutputHandler = new MultiplexingOutputHandler(
|
|
xOutputXml,
|
|
this);
|
|
|
|
xEngine.Execute();
|
|
}
|
|
}
|
|
}
|