Author: spouliot
Date: 2006-09-19 19:21:41 -0400 (Tue, 19 Sep 2006)
New Revision: 65692
Modified:
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/ChangeLog
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/EmptyDestructorTest.cs
Log:
2006-09-19 Sebastien Pouliot <[EMAIL PROTECTED]>
* EmptyDestructorTest.cs: Fixed test case, EmptyDestructor should not
return null (as this is an error, i.e. counter-productive).
Modified: trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/ChangeLog
===================================================================
--- trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/ChangeLog
2006-09-19 21:36:53 UTC (rev 65691)
+++ trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/ChangeLog
2006-09-19 23:21:41 UTC (rev 65692)
@@ -1,3 +1,8 @@
+2006-09-19 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * EmptyDestructorTest.cs: Fixed test case, EmptyDestructor should not
+ return null (as this is an error, i.e. counter-productive).
+
2006-08-21 Sebastien Pouliot <[EMAIL PROTECTED]>
* UseStringEmptyTest.cs: New. Unit tests for UseStringEmptyRule.
Modified:
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/EmptyDestructorTest.cs
===================================================================
---
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/EmptyDestructorTest.cs
2006-09-19 21:36:53 UTC (rev 65691)
+++
trunk/cecil/gendarme/rules/Gendarme.Rules.Performance/Test/EmptyDestructorTest.cs
2006-09-19 23:21:41 UTC (rev 65692)
@@ -98,7 +98,7 @@
public void EmptyDestructor ()
{
TypeDefinition type = GetTest ("EmptyDestructorClass");
- Assert.IsNull (rule.CheckType (assembly, module, type,
new MinimalRunner ()));
+ Assert.IsNotNull (rule.CheckType (assembly, module,
type, new MinimalRunner ()));
}
[Test]
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches