From 07eebc458a14c7745490b38f4db5c221d7f0ba50 Mon Sep 17 00:00:00 2001 From: Martin Willemoes Hansen Date: Thu, 13 Mar 2003 09:42:54 +0000 Subject: * 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 --- .../System.Configuration.Install/Test/AllTests.cs | 29 --------------------- .../System.Configuration.Install/Test/ChangeLog | 7 ++++- .../Test/System.Configuration.Install/AllTests.cs | 27 ------------------- .../Test/System.Configuration.Install/FakeTest.cs | 30 ++++++++++++++++++++++ .../System.Configuration.Install/Test/makefile.gnu | 26 +++++++++---------- .../system_configuration_install_linux_test.args | 3 +-- 6 files changed, 49 insertions(+), 73 deletions(-) delete mode 100644 mcs/class/System.Configuration.Install/Test/AllTests.cs delete mode 100644 mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs create mode 100644 mcs/class/System.Configuration.Install/Test/System.Configuration.Install/FakeTest.cs (limited to 'mcs/class/System.Configuration.Install') 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 + * 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 - * 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 +// +// (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 -- cgit v1.2.3