Author: kostat
Date: 2007-01-01 10:43:57 -0500 (Mon, 01 Jan 2007)
New Revision: 70317
Modified:
trunk/mcs/class/System/Test/System.ComponentModel/DataObjectMethodAttributeTests.cs
Log:
correct asserts in the test
Modified:
trunk/mcs/class/System/Test/System.ComponentModel/DataObjectMethodAttributeTests.cs
===================================================================
---
trunk/mcs/class/System/Test/System.ComponentModel/DataObjectMethodAttributeTests.cs
2007-01-01 10:49:36 UTC (rev 70316)
+++
trunk/mcs/class/System/Test/System.ComponentModel/DataObjectMethodAttributeTests.cs
2007-01-01 15:43:57 UTC (rev 70317)
@@ -47,11 +47,11 @@
DataObjectMethodAttribute a1 = new
DataObjectMethodAttribute (DataObjectMethodType.Fill);
DataObjectMethodAttribute a2 = new
DataObjectMethodAttribute (DataObjectMethodType.Delete, true);
- Assert.IsTrue (a1.Match (a2), "#1");
+ Assert.IsFalse (a1.Match (a2), "#1");
DataObjectMethodAttribute a3 = new
DataObjectMethodAttribute (DataObjectMethodType.Delete);
- Assert.IsFalse (a1.Match (a3), "#2");
+ Assert.IsTrue (a2.Match (a3), "#2");
}
[Test]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches