diff options
Diffstat (limited to 'libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/test/RegressionTest.java')
-rw-r--r-- | libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/test/RegressionTest.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/test/RegressionTest.java b/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/test/RegressionTest.java new file mode 100644 index 000000000..796d12031 --- /dev/null +++ b/libraries/spongycastle/pg/src/main/j2me/org/spongycastle/openpgp/test/RegressionTest.java @@ -0,0 +1,32 @@ +package org.spongycastle.openpgp.test; + +import org.spongycastle.util.test.Test; +import org.spongycastle.util.test.TestResult; + +public class RegressionTest +{ + public static Test[] tests = { + new BcPGPDSAElGamalTest(), + new BcPGPDSATest(), + new BcPGPKeyRingTest(), + new BcPGPPBETest(), + new BcPGPRSATest() + }; + + public static void main( + String[] args) + { + for (int i = 0; i != tests.length; i++) + { + TestResult result = tests[i].perform(); + + if (result.getException() != null) + { + result.getException().printStackTrace(); + } + + System.out.println(result); + } + } +} + |