aboutsummaryrefslogtreecommitdiff
path: root/java/com/google/security/wycheproof/OpenJDKTest.java
diff options
context:
space:
mode:
authorEmilia Kasper <ekasper@google.com>2016-10-14 15:58:23 +0200
committerThai Duong <thaidn@google.com>2016-11-30 17:59:14 -0800
commitf7ecb0dfad2cc15d42eacefb13e8675dd664dd38 (patch)
tree3cc36a764b92a450d5439eafd03f951fc06dcbc4 /java/com/google/security/wycheproof/OpenJDKTest.java
parentc662a0ac9004a20276345d39d2ce1cfca16eb8a8 (diff)
downloadwycheproof-f7ecb0dfad2cc15d42eacefb13e8675dd664dd38.tar.gz
Initial GitHub export
Diffstat (limited to 'java/com/google/security/wycheproof/OpenJDKTest.java')
-rw-r--r--java/com/google/security/wycheproof/OpenJDKTest.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/java/com/google/security/wycheproof/OpenJDKTest.java b/java/com/google/security/wycheproof/OpenJDKTest.java
new file mode 100644
index 0000000..b326fef
--- /dev/null
+++ b/java/com/google/security/wycheproof/OpenJDKTest.java
@@ -0,0 +1,36 @@
+package com.google.security.wycheproof;
+
+import com.google.security.wycheproof.WycheproofRunner.Fast;
+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.
+ * OpenJDKTest excludes slow 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)
+@Fast
+public final class OpenJDKTest {
+ @BeforeClass
+ public static void setUp() throws Exception {
+ TestUtil.installOnlyOpenJDKProviders();
+ }
+}