Browse Source

2002-07-15 Gonzalo Paniagua Javier <[email protected]>

	* AllTests.cs: New file.
	* System.Configuration.Install/AllTests.cs: New file.
	* System.Configuration.Install/ChangeLog: New file.
	* System.Configuration.Install_test.build: modified randomly until it
	works.

	Fixes 'make test'.

svn path=/trunk/mcs/; revision=5805
Gonzalo Paniagua Javier 23 years ago
parent
commit
ee1ec195a3

+ 29 - 0
mcs/class/System.Configuration.Install/Test/AllTests.cs

@@ -0,0 +1,29 @@
+//
+// MonoTests.AllTests.cs
+//
+// Author:
+//      Gonzalo Paniagua Javier ([email protected])
+//
+// (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;
+                        }
+                }
+        }
+}
+

+ 8 - 0
mcs/class/System.Configuration.Install/Test/ChangeLog

@@ -1,3 +1,11 @@
+2002-07-15  Gonzalo Paniagua Javier <[email protected]>
+
+	* AllTests.cs: New file.
+	* System.Configuration.Install_test.build: modified randomly until it
+	works.
+
+	Fixes 'make test'.
+
 2002-08-13  Jonathan Pryor <[email protected]>
 	* ChangeLog: Add change log to this directory
 	* System.Configuration.Install_test.build: Add build file to this directory.

+ 27 - 0
mcs/class/System.Configuration.Install/Test/System.Configuration.Install/AllTests.cs

@@ -0,0 +1,27 @@
+//
+// MonoTests.System.Configuration.Install.AllTests
+//
+// Authors:
+// 	Gonzalo Paniagua Javier ([email protected])
+//
+// (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;
+                        }
+                }
+        }
+}
+

+ 5 - 0
mcs/class/System.Configuration.Install/Test/System.Configuration.Install/ChangeLog

@@ -0,0 +1,5 @@
+2002-07-15  Gonzalo Paniagua Javier <[email protected]>
+
+	* AllTests.cs: New file.
+	* ChangeLog: New file.
+

+ 1 - 19
mcs/class/System.Configuration.Install/Test/System.Configuration.Install_test.build

@@ -15,31 +15,12 @@
 		<csc target="library" output="System.Configuration.Install_test.dll" debug="${debug}">
 			<sources>
 				<includes name="**/*.cs"/>
-				<excludes name="TheTests.cs"/>
 			</sources>
 			<references basedir="..\..\..\nunit">
 				<includes name="NUnitCore.dll"/>
 			</references>
 
 			<arg value="/noconfig"/>
-			<arg value="/r:.\System.Configuration.Install.dll"/>
-		</csc>
-
-		<csc target="exe" output="RunTests.System.exe" debug="${debug}">
-			<sources>
-				<includes name="**/*.cs"/>
-				<excludes name="**/AllTests.cs"/>
-				<excludes name="**/MartinTests.cs"/>
-			</sources>
-			<references basedir="..\..\..\nunit">
-				<includes name="NUnitBase.dll"/>
-			</references>
-			<references basedir=".">
-				<includes name="System.dll"/>
-			</references>
-			<arg value="/nowarn:1595"/>
-			<arg value="/noconfig"/>
-			<arg value="/r:.\System.dll"/>
 		</csc>
 
 	</target>
@@ -50,5 +31,6 @@
 
 	<target name="clean">
 		<delete file="System.Configuration.Install_test.dll" failonerror="false"/>
+		<delete file="System.Configuration.Install_test.pdb" failonerror="false"/>
 	</target>
 </project>