Skip to content

Commit

Permalink
2002-02-26 Martin Baulig <martin@gnome.org>
Browse files Browse the repository at this point in the history
	* */*.cs: added zero-args constructors for all the test classes.

svn path=/trunk/mcs/; revision=2693
  • Loading branch information
Martin Baulig committed Feb 26, 2002
1 parent 007a943 commit d4af82e
Show file tree
Hide file tree
Showing 32 changed files with 43 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mcs/class/corlib/Test/ChangeLog
@@ -1,3 +1,7 @@
2002-02-26 Martin Baulig <martin@gnome.org>

* */*.cs: added zero-args constructors for all the test classes.

2002-02-21 Mark Crichton <crichton@gimp.org>

* System.Security.Cryptography.RNGCryptoServiceProviderTest.cs:
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.Collections/BitArrayTest.cs
Expand Up @@ -32,6 +32,7 @@ private void verifyPattern(BitArray ba, bool[] pattern)
AssertEquals(ba[i], pattern[i]);
}

public BitArrayTest() : base ("MonoTests.System.Collections.BitArrayTest testcase") {}
public BitArrayTest( string name ) : base(name) { }

protected override void SetUp()
Expand Down
Expand Up @@ -18,6 +18,8 @@ public class CaseInsensitiveComparerTest : TestCase {
}
}

public CaseInsensitiveComparerTest() : base ("MonoTests.System.Collections.CaseInsensitiveComparerTest testcase") {}

