* Removed AllTests.cs, System.Configuration.Install/AllTests.cs
authorMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>
Thu, 13 Mar 2003 09:42:54 +0000 (09:42 -0000)
committerMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>
Thu, 13 Mar 2003 09:42:54 +0000 (09:42 -0000)
  System.Configuration.Install/ChangeLog
* NUnit2ified makefile.gnu, system_configuration_install_linux_test.args,
* Added System.Configuration.Install/FakeTest.cs

svn path=/trunk/mcs/; revision=12470

mcs/class/System.Configuration.Install/Test/AllTests.cs [deleted file]
mcs/class/System.Configuration.Install/Test/ChangeLog
mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs [deleted file]
mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs [new file with mode: 0644]
mcs/class/System.Configuration.Install/Test/makefile.gnu
mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args

diff --git a/mcs/class/System.Configuration.Install/Test/AllTests.cs b/mcs/class/System.Configuration.Install/Test/AllTests.cs
deleted file mode 100644 (file)
index 8fe4043..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// MonoTests.AllTests.cs
-//
-// Author:
-//      Gonzalo Paniagua Javier (gonzalo@ximian.com)
-//
-// (C) 2002 Ximian, Inc. (http://www.ximian.com)
-//
-
-using System;
-using NUnit.Framework;
-
-namespace MonoTests
-{
-        public class AllTests : TestCase
-       {
-                public AllTests (string name) : base (name) {}
-                
-                public static ITest Suite 
-                { 
-                        get {
-                                TestSuite suite =  new TestSuite();
-                               suite.AddTest (System.Configuration.Install.AllTests.Suite);
-                               return suite;
-                        }
-                }
-        }
-}
-
index 334d62bcf81de9daed774879cc1249e7c7fe2fd8..f9eddda7addb053f464aa35da0b9400d1db9b36e 100644 (file)
@@ -1,5 +1,10 @@
+2003-03-12  Martin Willemoes Hansen <mwh@sysrq.dk>
+       * Removed AllTests.cs, System.Configuration.Install/AllTests.cs
+         System.Configuration.Install/ChangeLog
+       * NUnit2ified makefile.gnu, system_configuration_install_linux_test.args,
+       * Added System.Configuration.Install/FakeTest.cs
+       
 2002-07-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
-
        * AllTests.cs: New file.
        * System.Configuration.Install_test.build: modified randomly until it
        works.
diff --git a/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs b/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs
deleted file mode 100644 (file)
index 742b185..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// MonoTests.System.Configuration.Install.AllTests
-//
-// Authors:
-//     Gonzalo Paniagua Javier (gonzalo@ximian.com)
-//
-// (C) 2002 Ximian, Inc.  (http://www.ximian.com)
-// 
-
-using System;
-using NUnit.Framework;
-
-namespace MonoTests.System.Configuration.Install {
-        public class AllTests : TestCase {
-
-                public AllTests (string name) : base (name) {}
-                
-                public static ITest Suite { 
-                        get 
-                        {
-                                TestSuite suite = new TestSuite();
-                               return suite;
-                        }
-                }
-        }
-}
-
diff --git a/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs b/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs
new file mode 100644 (file)
index 0000000..b50c471
--- /dev/null
@@ -0,0 +1,30 @@
+//
+// MonoTests.System.Configuration.Install.FakeTest
+//
+// Authors:
+//     Martin Willemoes Hansen <mwh@sysrq.dk>
+//
+// (C) 2003 Martin Willemoes Hansen
+// 
+// This test should be sent to /dev/null when real
+// tests arrive.
+
+using System;
+using NUnit.Framework;
+
+namespace MonoTests.System.Configuration.Install {
+
+       [TestFixture]
+        public class FakeTest {
+
+               [SetUp]
+               public void GetReady () {}
+
+               [TearDown]
+               public void Clear () {}
+
+               [Test]
+               public void Fake () {}
+        }
+}
+
index 34211373291cb6fda1fba613238bf3ad9b4792a2..ae8a346ec0ab69007680fcac426b1c0d458a39bb 100644 (file)
@@ -3,27 +3,25 @@ topdir = ../../..
 LIBRARY = system_configuration_install_linux_test.dll
 
 LIB_LIST = system_configuration_install_linux_test.args
-LIB_FLAGS =    \
-               -r $(topdir)/class/lib/corlib.dll \
-               -r $(topdir)/class/lib/System.dll \
-           -r $(topdir)/class/lib/NUnitCore_mono.dll
-
-SOURCES_INCLUDE=*.cs
+LIB_FLAGS =     \
+                -r $(topdir)/class/lib/corlib.dll \
+                -r $(topdir)/class/lib/System.dll \
+                -r $(topdir)/nunit20/NUnit.Framework.dll
+
+ifdef SUBDIR
+USE_SOURCE_RULES=1
+SOURCES_INCLUDE=./$(SUBDIR)/*.cs
 SOURCES_EXCLUDE=_DUMMY_
+endif
 
 include $(topdir)/class/library.make
 
-MCS_FLAGS = --target library --noconfig
-
-TEST_SUITE_PREFIX = MonoTests.
-TEST_SUITE = AllTests
-NUNITCONSOLE=$(topdir)/class/lib/NUnitConsole_mono.exe 
-MONO_PATH = $(topdir)/class/lib:.
-
+NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
+MONO_PATH = $(topdir)/nunit20:.
 
 test: $(LIBRARY) run_test
 
 .PHONY: run_test
 
 run_test:
-       -MONO_PATH=$(MONO_PATH) mono $(NUNITCONSOLE) $(TEST_SUITE_PREFIX)$(TEST_SUITE),system_configuration_install_linux_test.dll
+        -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY)