diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-23 01:24:31 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-23 01:24:31 +0700 |
commit | 99affc58acf520f25ac7365ad6bb895da8c04a0a (patch) | |
tree | 4c85ff5e1009a652cc2971ccdc4083e0dfede805 /crypto/test/src/openssl | |
parent | Remove Main methods from test classes (diff) | |
download | BouncyCastle.NET-ed25519-99affc58acf520f25ac7365ad6bb895da8c04a0a.tar.xz |
Cleanup redundant test classes
Diffstat (limited to 'crypto/test/src/openssl')
-rw-r--r-- | crypto/test/src/openssl/test/AllTests.cs | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/crypto/test/src/openssl/test/AllTests.cs b/crypto/test/src/openssl/test/AllTests.cs index a4dd890b8..c6416f9db 100644 --- a/crypto/test/src/openssl/test/AllTests.cs +++ b/crypto/test/src/openssl/test/AllTests.cs @@ -1,17 +1,10 @@ using System; using System.IO; -using System.Text; -#if !LIB -using NUnit.Core; -#endif using NUnit.Framework; using Org.BouncyCastle.Crypto; -using Org.BouncyCastle.Crypto.Generators; -using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Security; -using Org.BouncyCastle.Utilities.Test; namespace Org.BouncyCastle.OpenSsl.Tests { @@ -35,38 +28,6 @@ namespace Org.BouncyCastle.OpenSsl.Tests } } -#if !LIB - [Suite] - public static TestSuite Suite - { - get - { - TestSuite suite = new TestSuite("OpenSSL Tests"); - suite.Add(new AllTests()); - return suite; - } - } -#endif - - [Test] - public void TestOpenSsl() - { - Org.BouncyCastle.Utilities.Test.ITest[] tests = new Org.BouncyCastle.Utilities.Test.ITest[]{ - new ReaderTest(), - new WriterTest() - }; - - foreach (Org.BouncyCastle.Utilities.Test.ITest test in tests) - { - SimpleTestResult result = (SimpleTestResult)test.Perform(); - - if (!result.IsSuccessful()) - { - Assert.Fail(result.ToString()); - } - } - } - [Test] public void TestPkcs8Encrypted() { |