public CaseInsensitiveComparerTest(String name) : base(name)
{
}
Expand Down
Expand Up @@ -12,6 +12,8 @@ namespace MonoTests.System.Collections {

/// <summary>CaseInsensitiveHashCodeProvider test suite.</summary>
public class CaseInsensitiveHashCodeProviderTest : TestCase {
public CaseInsensitiveHashCodeProviderTest() : base ("MonoTests.System.Collections.CaseInsensitiveHashCodeProviderTest testcase") {}

public CaseInsensitiveHashCodeProviderTest(String name) : base(name)
{
}
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.Collections/ComparerTest.cs
Expand Up @@ -12,6 +12,7 @@ namespace MonoTests.System.Collections {

/// <summary>Comparer test suite.</summary>
public class ComparerTest : TestCase {
public ComparerTest() : base ("MonoTests.System.Collections.ComparerTest testcase") {}
public ComparerTest(String name) : base(name)
{
}
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.Collections/HashtableTest.cs
Expand Up @@ -471,6 +471,7 @@ public class HashtableTest : TestCase {
protected Hashtable ht;
private static Random rnd;

public HashtableTest() : base ("MonoTests.System.Collections.HashtableTest testcase") {}
public HashtableTest(String name) : base(name) {}

protected override void SetUp() {
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.Collections/StackTest.cs
Expand Up @@ -264,6 +264,7 @@ public static ITest Suite
}
}

public StackTest() : base ("MonoTests.System.Collections.StackTest testcase") {}
public StackTest(string name): base(name) {}
}
}
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.IO/MemoryStreamTest.cs
Expand Up @@ -22,6 +22,7 @@ public class MemoryStreamTest : TestCase {
private MemoryStream testStream;
private byte[] testStreamData;

public MemoryStreamTest() : base ("MonoTests.System.IO.MemoryStream testcase") { }
public MemoryStreamTest( string name ): base(name) { }

public static ITest Suite {
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.IO/PathTest.cs
Expand Up @@ -28,6 +28,7 @@ public class PathTest : TestCase {
}
}

public PathTest() : base ("MonoTests.System.IO.PathTest testcase") { }
public PathTest( string name ): base(name) { }

protected override void SetUp() {
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.IO/StringReaderTest.cs
Expand Up @@ -22,6 +22,7 @@ public class StringReaderTest : TestCase {
}
}

public StringReaderTest() : base ("MonoTests.System.IO.StringReaderTest testcase") { }
public StringReaderTest( string name ): base(name) { }

public void TestPeekRead() {
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System.IO/StringWriterTest.cs
Expand Up @@ -21,6 +21,7 @@ public class StringWriterTest : TestCase {
}
}

public StringWriterTest() : base ("MonoTests.System.IO.StringWriterTest testcase") { }
public StringWriterTest( string name ): base(name) { }

public void TestConstructors() {
Expand Down
Expand Up @@ -22,6 +22,7 @@ public class ResourceReaderTest : TestCase {
private static string m_ResourceFile = "System.Resources\\MyResources.resources";
private static string m_BadResourceFile = "System.Resources\\Empty.resources";

public ResourceReaderTest() : base ("MonoTests.System.Resources.ResourceReaderTest testcase") { }
public ResourceReaderTest(String name) : base(name) {
}

Expand Down
Expand Up @@ -16,6 +16,9 @@ namespace MonoTests.System.Security.Cryptography {
public class AsymmetricAlgorithmTest : TestCase {
private AsymmetricAlgorithm _algo;

public AsymmetricAlgorithmTest() : base ("MonoTests.System.Security.Cryptography.AsymmetricAlgorithmTest testcase") {
_algo = null;
}
public AsymmetricAlgorithmTest(String name) : base(name) {
_algo = null;
}
Expand Down
Expand Up @@ -16,6 +16,9 @@ namespace MonoTests.System.Security.Cryptography {
public class RNGCryptoServiceProviderTest : TestCase {
private RNGCryptoServiceProvider _algo;

public RNGCryptoServiceProviderTest() : base ("MonoTests.System.Security.Cryptography.RNGCryptoServiceProviderTest testcase") {
_algo = null;
}
public RNGCryptoServiceProviderTest(String name) : base(name) {
_algo = null;
}
Expand Down
Expand Up @@ -16,6 +16,9 @@ namespace MonoTests.System.Security.Cryptography {
public class SymmetricAlgorithmTest : TestCase {
private SymmetricAlgorithm _algo;

public SymmetricAlgorithmTest() : base ("MonoTests.System.Security.Cryptography.SymmetricAlgorithmTest testcase") {
_algo = null;
}
public SymmetricAlgorithmTest(String name) : base(name) {
_algo = null;
}
Expand Down
Expand Up @@ -18,6 +18,7 @@ namespace MonoTests.System.Security.Permissions {

public class FileIOPermissionTest : TestCase {

public FileIOPermissionTest() : base ("MonoTests.System.Security.Permissions.FileIOPermissionTest testcase") { }
public FileIOPermissionTest(String name) : base(name) {
}

Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/BooleanTest.cs
Expand Up @@ -14,6 +14,7 @@ namespace MonoTests.System

public class BooleanTest : TestCase
{
public BooleanTest () : base ("MonoTests.System.BooleanTests testcase") {}
public BooleanTest (string name) : base (name) {}

protected override void SetUp ()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/ByteTest.cs
Expand Up @@ -37,6 +37,7 @@ public class ByteTest : TestCase

private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public ByteTest() : base ("MonoTests.System.ByteTests testcase") {}
public ByteTest(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/DateTimeTest.cs
Expand Up @@ -26,6 +26,7 @@ public class DateTimeTest : TestCase
631502079130000000L // 25 Feb 2002 - 04:25:13
};

public DateTimeTest() : base ("MonoTests.System.DateTimeTest testcase") {}
public DateTimeTest (string name): base(name) {}

public static ITest Suite
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/DoubleTest.cs
Expand Up @@ -23,6 +23,7 @@ public class DoubleTest : TestCase
private const Double d_ninf = Double.NegativeInfinity;
private const String s = "What Ever";

public DoubleTest() : base ("MonoTests.System.DoubleTest testcase") {}
public DoubleTest (string name) : base (name) {}


Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/GuidTest.cs
Expand Up @@ -15,6 +15,7 @@ namespace MonoTests.System

public class GuidTest : TestCase
{
public GuidTest () : base ("MonoTests.System.GuidTest testcase") {}
public GuidTest (string name): base(name) {}

public static ITest Suite
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/Int16Test.cs
Expand Up @@ -32,6 +32,7 @@ public class Int16Test : TestCase
"32767", "32,767.00000", "3,276,700.00000 %", "07fff"};
private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public Int16Test() : base ("MonoTests.System.Int16Test testcase") {}
public Int16Test(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/Int32Test.cs
Expand Up @@ -36,6 +36,7 @@ public class Int32Test : TestCase
"2.1475e+09", "2,147,483,647.00000", "214,748,364,700.00000 %", "7fffffff"};
private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public Int32Test() : base ("MonoTests.System.Int32Test testcase") {}
public Int32Test(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/RandomTest.cs
Expand Up @@ -17,6 +17,7 @@ public class RandomTest : TestCase
}
}

public RandomTest() : base ("MonoTests.System.RandomTest testcase") {}
public RandomTest(string name): base(name){}
public void TestDouble()
{
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/ResolveEventArgsTest.cs
Expand Up @@ -17,6 +17,7 @@ public class ResolveEventArgsTest : TestCase
}
}

public ResolveEventArgsTest() : base ("MonoTests.System.ResolveEventArgsTest testcase") {}
public ResolveEventArgsTest(string name): base(name){}

public void TestTheWholeThing()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/SByteTest.cs
Expand Up @@ -36,6 +36,7 @@ public class SByteTest : TestCase
"127", "127.00000", "12,700.00000 %", "0007f"};
private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public SByteTest() : base ("MonoTests.System.SByteTest testcase") {}
public SByteTest(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/StringTest.cs
Expand Up @@ -15,6 +15,7 @@ namespace MonoTests.System

public class StringTest : TestCase
{
public StringTest() : base ("MonoTests.System.StringTest testcase") {}
public StringTest (string name) : base (name) {}

protected override void SetUp ()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/TimeSpanTest.cs
Expand Up @@ -15,6 +15,7 @@ namespace MonoTests.System

public class TimeSpanTest : TestCase
{
public TimeSpanTest() : base ("MonoTests.System.TimeSpanTest testcase") {}
public TimeSpanTest (string name): base(name) {}

public static ITest Suite
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/TimeZoneTest.cs
Expand Up @@ -17,6 +17,7 @@ namespace MonoTests.System

public class TimeZoneTest : TestCase
{
public TimeZoneTest() : base ("MonoTests.System.TimeZoneTest testcase") {}
public TimeZoneTest (string name): base(name) {}

public static ITest Suite
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/UInt16Test.cs
Expand Up @@ -37,6 +37,7 @@ public class UInt16Test : TestCase

private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public UInt16Test() : base ("MonoTests.System.UInt16Test testcase") {}
public UInt16Test(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/UInt32Test.cs
Expand Up @@ -36,6 +36,7 @@ public class UInt32Test : TestCase
"4.295e+09", "4,294,967,295.00000", "429,496,729,500.00000 %", "ffffffff"};
private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public UInt32Test() : base ("MonoTests.System.UInt32Test testcase") {}
public UInt32Test(string name) : base(name) {}

protected override void SetUp()
Expand Down
1 change: 1 addition & 0 deletions mcs/class/corlib/Test/System/UInt64Test.cs
Expand Up @@ -39,6 +39,7 @@ public class UInt64Test : TestCase

private NumberFormatInfo Nfi = NumberFormatInfo.InvariantInfo;

public UInt64Test() : base ("MonoTests.System.UInt64Test testcase") {}
public UInt64Test(string name) : base(name) {}

protected override void SetUp()
Expand Down

0 comments on commit d4af82e

Please sign in to comment.