Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs')
-rw-r--r--mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs b/mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs
deleted file mode 100644
index cf6091319d3..00000000000
--- a/mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs
+++ /dev/null
@@ -1,35 +0,0 @@
-namespace NUnit
-{
- using System;
- using System.Collections;
- using NUnit.Framework;
- using NUnit.Runner;
- using NUnit.TextUI;
-
- /// <summary>
- ///
- /// </summary>
- public class Top
- {
- /// <summary>
- ///
- /// </summary>
- /// <param name="args"></param>
- public static void Main(string[] args)
- {
- TestRunner aTestRunner = new NUnit.TextUI.TestRunner();
- try
- {
- TestResult r = aTestRunner.Start(args);
- if (!r.WasSuccessful)
- Environment.Exit(1);
- Environment.Exit(0);
- }
- catch(Exception e)
- {
- Console.Error.WriteLine(e.Message);
- Environment.Exit(2);
- }
- }
- }
-} \ No newline at end of file