public static void Main(string[] args) { XUnitRunner.PreloadAssemblies(); RemoteProcessServer server = new RemoteProcessServer(); server.Connect(args, new RemoteXUnitRunner(server)); }
public static void Main(string[] args) { RemoteProcessServer server = new RemoteProcessServer(); var builderEngine = new BuildEngine(server); server.Connect(args, builderEngine); builderEngine.WaitHandle.WaitOne(); }
public static void Main(string[] args) { // This is required for MSBuild to properly load the .exe.config configuration file for this executable. Environment.SetEnvironmentVariable("MSBUILD_EXE_PATH", typeof(MainClass).Assembly.Location); RemoteProcessServer server = new RemoteProcessServer(); server.Connect(args, new AssemblyResolver(server)); }
public static void Main(string[] args) { // This is required for MSBuild to properly load the .exe.config configuration file for this executable. Environment.SetEnvironmentVariable("MSBUILD_EXE_PATH", typeof(MainClass).Assembly.Location); // Disable VBCSCompiler until it is reliable on mono. Currently leaves orphaned processes for VB projects taking up 100% CPU. // https://github.com/mono/mono/issues/11939 Environment.SetEnvironmentVariable("UseSharedCompilation", bool.FalseString); RemoteProcessServer server = new RemoteProcessServer(); server.Connect(args, new AssemblyResolver(server)); }
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(); }
public AssemblyResolver(RemoteProcessServer server) { this.server = server; }
public EventListenerWrapper(RemoteProcessServer server) { this.server = server; }
public RemoteXUnitRunner(RemoteProcessServer server) { this.server = server; }
public NUnitTestRunner(RemoteProcessServer server) { this.server = server; Initialize(); }
public BuildEngine(RemoteProcessServer pserver) { server = pserver; }
public static void Main(string[] args) { RemoteProcessServer server = new RemoteProcessServer(); server.Connect(args, new AssemblyResolver(server)); }
public static void Main(string [] args) { server = new RemoteProcessServer(); server.Connect(args, new NUnitTestRunner(server)); }