Ver código fonte

Fixed syntax errors

svn path=/trunk/mcs/; revision=1119
Dick Porter 24 anos atrás
pai
commit
4e11d3be13
2 arquivos alterados com 38 adições e 42 exclusões
  1. 17 18
      mcs/class/System.XML/Test/AllTests.cs
  2. 21 24
      mcs/class/System/Test/AllTests.cs

+ 17 - 18
mcs/class/System.XML/Test/AllTests.cs

@@ -5,23 +5,22 @@
 //
 
 using NUnit.Framework;
-namespace Ximian.Mono.Tests {
- /// <summary>
- ///   Combines all unit tests for the System.XML.dll assembly
- ///   into one test suite.
- /// </summary>
- public class AllTests : TestCase {
-  public AllTests(string name) : base(name) {}
+namespace Ximian.Mono.Tests
+{
+	/// <summary>
+	///   Combines all unit tests for the System.XML.dll assembly
+	///   into one test suite.
+	/// </summary>
+	public class AllTests : TestCase
+	{
+		public AllTests(string name) : base(name) {}
 
-  public static ITest Suite
-
-
-   get
-   {
-    TestSuite suite =  new TestSuite();
-    suite.AddTest(new TestSuite(typeof(System.Xml.Test)));
-    return suite;
-   }
-  }
- }
+		public static ITest Suite {
+			get {
+				TestSuite suite =  new TestSuite();
+				suite.AddTest(new TestSuite(typeof(System.Xml.Test)));
+				return suite;
+			}
+		}
+	}
 }

+ 21 - 24
mcs/class/System/Test/AllTests.cs

@@ -7,29 +7,26 @@
 //
 
 using NUnit.Framework;
-namespace Ximian.Mono.Tests {
- /// <summary>
- ///   Combines all unit tests for the System.dll assembly
- ///   into one test suite.
- /// </summary>
- public class AllTests : TestCase {
-  public AllTests(string name) : base(name) {}
+namespace Ximian.Mono.Tests
+{
+	/// <summary>
+	///   Combines all unit tests for the System.dll assembly
+	///   into one test suite.
+	/// </summary>
+	public class AllTests : TestCase
+	{
+		public AllTests(string name) : base(name) {}
 
-  public static ITest Suite
-
-
-   get
-   {
-    TestSuite suite =  new TestSuite();
-    suite.AddTest(DnsTest.Suite);
-    suite.AddTest(IPHostEntryTest.Suite);
-
-suite.AddTest(Testsuite.System.Collections.Specialized.NameValueCollectionTe
-st.Suite);
-    suite.AddTest(new
-TestSuite(typeof(System.Collections.Specialized.StringCollectionTest)));
-    return suite;
-   }
-  }
- }
+		public static ITest Suite {
+			get {
+				TestSuite suite =  new TestSuite();
+				suite.AddTest(DnsTest.Suite);
+				suite.AddTest(IPHostEntryTest.Suite);
+				
+				suite.AddTest(Testsuite.System.Collections.Specialized.NameValueCollectionTest.Suite);
+				suite.AddTest(new TestSuite(typeof(System.Collections.Specialized.StringCollectionTest)));
+				return suite;
+			}
+		}
+	}
 }