blob: c15cb94d5cb1356d3963c0e1dc1cccfd3d5cc23a (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
package org.bouncycastle.math.raw.test;
import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.bouncycastle.test.PrintTestResult;
public class AllTests
extends TestCase
{
public static void main (String[] args)
throws Exception
{
PrintTestResult.printResult( junit.textui.TestRunner.run(suite()));
}
public static Test suite()
throws Exception
{
TestSuite suite = new TestSuite("Raw math tests");
suite.addTest(InterleaveTest.suite());
return new BCTestSetup(suite);
}
static class BCTestSetup
extends TestSetup
{
public BCTestSetup(Test test)
{
super(test);
}
protected void setUp()
{
}
protected void tearDown()
{
}
}
}
|