Author: spouliot
Date: 2008-02-07 16:33:38 -0500 (Thu, 07 Feb 2008)
New Revision: 95190
Modified:
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/ChangeLog
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/MethodRocksTest.cs
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/TypeRocksTest.cs
Log:
2008-02-07 Sebastien Pouliot <[EMAIL PROTECTED]>
* MethodRocksTest.cs: Remove tests for IsGetter and IsSetter.
* TypeRocksTest.cs: Remove tests for GetFinalizer.
Modified:
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/ChangeLog
===================================================================
--- trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/ChangeLog
2008-02-07 20:46:01 UTC (rev 95189)
+++ trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/ChangeLog
2008-02-07 21:33:38 UTC (rev 95190)
@@ -1,3 +1,8 @@
+2008-02-07 Sebastien Pouliot <[EMAIL PROTECTED]>
+
+ * MethodRocksTest.cs: Remove tests for IsGetter and IsSetter.
+ * TypeRocksTest.cs: Remove tests for GetFinalizer.
+
2008-01-28 Sebastien Pouliot <[EMAIL PROTECTED]>
* TypeRocksTest.cs: Adapt unit tests for API changes.
Modified:
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/MethodRocksTest.cs
===================================================================
---
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/MethodRocksTest.cs
2008-02-07 20:46:01 UTC (rev 95189)
+++
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/MethodRocksTest.cs
2008-02-07 21:33:38 UTC (rev 95190)
@@ -146,14 +146,6 @@
}
[Test]
- public void IsGetter ()
- {
- Assert.IsTrue (GetMethod ("get_Value").IsGetter (),
"get_Value");
- Assert.IsFalse (GetMethod ("set_Value").IsGetter (),
"set_Value");
- Assert.IsFalse (GetMethod ("FixtureSetUp").IsGetter (),
"FixtureSetUp");
- }
-
- [Test]
public void IsMain ()
{
Assert.IsTrue (GetMethod
("Test.Framework.Rocks.MethodRocksTest/MainClassVoidVoid", "Main").IsMain (),
"MainClassVoidVoid");
@@ -172,14 +164,6 @@
}
[Test]
- public void IsSetter ()
- {
- Assert.IsFalse (GetMethod ("get_Value").IsSetter (),
"get_Value");
- Assert.IsTrue (GetMethod ("set_Value").IsSetter (),
"set_Value");
- Assert.IsFalse (GetMethod ("FixtureSetUp").IsSetter (),
"FixtureSetUp");
- }
-
- [Test]
public void IsVisible ()
{
TypeDefinition type = assembly.MainModule.Types
["Test.Framework.Rocks.PublicType"];
Modified:
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/TypeRocksTest.cs
===================================================================
---
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/TypeRocksTest.cs
2008-02-07 20:46:01 UTC (rev 95189)
+++
trunk/mono-tools/gendarme/framework/Test/Gendarme.Framework.Rocks/TypeRocksTest.cs
2008-02-07 21:33:38 UTC (rev 95190)
@@ -42,12 +42,6 @@
[TestFixture]
public class TypeRocksTest {
- public class TypeFinalizer {
- ~TypeFinalizer ()
- {
- }
- }
-
[System.Runtime.CompilerServices.CompilerGeneratedAttribute]
public class TypeCompilerGenerated {
}
@@ -147,13 +141,6 @@
}
[Test]
- public void GetFinalizer ()
- {
- Assert.IsNull (GetType (String.Empty).GetFinalizer (),
"TypeRocksTest");
- Assert.IsNotNull (GetType
("/TypeFinalizer").GetFinalizer (), "TypeFinalizer");
- }
-
- [Test]
public void GetMethod ()
{
Assert.AreSame (GetMethod ("MethodA"), type.GetMethod
(new MethodSignature ("MethodA")), "a1");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches