summary refs log tree commit diff
path: root/crypto-test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-06-28 15:26:06 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-28 15:26:06 +0700
commit44288db4414158ac9b98a507b15e81d0d3c66ca6 (patch)
treeaa5ef88948ebb68ed6c8df81eb5da889641a9b50 /crypto-test
parentSet up text/binary handling for existing file types (diff)
downloadBouncyCastle.NET-ed25519-44288db4414158ac9b98a507b15e81d0d3c66ca6.tar.xz
Initial import of old CVS repository
Diffstat (limited to 'crypto-test')
-rw-r--r--crypto-test/App.icobin0 -> 1078 bytes
-rw-r--r--crypto-test/CryptoTest.cs51
-rw-r--r--crypto-test/crypto-test.csproj104
-rw-r--r--crypto-test/crypto-test.mdp27
4 files changed, 182 insertions, 0 deletions
diff --git a/crypto-test/App.ico b/crypto-test/App.ico
new file mode 100644
index 000000000..3a5525fd7
--- /dev/null
+++ b/crypto-test/App.ico
Binary files differdiff --git a/crypto-test/CryptoTest.cs b/crypto-test/CryptoTest.cs
new file mode 100644
index 000000000..1f6973e28
--- /dev/null
+++ b/crypto-test/CryptoTest.cs
@@ -0,0 +1,51 @@
+using System;
+
+namespace crypto_test
+{
+	public class CryptoTest
+	{
+		/// <summary>
+		/// The main entry point for the application.
+		/// </summary>
+		[STAThread]
+		static void Main(string[] args)
+		{
+			DateTime before = DateTime.Now;
+
+			try
+			{
+				Org.BouncyCastle.Asn1.Tests.RegressionTest.Main(args);
+				//Org.BouncyCastle.Bcpg.OpenPgp.Tests.Dsa2Test.?
+				Org.BouncyCastle.Bcpg.OpenPgp.Tests.RegressionTest.Main(args);
+				Org.BouncyCastle.Bcpg.OpenPgp.Examples.Tests.AllTests.Main(args);
+				Org.BouncyCastle.Cms.Tests.AllTests.Main(args);
+				Org.BouncyCastle.Crypto.Tests.RegressionTest.Main(args);
+				Org.BouncyCastle.Crypto.IO.Tests.AllTests.Main(args);
+				Org.BouncyCastle.Math.Tests.AllTests.Main(args);
+				Org.BouncyCastle.Math.EC.Tests.AllTests.Main(args);
+				Org.BouncyCastle.Ocsp.Tests.AllTests.Main(args);
+				//Org.BouncyCastle.Pkcs.Tests.?
+				Org.BouncyCastle.Pkcs.Tests.EncryptedPrivateKeyInfoTest.Main(args);
+				Org.BouncyCastle.Pkcs.Tests.Pkcs10Test.Main(args);
+				Org.BouncyCastle.Pkcs.Tests.Pkcs12StoreTest.Main(args);
+				//Org.BouncyCastle.OpenSsl.Tests.?
+				Org.BouncyCastle.OpenSsl.Tests.ReaderTest.Main(args);
+				Org.BouncyCastle.OpenSsl.Tests.WriterTest.Main(args);
+				//Org.BouncyCastle.Security.Tests.?
+				Org.BouncyCastle.Tests.RegressionTest.Main(args);
+				Org.BouncyCastle.Tsp.Tests.AllTests.Main(args);
+				//Org.BouncyCastle.X509.Tests.?
+			}
+			catch (Exception e)
+			{
+				Console.WriteLine("Tests failed with exception: " + e.Message);
+				Console.WriteLine(e.StackTrace);
+			}
+
+			DateTime after = DateTime.Now;
+			long elapsedTicks = after.Ticks - before.Ticks;
+
+			Console.WriteLine("Done in {0}ms.", elapsedTicks / TimeSpan.TicksPerMillisecond);
+		}
+	}
+}
diff --git a/crypto-test/crypto-test.csproj b/crypto-test/crypto-test.csproj
new file mode 100644
index 000000000..9bb4cdbb9
--- /dev/null
+++ b/crypto-test/crypto-test.csproj
@@ -0,0 +1,104 @@
+<VisualStudioProject>
+    <CSHARP
+        ProjectType = "Local"
+        ProductVersion = "7.10.3077"
+        SchemaVersion = "2.0"
+        ProjectGuid = "{C857AD68-8F1B-4C7A-A76B-3DC03CBE4FB0}"
+    >
+        <Build>
+            <Settings
+                ApplicationIcon = "App.ico"
+                AssemblyKeyContainerName = ""
+                AssemblyName = "crypto-test"
+                AssemblyOriginatorKeyFile = ""
+                DefaultClientScript = "JScript"
+                DefaultHTMLPageLayout = "Grid"
+                DefaultTargetSchema = "IE50"
+                DelaySign = "false"
+                OutputType = "Exe"
+                PreBuildEvent = ""
+                PostBuildEvent = ""
+                RootNamespace = "crypto_test"
+                RunPostBuildEvent = "OnBuildSuccess"
+                StartupObject = ""
+            >
+                <Config
+                    Name = "Debug"
+                    AllowUnsafeBlocks = "false"
+                    BaseAddress = "285212672"
+                    CheckForOverflowUnderflow = "false"
+                    ConfigurationOverrideFile = ""
+                    DefineConstants = "DEBUG;TRACE"
+                    DocumentationFile = ""
+                    DebugSymbols = "true"
+                    FileAlignment = "4096"
+                    IncrementalBuild = "false"
+                    NoStdLib = "false"
+                    NoWarn = ""
+                    Optimize = "false"
+                    OutputPath = "bin\Debug\"
+                    RegisterForComInterop = "false"
+                    RemoveIntegerChecks = "false"
+                    TreatWarningsAsErrors = "false"
+                    WarningLevel = "4"
+                />
+                <Config
+                    Name = "Release"
+                    AllowUnsafeBlocks = "false"
+                    BaseAddress = "285212672"
+                    CheckForOverflowUnderflow = "false"
+                    ConfigurationOverrideFile = ""
+                    DefineConstants = "TRACE"
+                    DocumentationFile = ""
+                    DebugSymbols = "false"
+                    FileAlignment = "4096"
+                    IncrementalBuild = "false"
+                    NoStdLib = "false"
+                    NoWarn = ""
+                    Optimize = "true"
+                    OutputPath = "bin\Release\"
+                    RegisterForComInterop = "false"
+                    RemoveIntegerChecks = "false"
+                    TreatWarningsAsErrors = "false"
+                    WarningLevel = "4"
+                />
+            </Settings>
+            <References>
+                <Reference
+                    Name = "System"
+                    AssemblyName = "System"
+                    HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
+                />
+                <Reference
+                    Name = "System.Data"
+                    AssemblyName = "System.Data"
+                    HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
+                />
+                <Reference
+                    Name = "System.XML"
+                    AssemblyName = "System.Xml"
+                    HintPath = "..\..\..\..\..\..\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
+                />
+                <Reference
+                    Name = "crypto"
+                    Project = "{38872A5F-E87E-4FAD-B109-8EB7B2E6A4A0}"
+                    Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
+                />
+            </References>
+        </Build>
+        <Files>
+            <Include>
+                <File
+                    RelPath = "App.ico"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "CryptoTest.cs"
+                    SubType = "Code"
+                    BuildAction = "Compile"
+                />
+            </Include>
+        </Files>
+    </CSHARP>
+</VisualStudioProject>
+
diff --git a/crypto-test/crypto-test.mdp b/crypto-test/crypto-test.mdp
new file mode 100644
index 000000000..a9c3a30ba
--- /dev/null
+++ b/crypto-test/crypto-test.mdp
@@ -0,0 +1,27 @@
+<Project name="crypto-test" fileversion="2.0" DefaultNamespace="cryptotest" language="C#" clr-version="Net_2_0" targetFramework="1.1" ctype="DotNetProject">
+  <Configurations active="Release">
+    <Configuration name="Debug" ctype="DotNetProjectConfiguration">
+      <Output directory="bin/Debug/" assembly="crypto-test" />
+      <Build debugmode="True" target="Exe" />
+      <Execution consolepause="False" runwithwarnings="False" runtime="MsNet" clr-version="Net_2_0" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" definesymbols="NET_1_1" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+    <Configuration name="Release" ctype="DotNetProjectConfiguration">
+      <Output directory="bin/Release/" assembly="crypto-test" />
+      <Build debugmode="False" target="Exe" />
+      <Execution consolepause="True" runwithwarnings="False" runtime="MsNet" clr-version="Net_2_0" />
+      <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" definesymbols="NET_1_1" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
+    </Configuration>
+  </Configurations>
+  <Contents>
+    <File subtype="Code" buildaction="Exclude" name="App.ico" />
+    <File subtype="Code" buildaction="Compile" name="CryptoTest.cs" />
+  </Contents>
+  <References>
+    <ProjectReference type="Project" localcopy="True" refto="crypto" />
+    <ProjectReference type="Gac" localcopy="True" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+    <ProjectReference type="Gac" localcopy="True" refto="System.Data, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+    <ProjectReference type="Gac" localcopy="True" refto="System.Xml, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
+  </References>
+  <DeploymentInformation strategy="File" />
+</Project>
\ No newline at end of file