diff options
Diffstat (limited to 'luni')
43 files changed, 0 insertions, 1991 deletions
diff --git a/luni/src/test/java/com/android/org/bouncycastle/jce/provider/AllTests.java b/luni/src/test/java/com/android/org/bouncycastle/jce/provider/AllTests.java deleted file mode 100644 index 3ec53a4..0000000 --- a/luni/src/test/java/com/android/org/bouncycastle/jce/provider/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2009 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.org.bouncycastle.jce.provider; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for " + AllTests.class.getPackage()); - suite.addTestSuite(PKIXCertPathValidatorSpiTest.class); - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/AllTests.java b/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/AllTests.java deleted file mode 100644 index 5a141c9..0000000 --- a/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.annotation.tests.java.lang.annotation; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite for java.nio.charset package. - */ -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite("Test for java.lang.annotation"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AnnotationTest.class); - suite.addTestSuite(AnnotationFormatErrorTest.class); - suite.addTestSuite(AnnotationTypeMismatchExceptionTest.class); - suite.addTestSuite(ElementTypeTest.class); - suite.addTestSuite(IncompleteAnnotationExceptionTest.class); - suite.addTestSuite(RetentionPolicyTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/AllTests.java b/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/AllTests.java deleted file mode 100644 index 89faac1..0000000 --- a/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/AllTests.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.internal.net.www.protocol.http; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.javax.net.ssl; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for HttpURLConnecton, HttpsURLConnection."); - // $JUnit-BEGIN$ - - suite.addTestSuite(HttpURLConnectionTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/AllTests.java b/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/AllTests.java deleted file mode 100644 index e03633d..0000000 --- a/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/AllTests.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.internal.net.www.protocol.https; - -import junit.framework.Test; -import junit.framework.TestSuite; - - -/** - * This is autogenerated source file. Includes tests for package tests.api.javax.net.ssl; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for HttpURLConnecton, HttpsURLConnection."); - // $JUnit-BEGIN$ - - suite.addTestSuite(HttpsURLConnectionTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/luni/tests/java/net/AllTests.java b/luni/src/test/java/org/apache/harmony/luni/tests/java/net/AllTests.java deleted file mode 100644 index d75c317..0000000 --- a/luni/src/test/java/org/apache/harmony/luni/tests/java/net/AllTests.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.net; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTests { - - public static void run() { - TestRunner.main(new String[] { AllTests.class.getName() }); - } - - public static Test suite() { - TestSuite suite = new TestSuite("Tests for java.net"); - - // add net testsuites here - suite.addTestSuite(ContentHandlerTest.class); - suite.addTestSuite(ContentHandlerFactoryTest.class); - suite.addTestSuite(HttpRetryExceptionTest.class); - suite.addTestSuite(Inet4AddressTest.class); - suite.addTestSuite(Inet6AddressTest.class); - suite.addTestSuite(InetAddressTest.class); - suite.addTestSuite(InetSocketAddressTest.class); - suite.addTestSuite(URITest.class); - suite.addTestSuite(URLConnectionTest.class); - suite.addTestSuite(URLEncoderTest.class); - - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/luni/tests/java/util/AllTests.java b/luni/src/test/java/org/apache/harmony/luni/tests/java/util/AllTests.java deleted file mode 100644 index 9966809..0000000 --- a/luni/src/test/java/org/apache/harmony/luni/tests/java/util/AllTests.java +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.luni.tests.java.util; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTests { - - public static void run() { - TestRunner.main(new String[] { AllTests.class.getName() }); - } - - public static final Test suite() { - TestSuite suite = new TestSuite("Tests for java.util"); - - suite.addTestSuite(AbstractCollectionTest.class); - suite.addTestSuite(AbstractMapTest.class); - suite.addTestSuite(AbstractSetTest.class); - suite.addTestSuite(ArraysTest.class); - suite.addTestSuite(BitSetTest.class); - suite.addTestSuite(CollectionsTest.class); - suite.addTestSuite(DictionaryTest.class); - suite.addTestSuite(DuplicateFormatFlagsExceptionTest.class); - suite.addTestSuite(EventListenerProxyTest.class); - suite.addTestSuite(FormatFlagsConversionMismatchExceptionTest.class); - suite.addTestSuite(FormattableTest.class); - suite.addTestSuite(FormatterClosedExceptionTest.class); - suite.addTestSuite(HashMapTest.class); - suite.addTestSuite(IdentityHashMapTest.class); - suite.addTestSuite(IllegalFormatCodePointExceptionTest.class); - suite.addTestSuite(IllegalFormatConversionExceptionTest.class); - suite.addTestSuite(IllegalFormatFlagsExceptionTest.class); - suite.addTestSuite(IllegalFormatPrecisionExceptionTest.class); - suite.addTestSuite(IllegalFormatWidthExceptionTest.class); - suite.addTestSuite(InputMismatchExceptionTest.class); - suite.addTestSuite(InvalidPropertiesFormatExceptionTest.class); - suite.addTestSuite(LinkedHashMapTest.class); - suite.addTestSuite(ListIteratorTest.class); - suite.addTestSuite(MapEntryTest.class); - suite.addTestSuite(MissingFormatArgumentExceptionTest.class); - suite.addTestSuite(MissingFormatWidthExceptionTest.class); - suite.addTestSuite(ObserverTest.class); - suite.addTestSuite(UnknownFormatFlagsExceptionTest.class); - suite.addTestSuite(UUIDTest.class); - suite.addTestSuite(VectorTest.class); - suite.addTestSuite(WeakHashMapTest.class); - - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/AllTests.java b/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/AllTests.java deleted file mode 100644 index 80bebd4..0000000 --- a/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/AllTests.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.regex.tests.java.util.regex; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Provides a test suite for java.util.regex package. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for java.util.regex"); - //$JUnit-BEGIN$ - - suite.addTestSuite(Matcher2Test.class); - suite.addTestSuite(ModeTest.class); - suite.addTestSuite(Pattern2Test.class); - suite.addTestSuite(PatternErrorTest.class); - suite.addTestSuite(PatternSyntaxExceptionTest.class); - suite.addTestSuite(PatternTest.class); - suite.addTestSuite(ReplaceTest.class); - suite.addTestSuite(SplitTest.class); - - //$JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/org/apache/harmony/security/tests/java/security/AllTests.java b/luni/src/test/java/org/apache/harmony/security/tests/java/security/AllTests.java deleted file mode 100644 index 97f58d0..0000000 --- a/luni/src/test/java/org/apache/harmony/security/tests/java/security/AllTests.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.harmony.security.tests.java.security; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package org.apache.harmony.security.tests.java.security; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package org.apache.harmony.security.tests.java.security;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AccessControlException2Test.class); - suite.addTestSuite(AccessControlExceptionTest.class); - suite.addTestSuite(AccessController2Test.class); - suite.addTestSuite(AlgorithmParameterGenerator1Test.class); - suite.addTestSuite(AlgorithmParameterGenerator2Test.class); - suite.addTestSuite(AlgorithmParametersSpiTest.class); - suite.addTestSuite(AlgorithmParametersTest.class); - suite.addTestSuite(AllPermission2Test.class); - suite.addTestSuite(AuthProviderTest.class); - suite.addTestSuite(BasicPermission2Test.class); - suite.addTestSuite(CodeSignerTest.class); - suite.addTestSuite(CodeSource2Test.class); - suite.addTestSuite(CodeSourceTest.class); - suite.addTestSuite(DigestExceptionTest.class); - suite.addTestSuite(DigestInputStream2Test.class); - suite.addTestSuite(DigestInputStreamTest.class); - suite.addTestSuite(DigestOutputStreamTest.class); - suite.addTestSuite(GeneralSecurityExceptionTest.class); - suite.addTestSuite(GuardedObjectTest.class); - suite.addTestSuite(Identity2Test.class); - suite.addTestSuite(IdentityScope2Test.class); - suite.addTestSuite(IdentityScopeTest.class); - suite.addTestSuite(InvalidAlgorithmParameterExceptionTest.class); - suite.addTestSuite(InvalidKeyExceptionTest.class); - suite.addTestSuite(InvalidParameterExceptionTest.class); - suite.addTestSuite(KSCallbackHandlerProtectionTest.class); - suite.addTestSuite(KSPasswordProtectionTest.class); - suite.addTestSuite(KSPrivateKeyEntryTest.class); - suite.addTestSuite(KSSecretKeyEntryTest.class); - suite.addTestSuite(KSTrustedCertificateEntryTest.class); - suite.addTestSuite(KeyExceptionTest.class); - suite.addTestSuite(KeyFactory2Test.class); - suite.addTestSuite(KeyFactorySpiTest.class); - suite.addTestSuite(KeyManagementExceptionTest.class); - suite.addTestSuite(KeyPairGenerator1Test.class); - suite.addTestSuite(KeyPairGenerator2Test.class); - suite.addTestSuite(KeyPairGenerator3Test.class); - suite.addTestSuite(KeyPairGenerator4Test.class); - suite.addTestSuite(KeyPairGeneratorSpiTest.class); - suite.addTestSuite(KeyPairTest.class); - suite.addTestSuite(KeyRepTest.class); - suite.addTestSuite(KeyRepTypeTest.class); - suite.addTestSuite(KeyStore2Test.class); - suite.addTestSuite(KeyStore3Test.class); - suite.addTestSuite(KeyStoreBuilderTest.class); - suite.addTestSuite(KeyStoreExceptionTest.class); - suite.addTestSuite(KeyStoreSpiTest.class); - suite.addTestSuite(KeyStoreTest.class); - suite.addTestSuite(KeyTest.class); - suite.addTestSuite(MessageDigest1Test.class); - suite.addTestSuite(MessageDigest2Test.class); - suite.addTestSuite(MessageDigestSpiTest.class); - suite.addTestSuite(NoSuchAlgorithmExceptionTest.class); - suite.addTestSuite(NoSuchProviderExceptionTest.class); - suite.addTestSuite(Permission2Test.class); - suite.addTestSuite(PermissionCollectionTest.class); - suite.addTestSuite(PermissionTest.class); - suite.addTestSuite(Permissions2Test.class); - suite.addTestSuite(PermissionsTest.class); - suite.addTestSuite(PolicyTest.class); - suite.addTestSuite(PrivateKeyTest.class); - suite.addTestSuite(PrivilegedActionException2Test.class); - suite.addTestSuite(PrivilegedActionExceptionTest.class); - suite.addTestSuite(ProtectionDomainTest.class); - suite.addTestSuite(Provider2Test.class); - suite.addTestSuite(ProviderExceptionTest.class); - suite.addTestSuite(ProviderServiceTest.class); - suite.addTestSuite(ProviderTest.class); - suite.addTestSuite(PublicKeyTest.class); - suite.addTestSuite(SecureRandom2Test.class); - suite.addTestSuite(SecureRandomSpiTest.class); - suite.addTestSuite(Security2Test.class); - suite.addTestSuite(SecurityPermission2Test.class); - suite.addTestSuite(SecurityPermissionTest.class); - suite.addTestSuite(SecurityTest.class); - suite.addTestSuite(Signature2Test.class); - suite.addTestSuite(SignatureExceptionTest.class); - suite.addTestSuite(SignatureSpiTest.class); - suite.addTestSuite(SignatureTest.class); - suite.addTestSuite(SignedObjectTest.class); - suite.addTestSuite(SignerTest.class); - suite.addTestSuite(TimestampTest.class); - suite.addTestSuite(UnrecoverableEntryExceptionTest.class); - suite.addTestSuite(UnrecoverableKeyExceptionTest.class); - suite.addTestSuite(UnresolvedPermissionTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/sun/misc/AllTests.java b/luni/src/test/java/sun/misc/AllTests.java deleted file mode 100644 index f2c4277..0000000 --- a/luni/src/test/java/sun/misc/AllTests.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2009 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package sun.misc; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Test for sun.misc"); - - // $JUnit-BEGIN$ - - suite.addTestSuite(UnsafeTest.class); - - // $JUnit-END$ - - return suite; - } -} diff --git a/luni/src/test/java/tests/AllTests.java b/luni/src/test/java/tests/AllTests.java deleted file mode 100644 index 8cd498b..0000000 --- a/luni/src/test/java/tests/AllTests.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTests -{ - public static void run() { - TestRunner.main(new String[] { AllTests.class.getName() }); - } - - public static Test suite() { - TestSuite suite = new TestSuite(); - - // Harmony-written test suites (often with Android tests added in). - suite.addTest(tests.annotation.AllTests.suite()); - suite.addTest(tests.dom.AllTests.suite()); - suite.addTest(tests.luni.AllTestsIo.suite()); - suite.addTest(tests.luni.AllTestsLang.suite()); - suite.addTest(tests.luni.AllTestsNet.suite()); - suite.addTest(tests.luni.AllTestsUtil.suite()); - suite.addTest(tests.math.AllTests.suite()); - suite.addTest(tests.regex.AllTests.suite()); - suite.addTest(tests.security.AllTests.suite()); - suite.addTest(tests.suncompat.AllTests.suite()); - suite.addTest(tests.xml.AllTests.suite()); - suite.addTest(tests.api.org.apache.harmony.kernel.dalvik.AllTests.suite()); - - // Android-written test suites. - - return suite; - } -} diff --git a/luni/src/test/java/tests/annotation/AllTests.java b/luni/src/test/java/tests/annotation/AllTests.java deleted file mode 100644 index f5b6595..0000000 --- a/luni/src/test/java/tests/annotation/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.annotation; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the NIO_Char project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All Annotation test suites"); - // $JUnit-BEGIN$ - suite.addTest(org.apache.harmony.annotation.tests.java.lang.annotation.AllTests.suite()); - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/io/AllTests.java b/luni/src/test/java/tests/api/java/io/AllTests.java deleted file mode 100644 index d75d2c9..0000000 --- a/luni/src/test/java/tests/api/java/io/AllTests.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.io; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.java.io; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.java.io;"); - suite.addTestSuite(ObjectInputStreamTest.class); - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/lang/AllTests.java b/luni/src/test/java/tests/api/java/lang/AllTests.java deleted file mode 100644 index edaa021..0000000 --- a/luni/src/test/java/tests/api/java/lang/AllTests.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.lang; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * TODO Type description - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Test for java.lang"); - - // $JUnit-BEGIN$ - - suite.addTestSuite(Process2Test.class); - suite.addTestSuite(ProcessTest.class); - suite.addTestSuite(ProcessManagerTest.class); - suite.addTestSuite(BooleanTest.class); - suite.addTestSuite(StringTest.class); - - // $JUnit-END$ - - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/lang/ref/AllTests.java b/luni/src/test/java/tests/api/java/lang/ref/AllTests.java deleted file mode 100644 index 31f478e..0000000 --- a/luni/src/test/java/tests/api/java/lang/ref/AllTests.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.lang.ref; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * TODO Type description - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Test for java.lang.ref"); - - // $JUnit-BEGIN$ - - suite.addTestSuite(PhantomReferenceTest.class); - suite.addTestSuite(ReferenceQueueTest.class); - suite.addTestSuite(ReferenceTest.class); - suite.addTestSuite(SoftReferenceTest.class); - suite.addTestSuite(WeakReferenceTest.class); - - // $JUnit-END$ - - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/lang/reflect/AllTests.java b/luni/src/test/java/tests/api/java/lang/reflect/AllTests.java deleted file mode 100644 index 9a5505f..0000000 --- a/luni/src/test/java/tests/api/java/lang/reflect/AllTests.java +++ /dev/null @@ -1,53 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.lang.reflect; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * TODO Type description - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Test for java.lang.reflect"); - - // $JUnit-BEGIN$ - suite.addTestSuite(AccessibleObjectTest.class); - suite.addTestSuite(ArrayTest.class); - suite.addTestSuite(ConstructorTest.class); - suite.addTestSuite(FieldTest.class); - suite.addTestSuite(InvocationTargetExceptionTest.class); - suite.addTestSuite(MalformedParameterizedTypeExceptionTests.class); - suite.addTestSuite(UndeclaredThrowableExceptionTests.class); - suite.addTestSuite(MethodTest.class); - suite.addTestSuite(ModifierTest.class); - suite.addTestSuite(ProxyTest.class); - suite.addTestSuite(ReflectPermissionTest.class); - suite.addTestSuite(GenericArrayTypeTest.class); - suite.addTestSuite(TypeVariableTest.class); - suite.addTestSuite(ParameterizedTypeTest.class); - suite.addTestSuite(BoundedGenericMethodsTests.class); - suite.addTestSuite(GenericMethodsTests.class); - suite.addTestSuite(WildcardTypeTest.class); - suite.addTestSuite(GenericSignatureFormatErrorTest.class); - // $JUnit-END$ - - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/math/AllTests.java b/luni/src/test/java/tests/api/java/math/AllTests.java deleted file mode 100644 index 4c25231..0000000 --- a/luni/src/test/java/tests/api/java/math/AllTests.java +++ /dev/null @@ -1,35 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.math; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the Math project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for java.math"); - // $JUnit-BEGIN$ - suite.addTestSuite(BigIntegerTest.class); - suite.addTestSuite(RoundingModeTest.class); - suite.addTestSuite(MathContextTest.class); - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/security/AllTests.java b/luni/src/test/java/tests/api/java/security/AllTests.java deleted file mode 100644 index 2d7fdd4..0000000 --- a/luni/src/test/java/tests/api/java/security/AllTests.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.security; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.java.security; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.java.security;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AccessControlContextTest.class); - suite.addTestSuite(PermissionCollectionTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/java/util/AllTests.java b/luni/src/test/java/tests/api/java/util/AllTests.java deleted file mode 100644 index fe1c93d..0000000 --- a/luni/src/test/java/tests/api/java/util/AllTests.java +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.java.util; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * TODO Type description - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Test for java.util"); - - // $JUnit-BEGIN$ - suite.addTestSuite(AbstractListTest.class); - suite.addTestSuite(AbstractMapTest.class); - suite.addTestSuite(AbstractQueueTest.class); - suite.addTestSuite(AbstractSequentialListTest.class); - suite.addTestSuite(ArrayListTest.class); - suite.addTestSuite(ArraysTest.class); - suite.addTestSuite(BitSetTest.class); - suite.addTestSuite(CalendarTest.class); - suite.addTestSuite(CollectionsTest.class); - suite.addTestSuite(ConcurrentModificationExceptionTest.class); - suite.addTestSuite(ConcurrentModTest.class); - suite.addTestSuite(CurrencyTest.class); - suite.addTestSuite(DateTest.class); - suite.addTestSuite(EmptyStackExceptionTest.class); - suite.addTestSuite(EnumMapTest.class); - suite.addTestSuite(EnumSetTest.class); - suite.addTestSuite(EventObjectTest.class); - suite.addTestSuite(FormattableFlagsTest.class); - suite.addTestSuite(GregorianCalendarTest.class); - suite.addTestSuite(HashMapTest.class); - suite.addTestSuite(HashSetTest.class); - suite.addTestSuite(HashtableTest.class); - suite.addTestSuite(IdentityHashMapTest.class); - suite.addTestSuite(InvalidPropertiesFormatExceptionTest.class); - suite.addTestSuite(LinkedHashMapTest.class); - suite.addTestSuite(LinkedHashSetTest.class); - suite.addTestSuite(LinkedListTest.class); - suite.addTestSuite(ListResourceBundleTest.class); - suite.addTestSuite(LocaleTest.class); - suite.addTestSuite(MissingResourceExceptionTest.class); - suite.addTestSuite(NoSuchElementExceptionTest.class); - suite.addTestSuite(ObservableTest.class); - suite.addTestSuite(PropertyPermissionTest.class); - suite.addTestSuite(PropertyResourceBundleTest.class); - suite.addTestSuite(RandomTest.class); - suite.addTestSuite(ResourceBundleTest.class); - suite.addTestSuite(SimpleTimeZoneTest.class); - suite.addTestSuite(StackTest.class); - suite.addTestSuite(StringTokenizerTest.class); - suite.addTestSuite(TimerTaskTest.class); - suite.addTestSuite(TimerTest.class); - suite.addTestSuite(TooManyListenersExceptionTest.class); - suite.addTestSuite(VectorTest.class); - suite.addTestSuite(WeakHashMapTest.class); - // $JUnit-END$ - - return suite; - } -} diff --git a/luni/src/test/java/tests/api/javax/security/auth/AllTests.java b/luni/src/test/java/tests/api/javax/security/auth/AllTests.java deleted file mode 100644 index 3ed3868..0000000 --- a/luni/src/test/java/tests/api/javax/security/auth/AllTests.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.javax.security.auth; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.javax.security.auth; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.javax.security.auth;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AuthPermissionTest.class); - suite.addTestSuite(PrivateCredentialPermissionTest.class); - suite.addTestSuite(SubjectTest.class); - suite.addTestSuite(SubjectDomainCombinerTest.class); - suite.addTestSuite(DestroyFailedExceptionTest.class); - suite.addTestSuite(DestroyableTest.class); - - suite.addTestSuite(LoginExceptionTest.class); - suite.addTestSuite(X500PrincipalTest.class); - suite.addTestSuite(UnsupportedCallbackExceptionTest.class); - suite.addTestSuite(PasswordCallbackTest.class); - suite.addTestSuite(CallbackHandlerTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/javax/security/cert/AllTests.java b/luni/src/test/java/tests/api/javax/security/cert/AllTests.java deleted file mode 100644 index 30921bd..0000000 --- a/luni/src/test/java/tests/api/javax/security/cert/AllTests.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.javax.security.cert; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.javax.security.cert; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.javax.security.cert;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(CertificateEncodingExceptionTest.class); - suite.addTestSuite(CertificateExceptionTest.class); - suite.addTestSuite(CertificateExpiredExceptionTest.class); - suite.addTestSuite(CertificateNotYetValidExceptionTest.class); - suite.addTestSuite(CertificateParsingExceptionTest.class); - suite.addTestSuite(CertificateTest.class); - suite.addTestSuite(X509CertificateTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/javax/xml/parsers/AllTests.java b/luni/src/test/java/tests/api/javax/xml/parsers/AllTests.java deleted file mode 100644 index 6771ea5..0000000 --- a/luni/src/test/java/tests/api/javax/xml/parsers/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.javax.xml.parsers; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.javax.xml.parsers; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.javax.xml.parsers;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(DocumentBuilderFactoryTest.class); - suite.addTestSuite(DocumentBuilderTest.class); - suite.addTestSuite(FactoryConfigurationErrorTest.class); - suite.addTestSuite(ParserConfigurationExceptionTest.class); - suite.addTestSuite(SAXParserFactoryTest.class); - suite.addTestSuite(SAXParserTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/AllTests.java b/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/AllTests.java deleted file mode 100644 index ccb8e29..0000000 --- a/luni/src/test/java/tests/api/org/apache/harmony/kernel/dalvik/AllTests.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (C) 2009 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.org.apache.harmony.kernel.dalvik; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static final Test suite() { - TestSuite suite = new TestSuite(); - suite.addTestSuite(tests.api.org.apache.harmony.kernel.dalvik.ThreadsTest.class); - return suite; - } -} diff --git a/luni/src/test/java/tests/api/org/xml/sax/AllTests.java b/luni/src/test/java/tests/api/org/xml/sax/AllTests.java deleted file mode 100644 index 96661f4..0000000 --- a/luni/src/test/java/tests/api/org/xml/sax/AllTests.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.org.xml.sax; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for org.xml.sax package"); - // $JUnit-BEGIN$ - - suite.addTestSuite(HandlerBaseTest.class); - suite.addTestSuite(InputSourceTest.class); - suite.addTestSuite(SAXExceptionTest.class); - suite.addTestSuite(SAXNotRecognizedExceptionTest.class); - suite.addTestSuite(SAXNotSupportedExceptionTest.class); - suite.addTestSuite(SAXParseExceptionTest.class); - - suite.addTest(tests.api.org.xml.sax.ext.AllTests.suite()); - suite.addTest(tests.api.org.xml.sax.helpers.AllTests.suite()); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/org/xml/sax/ext/AllTests.java b/luni/src/test/java/tests/api/org/xml/sax/ext/AllTests.java deleted file mode 100644 index 1334780..0000000 --- a/luni/src/test/java/tests/api/org/xml/sax/ext/AllTests.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.org.xml.sax.ext; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for org.xml.sax.ext package"); - // $JUnit-BEGIN$ - - suite.addTestSuite(Attributes2ImplTest.class); - suite.addTestSuite(DefaultHandler2Test.class); - suite.addTestSuite(Locator2ImplTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/api/org/xml/sax/helpers/AllTests.java b/luni/src/test/java/tests/api/org/xml/sax/helpers/AllTests.java deleted file mode 100644 index 135496c..0000000 --- a/luni/src/test/java/tests/api/org/xml/sax/helpers/AllTests.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.api.org.xml.sax.helpers; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("Tests for org.xml.sax.helpers package"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AttributeListImplTest.class); - suite.addTestSuite(AttributesImplTest.class); - suite.addTestSuite(ParserFactoryTest.class); - suite.addTestSuite(DefaultHandlerTest.class); - suite.addTestSuite(LocatorImplTest.class); - suite.addTestSuite(NamespaceSupportTest.class); - suite.addTestSuite(XMLFilterImplTest.class); - suite.addTestSuite(XMLReaderAdapterTest.class); - suite.addTestSuite(XMLReaderFactoryTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/java/security/AllTests.java b/luni/src/test/java/tests/java/security/AllTests.java deleted file mode 100644 index 6dadd07..0000000 --- a/luni/src/test/java/tests/java/security/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.java.security; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.java.security; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.java.security;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AlgorithmParameterGeneratorSpiTest.class); - suite.addTestSuite(AllPermissionTest.class); - suite.addTestSuite(BasicPermissionTest.class); - suite.addTestSuite(IdentityTest.class); - suite.addTestSuite(SecureClassLoaderTest.class); - suite.addTestSuite(SecureRandomTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/java/sql/AllTests.java b/luni/src/test/java/tests/java/sql/AllTests.java deleted file mode 100644 index 5c9345b..0000000 --- a/luni/src/test/java/tests/java/sql/AllTests.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.java.sql; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.java.sql; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.java.sql;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(MultiThreadAccessTest.class); - suite.addTestSuite(tests.java.sql.StressTest.class); - suite.addTestSuite(tests.java.sql.UpdateFunctionalityTest.class); - suite.addTestSuite(tests.java.sql.SelectFunctionalityTest.class); - suite.addTestSuite(tests.java.sql.UpdateFunctionalityTest2.class); - suite.addTestSuite(tests.java.sql.DeleteFunctionalityTest.class); - suite.addTestSuite(tests.java.sql.DatabaseMetaDataTest.class); - suite.addTestSuite(tests.java.sql.DatabaseMetaDataNotSupportedTest.class); - suite.addTestSuite(tests.java.sql.InsertFunctionalityTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/luni/AllTestsIo.java b/luni/src/test/java/tests/luni/AllTestsIo.java deleted file mode 100644 index 41b4d51..0000000 --- a/luni/src/test/java/tests/luni/AllTestsIo.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.luni; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTestsIo -{ - - public static void run() { - TestRunner.main(new String[] { AllTestsIo.class.getName() }); - } - - public static Test suite() { - TestSuite suite = new TestSuite("Tests for java.io"); - - suite.addTest(tests.api.java.io.AllTests.suite()); - - return suite; - } -} diff --git a/luni/src/test/java/tests/luni/AllTestsLang.java b/luni/src/test/java/tests/luni/AllTestsLang.java deleted file mode 100644 index a7a18a8..0000000 --- a/luni/src/test/java/tests/luni/AllTestsLang.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.luni; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTestsLang -{ - - public static void run() { - TestRunner.main(new String[] { AllTestsLang.class.getName() }); - } - - public static final Test suite() { - TestSuite suite = new TestSuite("Tests for java.lang"); - - suite.addTest(tests.api.java.lang.AllTests.suite()); - - suite.addTest(tests.api.java.lang.ref.AllTests.suite()); - - suite.addTest(tests.api.java.lang.reflect.AllTests.suite()); - - return suite; - } -} diff --git a/luni/src/test/java/tests/luni/AllTestsNet.java b/luni/src/test/java/tests/luni/AllTestsNet.java deleted file mode 100644 index a71b976..0000000 --- a/luni/src/test/java/tests/luni/AllTestsNet.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.luni; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTestsNet -{ - - public static void run() { - TestRunner.main(new String[] { AllTestsNet.class.getName() }); - } - - public static final Test suite() { - TestSuite suite = new TestSuite("Tests for java.net"); - - suite.addTest(org.apache.harmony.luni.tests.java.net.AllTests.suite()); - suite.addTest(org.apache.harmony.luni.tests.internal.net.www.protocol.http.AllTests.suite()); - suite.addTest(org.apache.harmony.luni.tests.internal.net.www.protocol.https.AllTests.suite()); - - return suite; - } -} diff --git a/luni/src/test/java/tests/luni/AllTestsUtil.java b/luni/src/test/java/tests/luni/AllTestsUtil.java deleted file mode 100644 index 2b16983..0000000 --- a/luni/src/test/java/tests/luni/AllTestsUtil.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.luni; - -import junit.framework.Test; -import junit.framework.TestSuite; -import junit.textui.TestRunner; - -/** - * Listing of all the tests that are to be run. - */ -public class AllTestsUtil -{ - - public static void run() { - TestRunner.main(new String[] { AllTestsUtil.class.getName() }); - } - - public static final Test suite() { - TestSuite suite = new TestSuite("Tests for java.util"); - - suite.addTest(tests.api.java.util.AllTests.suite()); - suite.addTest(org.apache.harmony.luni.tests.java.util.AllTests.suite()); - - return suite; - } -} diff --git a/luni/src/test/java/tests/math/AllTests.java b/luni/src/test/java/tests/math/AllTests.java deleted file mode 100644 index 62a5c32..0000000 --- a/luni/src/test/java/tests/math/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.math; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the Math project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All Math test suites"); - - suite.addTest(tests.api.java.math.AllTests.suite()); - - return suite; - } -} diff --git a/luni/src/test/java/tests/org/w3c/dom/AllTests.java b/luni/src/test/java/tests/org/w3c/dom/AllTests.java deleted file mode 100644 index 659dede..0000000 --- a/luni/src/test/java/tests/org/w3c/dom/AllTests.java +++ /dev/null @@ -1,105 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.org.w3c.dom; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package org.w3c.dom; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package org.w3c.dom;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AttrGetOwnerElement.class); - suite.addTestSuite(CreateAttributeNS.class); - suite.addTestSuite(CreateDocument.class); - suite.addTestSuite(CreateDocumentType.class); - suite.addTestSuite(CreateElementNS.class); - suite.addTestSuite(DOMImplementationCreateDocument.class); - suite.addTestSuite(DOMImplementationCreateDocumentType.class); - suite.addTestSuite(DOMImplementationHasFeature.class); - suite.addTestSuite(DocumentCreateAttributeNS.class); - suite.addTestSuite(DocumentCreateElementNS.class); - suite.addTestSuite(DocumentGetElementsByTagnameNS.class); - suite.addTestSuite(DocumentGeteEementById.class); - suite.addTestSuite(DocumentImportNode.class); - suite.addTestSuite(DocumentTypeInternalSubset.class); - suite.addTestSuite(DocumentTypePublicId.class); - suite.addTestSuite(DocumentTypeSystemId.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(ElementGetAttributeNS.class); - suite.addTestSuite(ElementGetAttributeNodeNS.class); - suite.addTestSuite(ElementGetElementsByTagNameNS.class); - suite.addTestSuite(ElementHasAttribute.class); - suite.addTestSuite(ElementHasAttributeNS.class); - suite.addTestSuite(ElementRemoveAttributeNS.class); - suite.addTestSuite(ElementSetAttributeNS.class); - suite.addTestSuite(ElementSetAttributeNodeNS.class); - suite.addTestSuite(GetAttributeNS.class); - suite.addTestSuite(GetAttributeNodeNS.class); - suite.addTestSuite(GetElementById.class); - suite.addTestSuite(GetElementsByTagNameNS.class); - suite.addTestSuite(GetNamedItemNS.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(HCEntitiesRemoveNamedItemNS.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(HCEntitiesSetNamedItemNS.class); - suite.addTestSuite(HCNamedNodeMapInvalidType.class); - suite.addTestSuite(HCNodeDocumentFragmentNormalize.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(HCNotationsRemoveNamedItemNS.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(HCNotationsSetNamedItemNS.class); - suite.addTestSuite(HasAttribute.class); - suite.addTestSuite(HasAttributeNS.class); - suite.addTestSuite(HasAttributes.class); - suite.addTestSuite(ImportNode.class); - suite.addTestSuite(InternalSubset.class); - suite.addTestSuite(IsSupported.class); - suite.addTestSuite(LocalName.class); - suite.addTestSuite(NamedNodeMapGetNamedItemNS.class); - suite.addTestSuite(NamedNodeMapRemoveNamedItemNS.class); - suite.addTestSuite(NamedNodeMapSetNamedItemNS.class); - suite.addTestSuite(NamespaceURI.class); - suite.addTestSuite(NodeGetLocalName.class); - suite.addTestSuite(NodeGetNamespaceURI.class); - suite.addTestSuite(NodeGetOwnerDocument.class); - suite.addTestSuite(NodeGetPrefix.class); - suite.addTestSuite(NodeHasAttributes.class); - suite.addTestSuite(NodeIsSupported.class); - suite.addTestSuite(NodeNormalize.class); - suite.addTestSuite(NodeSetPrefix.class); - suite.addTestSuite(Normalize.class); - suite.addTestSuite(OwnerDocument.class); - suite.addTestSuite(OwnerElement.class); - suite.addTestSuite(Prefix.class); - suite.addTestSuite(PublicId.class); -// Is empty. Only test assumes validation. Leave disabled. -// suite.addTestSuite(RemoveAttributeNS.class); - suite.addTestSuite(RemoveNamedItemNS.class); - suite.addTestSuite(SetAttributeNS.class); - suite.addTestSuite(SetAttributeNodeNS.class); - suite.addTestSuite(SetNamedItemNS.class); - suite.addTestSuite(SystemId.class); - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/regex/AllTests.java b/luni/src/test/java/tests/regex/AllTests.java deleted file mode 100644 index 38a2d3a..0000000 --- a/luni/src/test/java/tests/regex/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.regex; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the regex project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All regex test suites"); - // $JUnit-BEGIN$ - suite.addTest(org.apache.harmony.regex.tests.java.util.regex.AllTests.suite()); - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/security/AllTests.java b/luni/src/test/java/tests/security/AllTests.java deleted file mode 100644 index 6f348fe..0000000 --- a/luni/src/test/java/tests/security/AllTests.java +++ /dev/null @@ -1,48 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.security; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the security project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All security test suites"); - // $JUnit-BEGIN$ - suite.addTest(org.apache.harmony.security.tests.java.security.AllTests.suite()); - suite.addTest(com.android.org.bouncycastle.jce.provider.AllTests.suite()); - suite.addTest(tests.api.java.security.AllTests.suite()); - suite.addTest(tests.java.security.AllTests.suite()); - - suite.addTest(tests.security.acl.AllTests.suite()); - suite.addTest(tests.security.cert.AllTests.suite()); - suite.addTest(tests.security.interfaces.AllTests.suite()); - suite.addTest(tests.security.spec.AllTests.suite()); - - suite.addTest(tests.api.javax.security.cert.AllTests.suite()); - - suite.addTest(tests.targets.security.AllTests.suite()); - // $JUnit-END$ - - // at the very last because of some non-resetting securitymanager - suite.addTestSuite(tests.security.AccessControllerTest.class); - return suite; - } -} diff --git a/luni/src/test/java/tests/security/acl/AllTests.java b/luni/src/test/java/tests/security/acl/AllTests.java deleted file mode 100644 index caf9675..0000000 --- a/luni/src/test/java/tests/security/acl/AllTests.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.security.acl; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.java.security.acl; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.java.security.acl;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(AclNotFoundException2Test.class); - suite.addTestSuite(AclNotFoundExceptionTest.class); - suite.addTestSuite(LastOwnerException2Test.class); - suite.addTestSuite(LastOwnerExceptionTest.class); - suite.addTestSuite(NotOwnerException2Test.class); - suite.addTestSuite(NotOwnerExceptionTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/security/cert/AllTests.java b/luni/src/test/java/tests/security/cert/AllTests.java deleted file mode 100644 index 5c0af64..0000000 --- a/luni/src/test/java/tests/security/cert/AllTests.java +++ /dev/null @@ -1,81 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.security.cert; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.api.java.security.cert; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.api.java.security.cert;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(CRLExceptionTest.class); - suite.addTestSuite(CRLTest.class); - suite.addTestSuite(CertPathBuilder1Test.class); - suite.addTestSuite(CertPathBuilder2Test.class); - suite.addTestSuite(CertPathBuilderExceptionTest.class); - suite.addTestSuite(CertPathBuilderSpiTest.class); - suite.addTestSuite(CertPathCertPathRepTest.class); - suite.addTestSuite(CertPathTest.class); - suite.addTestSuite(CertPathValidator1Test.class); - suite.addTestSuite(CertPathValidator2Test.class); - suite.addTestSuite(CertPathValidator3Test.class); - suite.addTestSuite(CertPathValidatorExceptionTest.class); - suite.addTestSuite(CertPathValidatorSpiTest.class); - suite.addTestSuite(CertStore1Test.class); - suite.addTestSuite(CertStoreExceptionTest.class); - suite.addTestSuite(CertStoreSpiTest.class); - suite.addTestSuite(CertificateCertificateRepTest.class); - suite.addTestSuite(CertificateEncodingException2Test.class); - suite.addTestSuite(CertificateEncodingExceptionTest.class); - suite.addTestSuite(CertificateException2Test.class); - suite.addTestSuite(CertificateExceptionTest.class); - suite.addTestSuite(CertificateExpiredExceptionTest.class); - suite.addTestSuite(CertificateFactory1Test.class); - suite.addTestSuite(CertificateFactory2Test.class); - suite.addTestSuite(CertificateFactory3Test.class); - suite.addTestSuite(CertificateFactory4Test.class); - suite.addTestSuite(CertificateFactorySpiTest.class); - suite.addTestSuite(CertificateNotYetValidExceptionTest.class); - suite.addTestSuite(CertificateParsingExceptionTest.class); - suite.addTestSuite(CertificateTest.class); - suite.addTestSuite(CollectionCertStoreParametersTest.class); - suite.addTestSuite(LDAPCertStoreParametersTest.class); - suite.addTestSuite(PKIXBuilderParametersTest.class); - suite.addTestSuite(PKIXCertPathBuilderResultTest.class); - suite.addTestSuite(PKIXCertPathCheckerTest.class); - suite.addTestSuite(PKIXCertPathValidatorResultTest.class); - suite.addTestSuite(PolicyQualifierInfoTest.class); - suite.addTestSuite(TrustAnchorTest.class); - suite.addTestSuite(X509CRL2Test.class); - suite.addTestSuite(X509CRLEntryTest.class); - suite.addTestSuite(X509CRLSelector2Test.class); - suite.addTestSuite(X509CRLSelectorTest.class); - suite.addTestSuite(X509CRLTest.class); - // Crashes on RI. - // suite.addTestSuite(X509CertSelectorTest.class); - suite.addTestSuite(X509Certificate2Test.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/security/interfaces/AllTests.java b/luni/src/test/java/tests/security/interfaces/AllTests.java deleted file mode 100644 index e180408..0000000 --- a/luni/src/test/java/tests/security/interfaces/AllTests.java +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.security.interfaces; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.security.interfaces; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.security.interfaces;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(DSAKeyTest.class); - suite.addTestSuite(DSAParamsTest.class); - suite.addTestSuite(DSAKeyPairGeneratorTest.class); - suite.addTestSuite(RSAMultiPrimePrivateCrtKeyTest.class); - suite.addTestSuite(DSAPrivateKeyTest.class); - suite.addTestSuite(DSAPublicKeyTest.class); - suite.addTestSuite(RSAKeyTest.class); - suite.addTestSuite(RSAPrivateCrtKeyTest.class); - suite.addTestSuite(RSAPrivateKeyTest.class); - suite.addTestSuite(RSAPublicKeyTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/security/spec/AllTests.java b/luni/src/test/java/tests/security/spec/AllTests.java deleted file mode 100644 index 151e0a7..0000000 --- a/luni/src/test/java/tests/security/spec/AllTests.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.security.spec; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * This is autogenerated source file. Includes tests for package tests.security.spec; - */ - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.security.spec;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(DSAParameterSpecTest.class); - suite.addTestSuite(DSAPrivateKeySpecTest.class); - suite.addTestSuite(DSAPublicKeySpecTest.class); - suite.addTestSuite(ECFieldF2mTest.class); - suite.addTestSuite(ECFieldFpTest.class); - suite.addTestSuite(ECGenParameterSpecTest.class); - suite.addTestSuite(ECParameterSpecTest.class); - suite.addTestSuite(ECPointTest.class); - suite.addTestSuite(ECPrivateKeySpecTest.class); - suite.addTestSuite(ECPublicKeySpecTest.class); - suite.addTestSuite(EllipticCurveTest.class); - suite.addTestSuite(EncodedKeySpec2Test.class); - suite.addTestSuite(EncodedKeySpecTest.class); - suite.addTestSuite(InvalidKeySpecExceptionTest.class); - suite.addTestSuite(InvalidParameterSpecExceptionTest.class); - suite.addTestSuite(MGF1ParameterSpecTest.class); - suite.addTestSuite(PKCS8EncodedKeySpecTest.class); - suite.addTestSuite(PSSParameterSpecTest.class); - suite.addTestSuite(RSAKeyGenParameterSpecTest.class); - suite.addTestSuite(RSAMultiPrimePrivateCrtKeySpecTest.class); - suite.addTestSuite(RSAOtherPrimeInfoTest.class); - suite.addTestSuite(RSAPrivateCrtKeySpecTest.class); - suite.addTestSuite(RSAPrivateKeySpecTest.class); - suite.addTestSuite(RSAPublicKeySpecTest.class); - suite.addTestSuite(X509EncodedKeySpecTest.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/suncompat/AllTests.java b/luni/src/test/java/tests/suncompat/AllTests.java deleted file mode 100644 index e86889c..0000000 --- a/luni/src/test/java/tests/suncompat/AllTests.java +++ /dev/null @@ -1,33 +0,0 @@ -/* Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.suncompat; - -import junit.framework.Test; -import junit.framework.TestSuite; - -/** - * Test suite that includes all tests for the suncompat project. - */ -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All suncompat test suites"); - // $JUnit-BEGIN$ - suite.addTest(sun.misc.AllTests.suite()); - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/targets/security/AllTests.java b/luni/src/test/java/tests/targets/security/AllTests.java deleted file mode 100644 index 6a896c8..0000000 --- a/luni/src/test/java/tests/targets/security/AllTests.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.targets.security; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.targets.security;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(MessageDigestTestMD2.class); - suite.addTestSuite(MessageDigestTestMD5.class); - suite.addTestSuite(MessageDigestTestSHA1.class); - suite.addTestSuite(MessageDigestTestSHA256.class); - suite.addTestSuite(MessageDigestTestSHA384.class); - suite.addTestSuite(MessageDigestTestSHA512.class); - - suite.addTestSuite(SignatureTestMD2withRSA.class); - - suite.addTestSuite(KeyStoreTestPKCS12.class); - - suite.addTestSuite(SecureRandomTestSHA1PRNG.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/targets/security/cert/AllTests.java b/luni/src/test/java/tests/targets/security/cert/AllTests.java deleted file mode 100644 index c0c411d..0000000 --- a/luni/src/test/java/tests/targets/security/cert/AllTests.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2009 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package tests.targets.security.cert; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - public static Test suite() { - TestSuite suite = new TestSuite("All tests for package tests.targets.security.certs;"); - // $JUnit-BEGIN$ - - suite.addTestSuite(CertificateTest.class); - suite.addTestSuite(CertificateFactoryTestX509.class); - suite.addTestSuite(CertPathBuilderTestPKIX.class); - suite.addTestSuite(CertPathValidatorTestPKIX.class); - - // $JUnit-END$ - return suite; - } -} diff --git a/luni/src/test/java/tests/xml/AllTests.java b/luni/src/test/java/tests/xml/AllTests.java deleted file mode 100644 index 8fd8096..0000000 --- a/luni/src/test/java/tests/xml/AllTests.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package tests.xml; - -import junit.framework.Test; -import junit.framework.TestSuite; - -public class AllTests { - - public static Test suite() { - TestSuite suite = new TestSuite(); - - suite.addTestSuite(DeclarationTest.class); - suite.addTestSuite(DomTest.class); - suite.addTestSuite(SimpleParserTest.class); - suite.addTestSuite(SimpleBuilderTest.class); - suite.addTestSuite(NodeTest.class); - suite.addTestSuite(NormalizeTest.class); - suite.addTestSuite(SaxTest.class); - - //suite.addTest(tests.org.w3c.dom.AllTests.suite()); - suite.addTest(tests.api.javax.xml.parsers.AllTests.suite()); - - suite.addTest(tests.api.org.xml.sax.AllTests.suite()); - // BEGIN android-changed: this is in the dom module! - // suite.addTest(tests.api.org.w3c.dom.AllTests.suite()); - // END android-changed - suite.addTest(tests.org.w3c.dom.AllTests.suite()); - suite.addTest(org.kxml2.io.AllTests.suite()); - - return suite; - } - -} |