01: package org.bouncycastle.openpgp.test;
02:
03: import java.security.Security;
04:
05: import org.bouncycastle.util.test.Test;
06: import org.bouncycastle.util.test.TestResult;
07:
08: public class RegressionTest {
09: public static Test[] tests = { new PGPKeyRingTest(),
10: new PGPRSATest(), new PGPDSATest(),
11: new PGPDSAElGamalTest(), new PGPPBETest(),
12: new PGPMarkerTest(), new PGPPacketTest(),
13: new PGPArmoredTest(), new PGPSignatureTest(),
14: new PGPClearSignedSignatureTest(), new PGPCompressionTest() };
15:
16: public static void main(String[] args) {
17: Security
18: .addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
19:
20: for (int i = 0; i != tests.length; i++) {
21: TestResult result = tests[i].perform();
22: System.out.println(result);
23: }
24: }
25: }
|