29 lines
571 B
C#
29 lines
571 B
C#
|
using System;
|
||
|
using System.Threading;
|
||
|
using System.Runtime.Remoting;
|
||
|
using System.Runtime.Remoting.Services;
|
||
|
using System.Runtime.Remoting.Channels;
|
||
|
using System.Runtime.Remoting.Channels.Tcp;
|
||
|
using NUnit.Core;
|
||
|
|
||
|
namespace NUnit.Util
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Base class for servers
|
||
|
/// </summary>
|
||
|
public class TestServer : ServerBase
|
||
|
{
|
||
|
private TestRunner runner;
|
||
|
|
||
|
public TestServer( string uri, int port ) : base( uri, port )
|
||
|
{
|
||
|
this.runner = new TestDomain();
|
||
|
}
|
||
|
|
||
|
public TestRunner TestRunner
|
||
|
{
|
||
|
get { return runner; }
|
||
|
}
|
||
|
}
|
||
|
}
|