OSDN Git Service

original
[gb-231r1-is01/Gingerbread_2.3.3_r1_IS01.git] / libcore / luni / src / test / java / tests / targets / security / AllTests.java
1 /*
2  * Copyright (C) 2007 The Android Open Source Project
3  *
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
17 package tests.targets.security;
18
19 import junit.framework.Test;
20 import junit.framework.TestSuite;
21
22 public class AllTests {
23     public static Test suite() {
24         TestSuite suite = new TestSuite("All tests for package tests.targets.security;");
25         // $JUnit-BEGIN$
26
27         suite.addTestSuite(MessageDigestTestMD2.class);
28         suite.addTestSuite(MessageDigestTestMD5.class);
29         suite.addTestSuite(MessageDigestTestSHA1.class);
30         suite.addTestSuite(MessageDigestTestSHA256.class);
31         suite.addTestSuite(MessageDigestTestSHA384.class);
32         suite.addTestSuite(MessageDigestTestSHA512.class);
33
34         suite.addTestSuite(SignatureTestMD2withRSA.class);
35         suite.addTestSuite(SignatureTestMD5withRSA.class);
36         suite.addTestSuite(SignatureTestNONEwithDSA.class);
37         suite.addTestSuite(SignatureTestSHA1withDSA.class);
38         suite.addTestSuite(SignatureTestSHA1withRSA.class);
39         suite.addTestSuite(SignatureTestSHA256withRSA.class);
40         suite.addTestSuite(SignatureTestSHA384withRSA.class);
41         suite.addTestSuite(SignatureTestSHA512withRSA.class);
42
43         suite.addTestSuite(KeyStoreTestPKCS12.class);
44
45         suite.addTestSuite(SecureRandomTestSHA1PRNG.class);
46
47         // $JUnit-END$
48         return suite;
49     }
50 }