From a61485e0ca71390a57700c6127229869c4480faa Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Mon, 14 May 2012 09:16:28 -0400 Subject: [PATCH] newer nunit does not require a [TestFixture] attribute and made those fixture fail. Making them abstract fix this --- mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD2Test.cs | 2 +- mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD4Test.cs | 2 +- mcs/class/corlib/Test/System.Security.Cryptography/DESTest.cs | 2 +- mcs/class/corlib/Test/System.Security.Cryptography/RIPEMD160Test.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD2Test.cs b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD2Test.cs index 9a618feafc4..b7307cc9b1b 100644 --- a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD2Test.cs +++ b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD2Test.cs @@ -24,7 +24,7 @@ namespace MonoTests.Mono.Security.Cryptography { // MD2 is a abstract class - so ALL of the test included here wont be tested // on the abstract class but should be tested in ALL its descendants. - public class MD2Test : Assertion { + public abstract class MD2Test : Assertion { protected MD2 hash; diff --git a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD4Test.cs b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD4Test.cs index 74e935c731d..dd36e8fa412 100644 --- a/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD4Test.cs +++ b/mcs/class/Mono.Security/Test/Mono.Security.Cryptography/MD4Test.cs @@ -24,7 +24,7 @@ namespace MonoTests.Mono.Security.Cryptography { // MD4 is a abstract class - so ALL of the test included here wont be tested // on the abstract class but should be tested in ALL its descendants. - public class MD4Test : Assertion { + public abstract class MD4Test : Assertion { protected MD4 hash; diff --git a/mcs/class/corlib/Test/System.Security.Cryptography/DESTest.cs b/mcs/class/corlib/Test/System.Security.Cryptography/DESTest.cs index db5dc018bf0..b10cbf36934 100644 --- a/mcs/class/corlib/Test/System.Security.Cryptography/DESTest.cs +++ b/mcs/class/corlib/Test/System.Security.Cryptography/DESTest.cs @@ -4274,7 +4274,7 @@ namespace MonoTests.System.Security.Cryptography { // Note: they are to be called from specifics implementations - // not for the abstract DES. Thats why they are in a separate class // which doesn't have a [TestFixture] attribute - public class DESFIPS81Test { + public abstract class DESFIPS81Test { protected DES des; // Table B1 - ECB Mode diff --git a/mcs/class/corlib/Test/System.Security.Cryptography/RIPEMD160Test.cs b/mcs/class/corlib/Test/System.Security.Cryptography/RIPEMD160Test.cs index e3d455bfe43..1707e49d919 100644 --- a/mcs/class/corlib/Test/System.Security.Cryptography/RIPEMD160Test.cs +++ b/mcs/class/corlib/Test/System.Security.Cryptography/RIPEMD160Test.cs @@ -40,7 +40,7 @@ namespace MonoTests.System.Security.Cryptography { // RIPEMD160 is a abstract class - so ALL of the test included here wont be tested // on the abstract class but should be tested in ALL its descendants. - public class RIPEMD160Test { + public abstract class RIPEMD160Test { protected RIPEMD160 hash; -- 2.11.4.GIT