1 package com.google.security.wycheproof; 2 3 import com.google.security.wycheproof.WycheproofRunner.Fast; 4 import com.google.security.wycheproof.WycheproofRunner.Provider; 5 import com.google.security.wycheproof.WycheproofRunner.ProviderType; 6 import org.junit.BeforeClass; 7 import org.junit.runner.RunWith; 8 import org.junit.runners.Suite.SuiteClasses; 9 10 /** 11 * Tests for OpenJDK's providers: SunJCE, SunEC, etc. 12 * OpenJDKTest excludes slow tests. 13 */ 14 @RunWith(WycheproofRunner.class) 15 @SuiteClasses({ 16 AesGcmTest.class, 17 BasicTest.class, 18 CipherInputStreamTest.class, 19 CipherOutputStreamTest.class, 20 DhTest.class, 21 DsaTest.class, 22 EcKeyTest.class, 23 EcdhTest.class, 24 EcdsaTest.class, 25 RsaEncryptionTest.class, 26 RsaKeyTest.class, 27 RsaSignatureTest.class 28 }) 29 @Provider(ProviderType.OPENJDK) 30 @Fast 31 public final class OpenJDKTest { 32 @BeforeClass setUp()33 public static void setUp() throws Exception { 34 TestUtil.installOnlyOpenJDKProviders(); 35 } 36 } 37