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-11-09 12:10:58 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-11-09 12:10:58 +0700
commit36057f66032c5e2942a8c3797be39f20693318f3 (patch)
tree966eb52e8b140121cf032181f1bfb65012b6f9f7 /crypto/test/src/util/io
parentfixed argument null message (diff)
downloadBouncyCastle.NET-ed25519-36057f66032c5e2942a8c3797be39f20693318f3.tar.xz
Add DOTNET and LIB preprocessor flags as per BouncyCastle-PCL
Diffstat (limited to 'crypto/test/src/util/io')
-rw-r--r--crypto/test/src/util/io/pem/test/AllTests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/util/io/pem/test/AllTests.cs b/crypto/test/src/util/io/pem/test/AllTests.cs

index c36f79304..921c40cb8 100644 --- a/crypto/test/src/util/io/pem/test/AllTests.cs +++ b/crypto/test/src/util/io/pem/test/AllTests.cs
@@ -4,7 +4,9 @@ using System.Collections.Specialized; using System.IO; using System.Text; +#if !LIB using NUnit.Core; +#endif using NUnit.Framework; using Org.BouncyCastle.Crypto; @@ -19,6 +21,7 @@ namespace Org.BouncyCastle.Utilities.IO.Pem.Tests [TestFixture] public class AllTests { +#if !LIB public static void Main(string[] args) { Suite.Run(new NullListener(), NUnit.Core.TestFilter.Empty); @@ -34,6 +37,7 @@ namespace Org.BouncyCastle.Utilities.IO.Pem.Tests return suite; } } +#endif [Test] public void TestPemLength()