Example #1
0
		public static void Main (string[] args)
		{
			RemoteProcessServer server = new RemoteProcessServer ();
			var builderEngine = new BuildEngine (server);
			server.Connect (args, builderEngine);
			builderEngine.WaitHandle.WaitOne ();
		}
		public RemoteNUnitTestRunner (RemoteProcessServer server)
		{
			this.server = server;

			// Add standard services to ServiceManager
			ServiceManager.Services.AddService (new DomainManager ());
			ServiceManager.Services.AddService (new ProjectService ());
			ServiceManager.Services.AddService (new AddinRegistry ());
			ServiceManager.Services.AddService (new AddinManager ());
			ServiceManager.Services.AddService (new TestAgency ());
			
			// Initialize services
			ServiceManager.Services.InitializeServices ();
		}
		public NUnitTestRunner (RemoteProcessServer server)
		{
			this.server = server;

			// Note: We need to load all nunit.*.dll assemblies before we do *anything* else in this class
			// This is to ensure that we always load the assemblies from the monodevelop directory and not
			// from the directory of the assembly under test. For example we wnat to load
			// /Applications/MonoDevelop/lib/Addins/nunit.framework.dll and not /user/app/foo/bin/debug/nunit.framework.dll
			var path = Path.GetDirectoryName (GetType ().Assembly.Location);
			string nunitPath = Path.Combine (path, "nunit.framework.dll");
			Assembly.LoadFrom (nunitPath);

			Initialize ();
		}
Example #4
0
 internal void InitListener(RemoteProcessServer server)
 {
     this.server = server;
 }
		public BuildEngine (RemoteProcessServer pserver)
		{
			server = pserver;
		}
		public EventListenerWrapper (RemoteProcessServer server)
		{
			this.server = server;
		}
Example #7
0
		public static void Main (string [] args)
		{
			server = new RemoteProcessServer ();
			server.Connect (args, new NUnitTestRunner (server));
		}
			internal void InitListener (RemoteProcessServer server)
			{
				this.server = server;
			}
		public NUnitTestRunner (RemoteProcessServer server)
		{
			this.server = server;
			Initialize ();
		}
Example #10
0
		public static void Main (string [] args)
		{
			NUnitTestRunner.PreloadAssemblies ();
			server = new RemoteProcessServer ();
			server.Connect (args, new RemoteNUnitTestRunner (server));
		}