/libcore/ojluni/src/test/java/util/Collections/ |
D | EmptyNavigableSet.java | 126 public void testComparatorIsNull(String description, NavigableSet<?> navigableSet) { in testComparatorIsNull() 136 public void testContainsRequiresComparable(String description, NavigableSet<?> navigableSet) { in testContainsRequiresComparable() 139 description + ": Comparable should be required"); in testContainsRequiresComparable() local 146 public void testContains(String description, NavigableSet<?> navigableSet) { in testContains() 148 description + ": Should not contain any elements."); in testContains() local 155 public void testContainsAll(String description, NavigableSet<?> navigableSet) { in testContainsAll() 168 public void testEmptyIterator(String description, NavigableSet<?> navigableSet) { in testEmptyIterator() 176 public void testIsEmpty(String description, NavigableSet<?> navigableSet) { in testIsEmpty() 184 public void testFirst(String description, NavigableSet<?> navigableSet) { in testFirst() 192 public void testHeadSet(String description, NavigableSet navigableSet) { in testHeadSet() [all …]
|
D | EmptyNavigableMap.java | 119 public void testComparatorIsNull(String description, NavigableMap<?,?> navigableMap) { in testComparatorIsNull() 129 public void testContainsRequiresComparable(String description, NavigableMap<?,?> navigableMap) { in testContainsRequiresComparable() 132 description + ": Comparable should be required"); in testContainsRequiresComparable() local 139 public void testContains(String description, NavigableMap<?,?> navigableMap) { in testContains() 141 description + ": Should not contain any elements."); in testContains() local 143 description + ": Should not contain any elements."); in testContains() local 150 public void testContainsAll(String description, NavigableMap<?,?> navigableMap) { in testContainsAll() 163 public void testEmptyIterator(String description, NavigableMap<?,?> navigableMap) { in testEmptyIterator() 173 public void testIsEmpty(String description, NavigableMap<?,?> navigableMap) { in testIsEmpty() 181 public void testHeadMap(String description, NavigableMap navigableMap) { in testHeadMap() [all …]
|
D | EnumerationAsIterator.java | 50 static Object[] of(String description, Supplier<Enumeration<?>> s, Collection<?> exp) { in of() 54 static Object[] of(String description, Collection<?> c, Collection<?> exp) { in of()
|
D | EmptyCollectionSerialization.java | 66 public static void serializableSingletons(String description, Supplier<Object> o) { in serializableSingletons() 69 … assertSame(o.get(), singleton, description + ": broken Supplier not returning singleton"); in serializableSingletons() local
|
D | CheckedMapBash.java | 59 public static void testCheckedMap(String description, Supplier<Map<Integer,Integer>> supplier) { in testCheckedMap() 113 … public static void testCheckedMap2(String description, Supplier<Map<Integer,Integer>> supplier) { in testCheckedMap2()
|
/libcore/ojluni/src/test/java/util/Map/ |
D | Defaults.java | 74 public void testGetOrDefaultNulls(String description, Map<IntegerEnum, String> map) { in testGetOrDefaultNulls() 75 assertTrue(map.containsKey(null), description + ": null key absent"); in testGetOrDefaultNulls() local 76 assertNull(map.get(null), description + ": value not null"); in testGetOrDefaultNulls() local 77 …assertSame(map.get(null), map.getOrDefault(null, EXTRA_VALUE), description + ": values should matc… in testGetOrDefaultNulls() local 81 public void testGetOrDefault(String description, Map<IntegerEnum, String> map) { in testGetOrDefault() 90 public void testPutIfAbsentNulls(String description, Map<IntegerEnum, String> map) { in testPutIfAbsentNulls() 104 assertFalse(map.containsKey(null), description + ": key present after remove"); in testPutIfAbsentNulls() local 114 public void testPutIfAbsent(String description, Map<IntegerEnum, String> map) { in testPutIfAbsent() 131 public void testForEach(String description, Map<IntegerEnum, String> map) { in testForEach() 145 public static void testReplaceAll(String description, Map<IntegerEnum, String> map) { in testReplaceAll() [all …]
|
D | BasicSerialization.java | 123 public void testSerialization(String description, Map<IntegerEnum, String> map) { in testSerialization() 137 assertFalse(map.containsKey(EXTRA_KEY), description + ":unexpected key"); in testSerialization() local 138 assertFalse(clone.containsKey(EXTRA_KEY), description + ":unexpected key"); in testSerialization() local 139 assertFalse(serialClone.containsKey(EXTRA_KEY), description + ":unexpected key"); in testSerialization() local 143 assertTrue(map.containsKey(EXTRA_KEY), description + ":missing key"); in testSerialization() local 144 assertTrue(clone.containsKey(EXTRA_KEY), description + ":missing key"); in testSerialization() local 145 assertTrue(serialClone.containsKey(EXTRA_KEY), description + ":missing key"); in testSerialization() local 146 assertSame(map.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local 147 assertSame(clone.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local 148 assertSame(serialClone.get(EXTRA_KEY), EXTRA_VALUE, description + ":wrong value"); in testSerialization() local
|
/libcore/ojluni/src/test/java/util/BitSet/stream/ |
D | BitSetStreamTest.java | 162 String description = (String)tc[0]; in spliteratorOfIntDataProvider() local 176 …public void testIntNullPointerException(String description, Collection<Integer> exp, Supplier<Spli… in testIntNullPointerException() 182 …public void testIntForEach(String description, Collection<Integer> exp, Supplier<Spliterator.OfInt… in testIntForEach() 187 …public void testIntTryAdvance(String description, Collection<Integer> exp, Supplier<Spliterator.Of… in testIntTryAdvance() 192 …public void testIntMixedTryAdvanceForEach(String description, Collection<Integer> exp, Supplier<Sp… in testIntMixedTryAdvanceForEach() 197 …public void testIntMixedTraverseAndSplit(String description, Collection<Integer> exp, Supplier<Spl… in testIntMixedTraverseAndSplit() 202 …public void testIntSplitAfterFullTraversal(String description, Collection<Integer> exp, Supplier<S… in testIntSplitAfterFullTraversal() 207 …public void testIntSplitOnce(String description, Collection<Integer> exp, Supplier<Spliterator.OfI… in testIntSplitOnce() 212 …public void testIntSplitSixDeep(String description, Collection<Integer> exp, Supplier<Spliterator.… in testIntSplitSixDeep() 217 …public void testIntSplitUntilNull(String description, Collection<Integer> exp, Supplier<Spliterato… in testIntSplitUntilNull()
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | VerifyStackTrace.java | 57 String description(); in description() method 63 private final String description = "StackWalker.getInstance(" + field in VerifyStackTrace.TestCase1 97 @Override public String description() { return description;} in description() method in VerifyStackTrace.TestCase1 104 private final String description = "nStackWalker.getInstance(" + field in VerifyStackTrace.TestCase2 144 @Override public String description() { return description;} in description() method in VerifyStackTrace.TestCase2 151 private final String description = "StackWalker.getInstance(" + field in VerifyStackTrace.TestCase3 195 @Override public String description() { return description;} in description() method in VerifyStackTrace.TestCase3 203 private final String description = "StackWalker.getInstance(" + field in VerifyStackTrace.TestCase4 209 @Override public String description() {return description;} in description() method in VerifyStackTrace.TestCase4
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/ |
D | SpliteratorOfIntDataBuilder.java | 39 public void add(String description, List<Integer> expected, Supplier<Spliterator.OfInt> s) { in add() 44 public void add(String description, Supplier<Spliterator.OfInt> s) { in add() 48 StringBuilder joiner(String description) { in joiner()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | StreamTestDataProvider.java | 169 static <T> Object[] arrayDataDescr(String description, T[] data) { in arrayDataDescr() 173 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr() 177 static <T> Object[] collectionDataDescr(String description, Collection<T> data) { in collectionDataDescr() 181 static <T> Object[] sbDataDescr(String description, SpinedBuffer<T> data) { in sbDataDescr() 185 static <T> Object[] splitDescr(String description, Supplier<Spliterator<T>> ss) { in splitDescr()
|
D | LongStreamTestDataProvider.java | 139 static <T> Object[] streamDataDescr(String description, Supplier<LongStream> s) { in streamDataDescr() 143 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfLong> s) { in splitDescr()
|
D | IntStreamTestDataProvider.java | 139 static <T> Object[] streamDataDescr(String description, Supplier<IntStream> s) { in streamDataDescr() 143 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfInt> s) { in splitDescr()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | StreamTestDataProvider.java | 175 static <T> Object[] arrayDataDescr(String description, T[] data) { in arrayDataDescr() 179 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr() 183 static <T> Object[] collectionDataDescr(String description, Collection<T> data) { in collectionDataDescr() 187 static <T> Object[] sbDataDescr(String description, SpinedBuffer<T> data) { in sbDataDescr() 191 static <T> Object[] splitDescr(String description, Supplier<Spliterator<T>> ss) { in splitDescr()
|
D | IntStreamTestDataProvider.java | 143 static <T> Object[] streamDataDescr(String description, Supplier<IntStream> s) { in streamDataDescr() 147 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfInt> s) { in splitDescr()
|
D | LongStreamTestDataProvider.java | 143 static <T> Object[] streamDataDescr(String description, Supplier<LongStream> s) { in streamDataDescr() 147 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfLong> s) { in splitDescr()
|
/libcore/ojluni/src/test/java/util/regex/ |
D | PatternStreamTest.java | 67 String description = "All matches"; in makeStreamTestData() local 141 public void testPatternSplitAsStream(String description, String input, Pattern pattern) { in testPatternSplitAsStream() 161 public void testReplaceFirst(String description, String input, Pattern pattern) { in testReplaceFirst() 169 public void testReplaceAll(String description, String input, Pattern pattern) { in testReplaceAll() 187 public void testMatchResults(String description, String input, Pattern pattern) { in testMatchResults()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | GregorianCalendarTest.java | 340 String description; in checkDstLosAngeles2014() local 394 private void checkMillis(Calendar cal, String description, long expectedMillis) { in checkMillis() 398 private void checkOutsideDst(Calendar cal, String description) { in checkOutsideDst() 403 private void checkOutsideDst(Calendar cal, String description, int expectedZoneOffset) { in checkOutsideDst() 407 private void checkInsideDst(Calendar cal, String description) { in checkInsideDst() 412 …private void checkDstFields(Calendar cal, String description, int expectedZoneOffset, int expected… in checkDstFields()
|
/libcore/benchmarks/src/benchmarks/ |
D | ImtConflictBenchmarkGen.py | 44 description = """ variable
|
/libcore/dalvik/src/test/java/libcore/dalvik/system/ |
D | CloseGuardTest.java | 37 private Statement preserveEnabledState(final Statement base, Description description) { in preserveEnabledState()
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | EnableDeprecatedBouncyCastleAlgorithmsRule.java | 55 public Statement apply(final Statement statement, Description description) { in apply()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverPropertyInfo.java | 60 public String description = null; field in DriverPropertyInfo
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 99 public Statement apply(Statement base, Description description) { in apply()
|
/libcore/test-rules/src/main/java/libcore/junit/junit3/ |
D | TestCaseWithRules.java | 93 Description description = in runBare() local
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldDriverPropertyInfoTest.java | 63 String description = info[0].description; in testPublicFields() local
|