Răsfoiți Sursa

2002-02-27 Martin Baulig <[email protected]>

	* System.XML_test.build: Build new executable RunTests.System.XML.exe
	which you can use to run the tests on Linux.

svn path=/trunk/mcs/; revision=2733
Martin Baulig 24 ani în urmă
părinte
comite
e9f35aa44b

+ 7 - 0
mcs/class/System.XML/Test/ChangeLog

@@ -1,3 +1,10 @@
+2002-02-27  Martin Baulig  <[email protected]>
+
+	* System.XML_test.build: Build new executable RunTests.System.XML.exe
+	which you can use to run the tests on Linux.
+
+	* *.cs: Added zero-args constructors.
+
 2002-02-26  Duncan Mak  <[email protected]>
 
 	* NameTableTests.cs: Test for System.Xml.NameTable.

+ 16 - 0
mcs/class/System.XML/Test/System.XML_test.build

@@ -13,12 +13,28 @@
 			<arg value="/nowarn:1595"/>
 			<sources>
 				<includes name="**/*.cs"/>
+				<excludes name="TheTests.cs"/>
 			</sources>
 			<references basedir="..\..\..\nunit">
 				<includes name="NUnitCore.dll"/>
 			</references>
 			<arg value="/r:.\System.XML.dll"/>
 		</csc>
+
+		<csc target="exe" output="RunTests.System.XML.exe" debug="${debug}">
+			<sources>
+				<includes name="**/*.cs"/>
+				<excludes name="**/AllTests.cs"/>
+				<excludes name="**/MartinTests.cs"/>
+			</sources>
+			<references basedir="..\..\..\nunit">
+				<includes name="NUnitBase.dll"/>
+			</references>
+			<arg value="/nowarn:1595"/>
+			<arg value="/noconfig"/>
+			<arg value="/r:.\System.XML.dll"/>
+		</csc>
+
 	</target>
 
 	<target name="test" depends="build">

+ 1 - 0
mcs/class/System.XML/Test/XmlDocumentTests.cs

@@ -8,6 +8,7 @@ namespace Ximian.Mono.Tests
 {
 	public class XmlDocumentTests : TestCase
 	{
+		public XmlDocumentTests() : base("Ximian.Mono.Tests.XmlDocumentTests testsuite") { }
 		public XmlDocumentTests(string name) : base(name) { }
 
 		public void TestDocumentElement()

+ 1 - 0
mcs/class/System.XML/Test/XmlNamespaceManagerTests.cs

@@ -18,6 +18,7 @@ namespace Ximian.Mono.Tests
 {
 	public class XmlNamespaceManagerTests : TestCase
 	{
+		public XmlNamespaceManagerTests() : base("Ximian.Mono.Tests.XmlNameSpaceManagerTests testsuite") { }
 		public XmlNamespaceManagerTests(string name) : base(name) { }
 
 		private XmlNamespaceManager _NamespaceManager;

+ 1 - 0
mcs/class/System.XML/Test/XmlTextReaderTests.cs

@@ -19,6 +19,7 @@ namespace Ximian.Mono.Tests
 {
 	public class XmlTextReaderTests : TestCase
 	{
+		public XmlTextReaderTests() : base("Ximian.Mono.Tests.XmlTextReaderTests testsuite") { }
 		public XmlTextReaderTests(string name) : base(name) { }
 
 		private void AssertStartDocument(XmlReader xmlReader)