Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 66) sorted by relevance

123

/libcore/ojluni/src/test/java/util/Collections/
DEmptyNavigableSet.java126 public void testComparatorIsNull(String description, NavigableSet<?> navigableSet) { in testComparatorIsNull() argument
129 …assertTrue(comparator == null || comparator == Collections.reverseOrder(), description + ": Compar… in testComparatorIsNull()
136 public void testContainsRequiresComparable(String description, NavigableSet<?> navigableSet) { in testContainsRequiresComparable() argument
139 description + ": Comparable should be required"); in testContainsRequiresComparable() local
146 public void testContains(String description, NavigableSet<?> navigableSet) { in testContains() argument
148 description + ": Should not contain any elements."); in testContains() local
155 public void testContainsAll(String description, NavigableSet<?> navigableSet) { in testContainsAll() argument
168 public void testEmptyIterator(String description, NavigableSet<?> navigableSet) { in testEmptyIterator() argument
176 public void testIsEmpty(String description, NavigableSet<?> navigableSet) { in testIsEmpty() argument
184 public void testFirst(String description, NavigableSet<?> navigableSet) { in testFirst() argument
[all …]
DEmptyNavigableMap.java119 public void testComparatorIsNull(String description, NavigableMap<?,?> navigableMap) { in testComparatorIsNull() argument
122 …assertTrue(comparator == null || comparator == Collections.reverseOrder(), description + ": Compar… in testComparatorIsNull()
129 public void testContainsRequiresComparable(String description, NavigableMap<?,?> navigableMap) { in testContainsRequiresComparable() argument
132 description + ": Comparable should be required"); in testContainsRequiresComparable() local
139 public void testContains(String description, NavigableMap<?,?> navigableMap) { in testContains() argument
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() argument
163 public void testEmptyIterator(String description, NavigableMap<?,?> navigableMap) { in testEmptyIterator() argument
173 public void testIsEmpty(String description, NavigableMap<?,?> navigableMap) { in testIsEmpty() argument
[all …]
DEnumerationAsIterator.java50 static Object[] of(String description, Supplier<Enumeration<?>> s, Collection<?> exp) { in of() argument
51 return new Object[]{description, s, exp}; in of()
54 static Object[] of(String description, Collection<?> c, Collection<?> exp) { in of() argument
55 return of(description, () -> Collections.enumeration(c), exp); in of()
128 public void consumeByNext(String description, Supplier<Enumeration<?>> s, Collection<?> exp) {
149 public void consumeByForEachRemaining(String description,
169 public void consumeByNextThenForEachRemaining(String description,
193 public void contents(String description, Supplier<Enumeration<?>> s, Collection<?> exp) {
205 public void removeThrowsAfterAdvancingE(String description,
215 public void removeThrowsAfterAdvancingI(String description,
DEmptyCollectionSerialization.java66 public static void serializableSingletons(String description, Supplier<Object> o) { in serializableSingletons() argument
69 … assertSame(o.get(), singleton, description + ": broken Supplier not returning singleton"); in serializableSingletons() local
71 assertSame(copy, singleton, description + ": " + in serializableSingletons()
76 fail(description + ": Unexpected Exception", all); in serializableSingletons()
/libcore/ojluni/src/test/java/util/regex/
DPatternStreamTest.java67 String description = "All matches"; in makeStreamTestData() local
70 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
72 description = "Bounded every other match"; in makeStreamTestData()
75 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
77 description = "Every other match"; in makeStreamTestData()
80 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
82 description = ""; in makeStreamTestData()
85 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
89 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
93 data.add(new Object[]{description, input, pattern}); in makeStreamTestData()
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorOfIntDataBuilder.java39 public void add(String description, List<Integer> expected, Supplier<Spliterator.OfInt> s) { in add() argument
40 description = joiner(description).toString(); in add()
41 data.add(new Object[]{description, expected, s}); in add()
44 public void add(String description, Supplier<Spliterator.OfInt> s) { in add() argument
45 add(description, exp, s); in add()
48 StringBuilder joiner(String description) { in joiner() argument
49 return new StringBuilder(description). in joiner()
/libcore/ojluni/src/test/java/util/Map/
DBasicSerialization.java123 public void testSerialization(String description, Map<IntegerEnum, String> map) { in testSerialization() argument
129 assertEquals(map, map, description + ":should equal self"); in testSerialization()
130 assertEquals(clone, map, description + ":should equal clone"); in testSerialization()
131 assertEquals(map, clone, description + ": should equal original map"); in testSerialization()
132 assertEquals(serialClone, map, description + ": should equal deserialized clone"); in testSerialization()
133 assertEquals(map, serialClone, description + ": should equal original map"); in testSerialization()
134 assertEquals(serialClone, clone, description + ": deserialized clone should equal clone"); in testSerialization()
135 assertEquals(clone, serialClone, description + ": clone should equal deserialized clone"); 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
[all …]
DDefaults.java74 public void testGetOrDefaultNulls(String description, Map<IntegerEnum, String> map) { in testGetOrDefaultNulls() argument
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() argument
90 public void testPutIfAbsentNulls(String description, Map<IntegerEnum, String> map) { in testPutIfAbsentNulls() argument
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() argument
131 public void testForEach(String description, Map<IntegerEnum, String> map) { in testForEach() argument
141 assertEquals(KEYS, EACH_KEY, description); in testForEach()
[all …]
/libcore/ojluni/src/test/java/lang/StackWalker/
DVerifyStackTrace.java57 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
295 System.out.println("\nTesting: " + test.description()); in test()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java340 String description; in checkDstLosAngeles2014() local
343 description = "01:59:59 - March 9th 2014"; in checkDstLosAngeles2014()
345 checkMillis(cal, description, 1394359199000L); in checkDstLosAngeles2014()
348 checkOutsideDst(cal, description); in checkDstLosAngeles2014()
352 description = "02:00:00 - March 9th 2014"; in checkDstLosAngeles2014()
361 checkMillis(cal, description, 1394359200000L); in checkDstLosAngeles2014()
364 checkInsideDst(cal, description); in checkDstLosAngeles2014()
368 description = "03:00:00 - March 9th 2014"; in checkDstLosAngeles2014()
370 checkMillis(cal, description, 1394359200000L); in checkDstLosAngeles2014()
373 checkInsideDst(cal, description); in checkDstLosAngeles2014()
[all …]
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStreamTestDataProvider.java169 static <T> Object[] arrayDataDescr(String description, T[] data) { in arrayDataDescr() argument
170 return new Object[] { description, TestData.Factory.ofArray(description, data)}; in arrayDataDescr()
173 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr() argument
174 return new Object[] { description, TestData.Factory.ofSupplier(description, supplier)}; in streamDataDescr()
177 static <T> Object[] collectionDataDescr(String description, Collection<T> data) { in collectionDataDescr() argument
178 return new Object[] { description, TestData.Factory.ofCollection(description, data)}; in collectionDataDescr()
181 static <T> Object[] sbDataDescr(String description, SpinedBuffer<T> data) { in sbDataDescr() argument
182 return new Object[] { description, TestData.Factory.ofSpinedBuffer(description, data)}; in sbDataDescr()
185 static <T> Object[] splitDescr(String description, Supplier<Spliterator<T>> ss) { in splitDescr() argument
186 return new Object[] { description, ss }; in splitDescr()
DLongStreamTestDataProvider.java139 static <T> Object[] streamDataDescr(String description, Supplier<LongStream> s) { in streamDataDescr() argument
140 return new Object[] { description, TestData.Factory.ofLongSupplier(description, s) }; in streamDataDescr()
143 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfLong> s) { in splitDescr() argument
144 return new Object[] { description, s }; in splitDescr()
DIntStreamTestDataProvider.java139 static <T> Object[] streamDataDescr(String description, Supplier<IntStream> s) { in streamDataDescr() argument
140 return new Object[] { description, TestData.Factory.ofIntSupplier(description, s) }; in streamDataDescr()
143 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfInt> s) { in splitDescr() argument
144 return new Object[] { description, s }; in splitDescr()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DStreamTestDataProvider.java175 static <T> Object[] arrayDataDescr(String description, T[] data) { in arrayDataDescr() argument
176 return new Object[] { description, TestData.Factory.ofArray(description, data)}; in arrayDataDescr()
179 static <T> Object[] streamDataDescr(String description, Supplier<Stream<T>> supplier) { in streamDataDescr() argument
180 return new Object[] { description, TestData.Factory.ofSupplier(description, supplier)}; in streamDataDescr()
183 static <T> Object[] collectionDataDescr(String description, Collection<T> data) { in collectionDataDescr() argument
184 return new Object[] { description, TestData.Factory.ofCollection(description, data)}; in collectionDataDescr()
187 static <T> Object[] sbDataDescr(String description, SpinedBuffer<T> data) { in sbDataDescr() argument
188 return new Object[] { description, TestData.Factory.ofSpinedBuffer(description, data)}; in sbDataDescr()
191 static <T> Object[] splitDescr(String description, Supplier<Spliterator<T>> ss) { in splitDescr() argument
192 return new Object[] { description, ss }; in splitDescr()
DIntStreamTestDataProvider.java143 static <T> Object[] streamDataDescr(String description, Supplier<IntStream> s) { in streamDataDescr() argument
144 return new Object[] { description, TestData.Factory.ofIntSupplier(description, s) }; in streamDataDescr()
147 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfInt> s) { in splitDescr() argument
148 return new Object[] { description, s }; in splitDescr()
DLongStreamTestDataProvider.java143 static <T> Object[] streamDataDescr(String description, Supplier<LongStream> s) { in streamDataDescr() argument
144 return new Object[] { description, TestData.Factory.ofLongSupplier(description, s) }; in streamDataDescr()
147 static <T> Object[] splitDescr(String description, Supplier<Spliterator.OfLong> s) { in splitDescr() argument
148 return new Object[] { description, s }; in splitDescr()
/libcore/expectations/
DskippedCtsTest.txt7 "description": "Algorithm might not be available in the future",
13 "description": "No guarantees are provided around available implementations",
19 "description": "Test for internal APIs.",
27 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
34 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
41 "description": "Test for internal APIs.",
49 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
57 …"description": "The test depends on locale, but manufacturers \/ CLDR improves the locale data ove…
65 "description": "Test for internal APIs.",
75 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
[all …]
Dknownfailures.txt7 description: "large tests",
47description: "can't compile a pattern with negative look-behind and quantifiers with upper bounds",
53 description: "Package.getPackages(), ClassLoader.getPackages() both omit results",
58 description: "KeyAgreementFunctionalTest times out even with an absurdly long timeout",
63 description: "ICU seems to treat unknown and invalid locales differently",
68 description: "DecimalFormat is limited to 127 digits",
73 description: "HTTPS connections should not be pooled.",
78 description: "We fake support for these by substituting similar (but not identical) charsets",
92description: "It's not allowed to pass null as parent class loader to a new ClassLoader anymore. M…
98 description: "Android throws IllegalArgumentException, RI throws NullPointerException",
[all …]
DskippedCtsTest_manual_base.txt12 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
17 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
22 "description": "The test was removed and its no longer throws CME",
27 "description": "SharedSecrets class is at different location in newer ART versions",
32 "description": "Test for internal APIs.",
37 "description": "Test for internal APIs.",
42 …"description": "The test asserts buggy or non-breaking behaviors, but the behavior has been fixed …
47 "description": "Test for internal APIs.",
Dvirtualdeviceknownfailures.txt15 description: "IPv6 connectivity not yet supported in virtual device testing infra",
21description: "Virtual devices do not implement the SELinux policy (forbid hard link) asserted by t…
26 description: "multicast not supported in virtual device testing infra",
36 description: "DNS lookups of {1.2.3.4.} do not reliably fail on GCE networks",
41 description: "Kernels between 4.4 and 4.9 interpret the backlog parameter differently than we
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DInfiniteStreamWithLimitOpTest.java183 public void testSubsizedWithRange(String description, UnaryOperator<Stream<Long>> fs) {
194 public void testIntSubsizedWithRange(String description, UnaryOperator<IntStream> fs) {
205 public void testLongSubsizedWithRange(String description, UnaryOperator<LongStream> fs) {
216 public void testDoubleSubsizedWithRange(String description, UnaryOperator<DoubleStream> fs) {
230 public void testUnorderedFinite(String description, UnaryOperator<Stream<Long>> fs) {
241 public void testIntUnorderedFinite(String description, UnaryOperator<IntStream> fs) {
252 public void testLongUnorderedFinite(String description, UnaryOperator<LongStream> fs) {
263 public void testDoubleUnorderedFinite(String description, UnaryOperator<DoubleStream> fs) {
310 …public void testUnorderedSizedNotSubsizedFinite(String description, UnaryOperator<Stream<Long>> fs…
322 …public void testIntUnorderedSizedNotSubsizedFinite(String description, UnaryOperator<IntStream> fs…
[all …]
/libcore/ojluni/src/test/java/util/BitSet/stream/
DBitSetStreamTest.java162 String description = (String)tc[0]; in spliteratorOfIntDataProvider() local
167 db.add("BitSet.stream.spliterator() {" + description + "}", () -> in spliteratorOfIntDataProvider()
176 …public void testIntNullPointerException(String description, Collection<Integer> exp, Supplier<Spli… in testIntNullPointerException() argument
182 …public void testIntForEach(String description, Collection<Integer> exp, Supplier<Spliterator.OfInt… in testIntForEach() argument
187 …public void testIntTryAdvance(String description, Collection<Integer> exp, Supplier<Spliterator.Of… in testIntTryAdvance() argument
192 …public void testIntMixedTryAdvanceForEach(String description, Collection<Integer> exp, Supplier<Sp… in testIntMixedTryAdvanceForEach() argument
197 …public void testIntMixedTraverseAndSplit(String description, Collection<Integer> exp, Supplier<Spl… in testIntMixedTraverseAndSplit() argument
202 …public void testIntSplitAfterFullTraversal(String description, Collection<Integer> exp, Supplier<S… in testIntSplitAfterFullTraversal() argument
207 …public void testIntSplitOnce(String description, Collection<Integer> exp, Supplier<Spliterator.OfI… in testIntSplitOnce() argument
212 …public void testIntSplitSixDeep(String description, Collection<Integer> exp, Supplier<Spliterator.… in testIntSplitSixDeep() argument
[all …]
/libcore/tools/non-cts-json-generator/src/libcore/tools/generator/noncts/
DMain.java60 @Parameter(names = "-h", help = true, description = "Shows this help message")
63 @Parameter(converter = FileConverter.class, description = "list of jar files")
275 String description = cluster.key.description; in write() local
276 if (description == null) { in write()
277 description = ""; in write()
280 jsonWriter.value(description); in write()
302 public record NonCtsEntry(String name, long bug, String description) {} in NonCtsEntry() argument
309 public record Key(long bug, String description) implements Comparable<Key> {
312 .thenComparing(Key::description);
314 this(entry.bug, entry.description); in Key()
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
DMain.java59 @Parameter(names = "-h", help = true, description = "Shows this help message")
68 @Parameter(names = {"-cp", "--classpath"}, description = "file path to a .jmod or .jar file"
73 description = "<class>. The fully qualified name of the class in the classpath. "
78 @Parameter(names = "-h", help = true, description = "Shows this help message")
103 @Parameter(names = {"-b", "--base"}, description = "file path to a .jmod or .jar file or "
107 @Parameter(names = {"-n", "--new"}, description = "file path to a .jmod or .jar file or "
112 description = "<class>. The fully qualified name of the class in the classpath. "
117 @Parameter(names = "-h", help = true, description = "Shows this help message")
343 @Parameter(names = {"-cp"}, description = "file path to a .jmod or .jar file or "
350 @Parameter(names = {"-x", "--exclude-deps-in-classpath"}, description = "a file path to a "
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DOldDriverPropertyInfoTest.java63 String description = info[0].description; in testPublicFields() local
64 assertNull(description); in testPublicFields()

123