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/nunit20/nunit-console/MonoConsole.cs')
-rwxr-xr-xmcs/nunit20/nunit-console/MonoConsole.cs52
1 files changed, 52 insertions, 0 deletions
diff --git a/mcs/nunit20/nunit-console/MonoConsole.cs b/mcs/nunit20/nunit-console/MonoConsole.cs
new file mode 100755
index 00000000000..4b55d9ca555
--- /dev/null
+++ b/mcs/nunit20/nunit-console/MonoConsole.cs
@@ -0,0 +1,52 @@
+//
+// NUnit.Console.MonoConsole.cs
+//
+// Author:
+// Jackson Harper (Jackson@LatitudeGeo.com)
+//
+
+using System;
+using System.Reflection;
+using NUnit.Framework;
+
+
+namespace NUnit.Console {
+
+ /// <summary>
+ /// This is a lightweight NUnit 2.0 console runner designed to run
+ /// in mono's current state. As soon as AppDomains are fully implemented
+ /// in mono the nunit-console class can be used
+ /// </summary>
+ public class MonoConsole {
+
+ private Assembly mAssembly;
+
+ //
+ // Public Constructors
+ //
+
+ public MonoConsole( string assemblypath ) {
+ mAssembly = Assembly.LoadFrom( assemblypath );
+ Run();
+ }
+
+ //
+ // Private Methods
+ //
+
+ private void Run() {
+
+ }
+
+ private void TestType( Type t ) {
+
+ }
+
+ private void TestMethod( MemberInfo method ) {
+
+ }
+
+ }
+
+}
+