static void Main(string [] args) { var exitCode = CommandLineInterface.RunMain(args); // We've seen a hang at times if we exit // normally, so force the process termination. Environment.Exit(exitCode); }
static void Main(string [] args) { using (var pool = new NSAutoreleasePool()) { NSApplication.Init(); // The Mac test runner is the best-behaved of // all the runners because we are able to take // advantage of the default activation policy // for command line utilities. This means that // all the tests can run and execute without // stealing focus or bringing the test window to // the foreground. // // Best of all, to get this functionality, we // simply don't call anything at all. (Acting // like a normal application is a bit trickier.) // SetInteractive (); CommandLineInterface.RunMain(args); } }
static void Main(string [] args) { CommandLineInterface.RunMain(args); }