summary refs log tree commit diff
path: root/crypto/test/src/util/io
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-03-09 21:26:50 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-03-09 21:26:50 +0700
commitf6ff8794291fca376482633b26eaf8101c8cb44d (patch)
treeb584b39ea53767ae0fe1d9cb4043ca90c2623b0d /crypto/test/src/util/io
parentRemove extraneous class reference (diff)
downloadBouncyCastle.NET-ed25519-f6ff8794291fca376482633b26eaf8101c8cb44d.tar.xz
Port of TlsTestSuite from Java, and misc. TLS code
- Upgrade to NUnit 2.6.4 and adjust various test code
Diffstat (limited to '')
-rw-r--r--crypto/test/src/util/io/pem/test/AllTests.cs35
1 files changed, 16 insertions, 19 deletions
diff --git a/crypto/test/src/util/io/pem/test/AllTests.cs b/crypto/test/src/util/io/pem/test/AllTests.cs
index b44949383..c36f79304 100644
--- a/crypto/test/src/util/io/pem/test/AllTests.cs
+++ b/crypto/test/src/util/io/pem/test/AllTests.cs
@@ -19,18 +19,23 @@ namespace Org.BouncyCastle.Utilities.IO.Pem.Tests
 	[TestFixture]
 	public class AllTests
 	{
-		[Suite]
-		public static TestSuite Suite
-		{
-			get
-			{
-				TestSuite suite = new TestSuite("PEM Utilities Tests");
-				suite.Add(new AllTests());
-				return suite;
-			}
-		}
+        public static void Main(string[] args)
+        {
+            Suite.Run(new NullListener(), NUnit.Core.TestFilter.Empty);
+        }
 
-		[Test]
+        [Suite]
+        public static TestSuite Suite
+        {
+            get
+            {
+                TestSuite suite = new TestSuite("PEM Utilities Tests");
+                suite.Add(new AllTests());
+                return suite;
+            }
+        }
+
+        [Test]
 		public void TestPemLength()
 		{
 			for (int i = 1; i != 60; i++)
@@ -65,13 +70,5 @@ namespace Org.BouncyCastle.Utilities.IO.Pem.Tests
 
 			Assert.AreEqual(sw.ToString().Length, pWrt.GetOutputSize(pemObj));
 		}
-
-		public static void Main(
-			string[] args)
-        {
-            //junit.textui.TestRunner.run(suite());
-            EventListener el = new NullListener();
-            Suite.Run(el);
-        }
 	}
 }