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:
authorMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>2003-03-13 12:42:54 +0300
committerMartin Willemoes Hansen <mwh@mono-cvs.ximian.com>2003-03-13 12:42:54 +0300
commit07eebc458a14c7745490b38f4db5c221d7f0ba50 (patch)
treeb609bf7c7d60e322ebb5118efd17074fe4d7e33f /mcs/class/System.Configuration.Install
parent71f0fad3f0e1bdd295317ffdd1a2a7009a6004c6 (diff)
* 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 svn path=/trunk/mcs/; revision=12470
Diffstat (limited to 'mcs/class/System.Configuration.Install')
-rw-r--r--mcs/class/System.Configuration.Install/Test/AllTests.cs29
-rw-r--r--mcs/class/System.Configuration.Install/Test/ChangeLog7
-rw-r--r--mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs27
-rw-r--r--mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs30
-rw-r--r--mcs/class/System.Configuration.Install/Test/makefile.gnu26
-rw-r--r--mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args3
6 files changed, 49 insertions, 73 deletions
diff --git a/mcs/class/System.Configuration.Install/Test/AllTests.cs b/mcs/class/System.Configuration.Install/Test/AllTests.cs
deleted file mode 100644
index 8fe40431485..00000000000
--- a/mcs/class/System.Configuration.Install/Test/AllTests.cs
+++ /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;
- }
- }
- }
-}
-
diff --git a/mcs/class/System.Configuration.Install/Test/ChangeLog b/mcs/class/System.Configuration.Install/Test/ChangeLog
index 334d62bcf81..f9eddda7add 100644
--- a/mcs/class/System.Configuration.Install/Test/ChangeLog
+++ b/mcs/class/System.Configuration.Install/Test/ChangeLog
@@ -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
index 742b185f6c8..00000000000
--- a/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs
+++ /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
index 00000000000..b50c471702a
--- /dev/null
+++ b/mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs
@@ -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 () {}
+ }
+}
+
diff --git a/mcs/class/System.Configuration.Install/Test/makefile.gnu b/mcs/class/System.Configuration.Install/Test/makefile.gnu
index 34211373291..ae8a346ec0a 100644
--- a/mcs/class/System.Configuration.Install/Test/makefile.gnu
+++ b/mcs/class/System.Configuration.Install/Test/makefile.gnu
@@ -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)
diff --git a/mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args b/mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args
index 319c3080e66..6c67366cd3a 100644
--- a/mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args
+++ b/mcs/class/System.Configuration.Install/Test/system_configuration_install_linux_test.args
@@ -1,2 +1 @@
-./AllTests.cs
-./System.Configuration.Install/AllTests.cs
+System.Configuration.Install/FakeTest.cs