aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/security/wycheproof/OpenJDKAllTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/google/security/wycheproof/OpenJDKAllTests.java')
-rw-r--r--java/com/google/security/wycheproof/OpenJDKAllTests.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/java/com/google/security/wycheproof/OpenJDKAllTests.java b/java/com/google/security/wycheproof/OpenJDKAllTests.java
new file mode 100644
index 0000000..a2b3b06
--- /dev/null
+++ b/java/com/google/security/wycheproof/OpenJDKAllTests.java
@@ -0,0 +1,34 @@
+package com.google.security.wycheproof;
+
+import com.google.security.wycheproof.WycheproofRunner.Provider;
+import com.google.security.wycheproof.WycheproofRunner.ProviderType;
+import org.junit.BeforeClass;
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite.SuiteClasses;
+
+/**
+ * Tests for OpenJDK's providers: SunJCE, SunEC, etc.
+ * OpenJDKAllTests runs all tests.
+ */
+@RunWith(WycheproofRunner.class)
+@SuiteClasses({
+ AesGcmTest.class,
+ BasicTest.class,
+ CipherInputStreamTest.class,
+ CipherOutputStreamTest.class,
+ DhTest.class,
+ DsaTest.class,
+ EcKeyTest.class,
+ EcdhTest.class,
+ EcdsaTest.class,
+ RsaEncryptionTest.class,
+ RsaKeyTest.class,
+ RsaSignatureTest.class
+})
+@Provider(ProviderType.OPENJDK)
+public final class OpenJDKAllTests {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ TestUtil.installOnlyOpenJDKProviders();
+ }
+}