blob: 796d1203170010200c6bee56d9a100a95eb3cdb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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);
}
}
}
|