/libcore/ojluni/src/test/java/util/Collection/testlibrary/ |
D | CollectionSupplier.java | 48 …lier<C extends Collection<Integer>> implements Supplier<Iterable<CollectionSupplier.TestCase<C>>> { 56 public static final class TestCase<C extends Collection<Integer>> { class in CollectionSupplier 83 public TestCase(String name, Function<Collection<Integer>, C> supplier, C collection) { in TestCase() method in CollectionSupplier.TestCase 130 public Iterable<TestCase<C>> get() { in get() 131 final Collection<TestCase<C>> cases = new LinkedList<>(); in get() 134 … cases.add(new TestCase<>("empty", supplier, supplier.apply(Collections.emptyList()))); in get() 136 cases.add(new TestCase<>("single", supplier, supplier.apply(Arrays.asList(42)))); in get() 142 cases.add(new TestCase<>("regular", supplier, supplier.apply(regular))); in get() 148 cases.add(new TestCase<>("reverse", supplier, supplier.apply(reverse))); in get() 154 cases.add(new TestCase<>("odds", supplier, supplier.apply(odds))); in get() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericReflectionTestsBase.java | 22 import junit.framework.TestCase; 24 public class GenericReflectionTestsBase extends TestCase{ 58 TestCase.assertEquals("Array does NOT contain exactly one element.", 1, array.length); in assertLenghtOne() 62 TestCase.assertEquals("Array has more than zero elements.", 0, array.length); in assertLenghtZero() 66 …TestCase.assertTrue(actual.getClass().getName() + " is not instance of :" + expectedClass.getName(… in assertInstanceOf() 71 …TestCase.assertFalse(actual.toString() + " has not to be equal to " + expected.toString(), expecte… in assertNotEquals()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | AssertionErrorTest.java | 19 import junit.framework.TestCase; 21 public final class AssertionErrorTest extends TestCase {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassFormatErrorTest.java | 19 import junit.framework.TestCase; 21 public class ClassFormatErrorTest extends TestCase {
|
D | ClassCircularityErrorTest.java | 19 import junit.framework.TestCase; 21 public class ClassCircularityErrorTest extends TestCase {
|
D | UnsupportedClassVersionErrorTest.java | 19 import junit.framework.TestCase; 21 public class UnsupportedClassVersionErrorTest extends TestCase {
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | SneakyThrowTest.java | 19 import junit.framework.TestCase; 26 public class SneakyThrowTest extends TestCase {
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldFormatFieldTest.java | 21 import junit.framework.TestCase; 23 public class OldFormatFieldTest extends TestCase {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | AttributesNameTest.java | 22 import junit.framework.TestCase; 24 public class AttributesNameTest extends TestCase {
|
/libcore/luni/src/test/java/tests/security/acl/ |
D | AclNotFoundExceptionTest.java | 25 import junit.framework.TestCase; 33 public class AclNotFoundExceptionTest extends TestCase {
|
D | LastOwnerException2Test.java | 20 import junit.framework.TestCase; 24 public class LastOwnerException2Test extends TestCase {
|
D | LastOwnerExceptionTest.java | 25 import junit.framework.TestCase; 33 public class LastOwnerExceptionTest extends TestCase {
|
D | NotOwnerException2Test.java | 20 import junit.framework.TestCase; 24 public class NotOwnerException2Test extends TestCase {
|
D | NotOwnerExceptionTest.java | 25 import junit.framework.TestCase; 33 public class NotOwnerExceptionTest extends TestCase {
|
D | AclNotFoundException2Test.java | 20 import junit.framework.TestCase; 24 public class AclNotFoundException2Test extends TestCase {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InterruptedIOExceptionTest.java | 22 import junit.framework.TestCase; 24 public class InterruptedIOExceptionTest extends TestCase {
|
D | ObjectStreamConstantsTest.java | 21 import junit.framework.TestCase; 23 public class ObjectStreamConstantsTest extends TestCase {
|
/libcore/luni/src/test/java/libcore/sun/security/pkcs/ |
D | PKCS9AttributeTest.java | 19 import junit.framework.TestCase; 24 public class PKCS9AttributeTest extends TestCase {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormattableFlagsTest.java | 19 import junit.framework.TestCase; 21 public class FormattableFlagsTest extends TestCase {
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldSimpleFormatterTest.java | 21 import junit.framework.TestCase; 23 public class OldSimpleFormatterTest extends TestCase {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherDESedeWrapTest.java | 18 import junit.framework.TestCase; 20 public class CipherDESedeWrapTest extends TestCase {
|
D | SecretKeyFactoryFunctionalTest.java | 18 import junit.framework.TestCase; 20 public class SecretKeyFactoryFunctionalTest extends TestCase {
|
D | KeyAgreementFunctionalTest.java | 18 import junit.framework.TestCase; 20 public class KeyAgreementFunctionalTest extends TestCase {
|
D | KeyGeneratorFunctionalTest.java | 18 import junit.framework.TestCase; 20 public class KeyGeneratorFunctionalTest extends TestCase {
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | OldZipExceptionTest.java | 19 import junit.framework.TestCase; 23 public class OldZipExceptionTest extends TestCase {
|