blob: 2da6bb85e93580af3607108d88afb98eb39ac3a1 [file] [log] [blame]
Emilia Kasperf7ecb0d2016-10-14 15:58:23 +02001/**
2 * @license
3 * Copyright 2016 Google Inc. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.google.security.wycheproof;
18
19import com.google.security.wycheproof.WycheproofRunner.Fast;
20import com.google.security.wycheproof.WycheproofRunner.Provider;
21import com.google.security.wycheproof.WycheproofRunner.ProviderType;
Adam Vartanian24b0fda2017-03-27 11:29:26 +010022// Android-changed: Update import to account for jarjar
Daulet Zhanguzin8c3e0892021-02-03 12:10:46 +000023import com.android.internal.org.bouncycastle.jce.provider.BouncyCastleProvider;
Emilia Kasperf7ecb0d2016-10-14 15:58:23 +020024import org.junit.BeforeClass;
25import org.junit.runner.RunWith;
26import org.junit.runners.Suite.SuiteClasses;
27
28/**
29 * BouncyCastleTest excludes {@code @SlowTest} tests.
30 */
31@RunWith(WycheproofRunner.class)
32@SuiteClasses({
33 AesEaxTest.class,
34 AesGcmTest.class,
35 BasicTest.class,
36 CipherInputStreamTest.class,
37 CipherOutputStreamTest.class,
38 DhTest.class,
39 DhiesTest.class,
40 DsaTest.class,
Emilia Kasperf7ecb0d2016-10-14 15:58:23 +020041 EciesTest.class,
Emilia Kasperf7ecb0d2016-10-14 15:58:23 +020042})
43@Provider(ProviderType.BOUNCY_CASTLE)
44@Fast
45public final class BouncyCastleTest {
46 @BeforeClass
47 public static void setUp() throws Exception {
48 TestUtil.installOnlyThisProvider(new BouncyCastleProvider());
49 }
50}