Author: dick
Date: 2007-10-19 09:15:05 -0400 (Fri, 19 Oct 2007)
New Revision: 87824
Modified:
trunk/mcs/class/corlib/Test/System.Threading/ChangeLog
trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
Log:
2007-10-19 Dick Porter <[EMAIL PROTECTED]>
* ThreadTest.cs: Re-enable GetHashCodeTest
Modified: trunk/mcs/class/corlib/Test/System.Threading/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Threading/ChangeLog 2007-10-19
11:50:27 UTC (rev 87823)
+++ trunk/mcs/class/corlib/Test/System.Threading/ChangeLog 2007-10-19
13:15:05 UTC (rev 87824)
@@ -1,3 +1,7 @@
+2007-10-19 Dick Porter <[EMAIL PROTECTED]>
+
+ * ThreadTest.cs: Re-enable GetHashCodeTest
+
2007-10-05 Dick Porter <[EMAIL PROTECTED]>
* ThreadTest.cs: Disable GetHashCodeTest while I figure out why
Modified: trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs 2007-10-19
11:50:27 UTC (rev 87823)
+++ trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs 2007-10-19
13:15:05 UTC (rev 87824)
@@ -213,14 +213,13 @@
}
[Test] // bug #325566
- [Category ("NotWorking")] // Until I figure out why GetHashCode
- // can sometimes return 0
public void GetHashCodeTest ()
{
C1Test test1 = new C1Test ();
Thread tA = new Thread (new ThreadStart
(test1.TestMethod));
int hA1 = tA.GetHashCode ();
- Assert.IsTrue (hA1 > 0, "#A1");
+ // GetHashCode can legitimately return 0
+ //Assert.IsTrue (hA1 > 0, "#A1");
tA.Start ();
int hA2 = tA.GetHashCode ();
Assert.AreEqual (hA1, hA2, "#A2");
@@ -234,7 +233,8 @@
test1 = new C1Test ();
Thread tB = new Thread (new ThreadStart
(test1.TestMethod));
int hB1 = tB.GetHashCode ();
- Assert.IsTrue (hB1 > 0, "#B1");
+ // GetHashCode can legitimately return 0
+ //Assert.IsTrue (hB1 > 0, "#B1");
tB.Start ();
int hB2 = tB.GetHashCode ();
Assert.AreEqual (hB1, hB2, "#B2");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches