Skip to content

Commit

Permalink
Importing NUnit 1.11.
Browse files Browse the repository at this point in the history
svn path=/branches/NUNIT/mcs/; revision=2713
  • Loading branch information
Martin Baulig committed Feb 27, 2002
1 parent 9f187b5 commit 7f0542b
Show file tree
Hide file tree
Showing 28 changed files with 2,373 additions and 2,021 deletions.
8 changes: 4 additions & 4 deletions mcs/nunit/src/NUnitConsole/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly:AssemblyVersion("1.10.*")]
[assembly:AssemblyVersion("1.11.*")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
Expand All @@ -50,6 +50,6 @@
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile(@"..\..\..\..\NUnit.key")]
//[assembly: AssemblyKeyName("")]
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile(@"..\..\..\..\NUnit.key")]
[assembly: AssemblyKeyName("")]
65 changes: 35 additions & 30 deletions mcs/nunit/src/NUnitConsole/NUnitConsoleMain.cs
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
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);
}
}
}
}
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);
}
}
}
}
Loading

0 comments on commit 7f0542b

Please sign in to comment.