Home
last modified time | relevance | path

Searched refs:checkEmpty (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/CharSequence/
H A DEmptiness.java41 checkEmpty(new StringBuilder()); in isEmpty()
42 checkEmpty(new StringBuffer()); in isEmpty()
43 checkEmpty(""); in isEmpty()
44 checkEmpty(new CharSequence() { in isEmpty()
51 checkEmpty(CharBuffer.wrap(new char[0])); in isEmpty()
52 checkEmpty(CharBuffer.wrap("")); in isEmpty()
56 checkEmpty(ByteBuffer.allocate(0).asCharBuffer()); in isEmpty()
57 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().append('f')); in isEmpty()
58 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().flip()); in isEmpty()
60 checkEmpty(ByteBuffer.allocateDirect(0).asCharBuffer()); in isEmpty()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/lang/CharSequence/
H A DEmptiness.java41 checkEmpty(new StringBuilder()); in isEmpty()
42 checkEmpty(new StringBuffer()); in isEmpty()
43 checkEmpty(""); in isEmpty()
44 checkEmpty(new CharSequence() { in isEmpty()
51 checkEmpty(CharBuffer.wrap(new char[0])); in isEmpty()
52 checkEmpty(CharBuffer.wrap("")); in isEmpty()
56 checkEmpty(ByteBuffer.allocate(0).asCharBuffer()); in isEmpty()
57 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().append('f')); in isEmpty()
58 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().flip()); in isEmpty()
60 checkEmpty(ByteBuffer.allocateDirect(0).asCharBuffer()); in isEmpty()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/lang/CharSequence/
H A DEmptiness.java41 checkEmpty(new StringBuilder()); in isEmpty()
42 checkEmpty(new StringBuffer()); in isEmpty()
43 checkEmpty(""); in isEmpty()
44 checkEmpty(new CharSequence() { in isEmpty()
51 checkEmpty(CharBuffer.wrap(new char[0])); in isEmpty()
52 checkEmpty(CharBuffer.wrap("")); in isEmpty()
56 checkEmpty(ByteBuffer.allocate(0).asCharBuffer()); in isEmpty()
57 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().append('f')); in isEmpty()
58 checkEmpty(ByteBuffer.allocate(2).asCharBuffer().flip()); in isEmpty()
60 checkEmpty(ByteBuffer.allocateDirect(0).asCharBuffer()); in isEmpty()
[all …]
/dports/math/jts/jts-jts-1.18.1/modules/core/src/test/java/org/locationtech/jts/geom/
H A DGeometryFactoryTest.java54 checkEmpty( geometryFactory.createEmpty(0), Point.class); in testCreateEmpty()
55 checkEmpty( geometryFactory.createEmpty(1), LineString.class); in testCreateEmpty()
56 checkEmpty( geometryFactory.createEmpty(2), Polygon.class); in testCreateEmpty()
58 checkEmpty( geometryFactory.createPoint(), Point.class); in testCreateEmpty()
59 checkEmpty( geometryFactory.createLineString(), LineString.class); in testCreateEmpty()
60 checkEmpty( geometryFactory.createPolygon(), Polygon.class); in testCreateEmpty()
62 checkEmpty( geometryFactory.createMultiPoint(), MultiPoint.class); in testCreateEmpty()
63 checkEmpty( geometryFactory.createMultiLineString(), MultiLineString.class); in testCreateEmpty()
64 checkEmpty( geometryFactory.createMultiPolygon(), MultiPolygon.class); in testCreateEmpty()
65 checkEmpty( geometryFactory.createGeometryCollection(), GeometryCollection.class); in testCreateEmpty()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/util/Optional/
H A DBasic.java47 void checkEmpty(Optional<String> empty) { in checkEmpty() method in Basic
115 checkEmpty(Optional.empty()); in testEmpty()
130 checkEmpty(Optional.ofNullable(null)); in testOfNullableNull()
140 checkEmpty(Optional.<String>empty().filter(s -> { fail(); return true; })); in testFilterEmpty()
145 checkEmpty(Optional.of("xyzzy").filter(s -> s.equals("plugh"))); in testFilterFalse()
155 checkEmpty(Optional.empty().map(s -> { fail(); return ""; })); in testMapEmpty()
165 checkEmpty(Optional.empty().flatMap(s -> { fail(); return Optional.of(""); })); in testFlatMapEmpty()
170 checkEmpty(Optional.of("xyzzy") in testFlatMapPresentReturnEmpty()
183 checkEmpty(Optional.<String>empty().or(() -> Optional.empty())); in testOrEmptyEmpty()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/javax/management/descriptor/
H A DUnionTest.java47 checkEmpty(union()); in main()
48 checkEmpty(union(immutableEmpty)); in main()
49 checkEmpty(union(mutableEmpty)); in main()
50 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
51 checkEmpty(union(null, immutableEmpty, null)); in main()
89 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/javax/management/descriptor/
H A DUnionTest.java46 checkEmpty(union()); in main()
47 checkEmpty(union(immutableEmpty)); in main()
48 checkEmpty(union(mutableEmpty)); in main()
49 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
50 checkEmpty(union(null, immutableEmpty, null)); in main()
88 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/javax/management/descriptor/
H A DUnionTest.java46 checkEmpty(union()); in main()
47 checkEmpty(union(immutableEmpty)); in main()
48 checkEmpty(union(mutableEmpty)); in main()
49 checkEmpty(union(EMPTY_DESCRIPTOR, immutableEmpty, mutableEmpty)); in main()
50 checkEmpty(union(null, immutableEmpty, null)); in main()
88 private static void checkEmpty(ImmutableDescriptor d) { in checkEmpty() method in UnionTest
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/util/concurrent/tck/
H A DLinkedTransferQueueTest.java271 checkEmpty(q); in testPoll()
283 checkEmpty(q); in testTimedPoll0()
299 checkEmpty(q); in testTimedPoll()
336 checkEmpty(q); in testInterruptedTimedPoll()
360 checkEmpty(q); in testTimedPollAfterInterrupt()
375 checkEmpty(q); in testPeek()
391 checkEmpty(q); in testElement()
406 checkEmpty(q); in testRemove()
440 checkEmpty(q); in testClear()
447 checkEmpty(q); in testClear()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/util/concurrent/tck/
H A DLinkedTransferQueueTest.java271 checkEmpty(q); in testPoll()
283 checkEmpty(q); in testTimedPoll0()
299 checkEmpty(q); in testTimedPoll()
336 checkEmpty(q); in testInterruptedTimedPoll()
360 checkEmpty(q); in testTimedPollAfterInterrupt()
375 checkEmpty(q); in testPeek()
391 checkEmpty(q); in testElement()
406 checkEmpty(q); in testRemove()
440 checkEmpty(q); in testClear()
447 checkEmpty(q); in testClear()
[all …]
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/util/concurrent/tck/
H A DLinkedTransferQueueTest.java271 checkEmpty(q); in testPoll()
283 checkEmpty(q); in testTimedPoll0()
299 checkEmpty(q); in testTimedPoll()
336 checkEmpty(q); in testInterruptedTimedPoll()
360 checkEmpty(q); in testTimedPollAfterInterrupt()
375 checkEmpty(q); in testPeek()
391 checkEmpty(q); in testElement()
406 checkEmpty(q); in testRemove()
440 checkEmpty(q); in testClear()
447 checkEmpty(q); in testClear()
[all …]

12345678910>>...24