diff options
Diffstat (limited to 'mcs/class/System/Test/TheTests.cs')
-rw-r--r-- | mcs/class/System/Test/TheTests.cs | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/mcs/class/System/Test/TheTests.cs b/mcs/class/System/Test/TheTests.cs deleted file mode 100644 index 34f596b523d..00000000000 --- a/mcs/class/System/Test/TheTests.cs +++ /dev/null @@ -1,74 +0,0 @@ -using NUnit.Framework; -using System; -using System.Threading; -using System.Globalization; - -namespace MonoTests.System -{ - public class RunDnsTest : Net.DnsTest - { - protected override void RunTest () - { - TestAsyncGetHostByName (); - TestAsyncResolve (); - TestGetHostName (); - TestGetHostByName (); - TestGetHostByAddressString (); - TestGetHostByAddressIPAddress (); - TestResolve (); - } - } -} - -namespace MonoTests.System.Collections.Specialized.Collections.Specialized -{ - public class RunStringCollectionTest : StringCollectionTest - { - protected override void RunTest () - { - TestSimpleCount (); - TestSimpleIsReadOnly (); - TestSimpleIsSynchronized (); - TestSimpleItemGet (); - TestSimpleItemSet (); - TestSimpleSyncRoot (); - TestSimpleAdd (); - TestSimpleAddRange (); - TestSimpleClear (); - TestSimpleContains (); - TestSimpleCopyTo (); - TestSimpleGetEnumerator (); - TestSimpleIndexOf (); - TestSimpleInsert (); - TestSimpleRemove (); - TestSimpleRemoveAt (); - } - } -} - -namespace MonoTests -{ - public class RunAllTests - { - public static void AddAllTests (TestSuite suite) - { - suite.AddTest (new MonoTests.System.RunDnsTest ()); - suite.AddTest (new MonoTests.System.Collections.Specialized.Collections.Specialized.RunStringCollectionTest ()); - } - } -} - -class MainApp -{ - public static void Main() - { - Thread.CurrentThread.CurrentCulture = new CultureInfo ("en-US"); - - TestResult result = new TestResult (); - TestSuite suite = new TestSuite (); - MonoTests.RunAllTests.AddAllTests (suite); - suite.Run (result); - MonoTests.MyTestRunner.Print (result); - } -} - |