- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 504 for Absent (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/features/SetFeature.java
return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { SetFeature[] value() default {}; SetFeature[] absent() default {}; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { CollectionFeature[] value() default {}; CollectionFeature[] absent() default {}; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java
/* * We're not really testing the implementation of Stream, only that we're getting a Stream * that corresponds to the expected elements. */ @CollectionFeature.Require(absent = KNOWN_ORDER) public void testStreamToArrayUnknownOrder() { Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray())); } @CollectionFeature.Require(KNOWN_ORDER)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
@CollectionSize.Require(ZERO) public void testIsEmpty_yes() { assertTrue("isEmpty() should return true", getMap().isEmpty()); } @CollectionSize.Require(absent = ZERO) public void testIsEmpty_no() { assertFalse("isEmpty() should return false", getMap().isEmpty()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
return implied; } @Retention(RetentionPolicy.RUNTIME) @Inherited @TesterAnnotation public @interface Require { MultimapFeature[] value() default {}; MultimapFeature[] absent() default {}; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetRemoveTester<E> extends AbstractSetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class SetRemoveTester<E> extends AbstractSetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemove_present() { getSet().remove(e0()); assertFalse( "After remove(present) a set should not contain the removed element.", getSet().contains(e0())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java
assertGet(key, expectedValues); assertEquals(value, values.get(values.size() - 1)); } } } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutDuplicateValue() { List<Entry<K, V>> entries = copyToList(multimap().entries()); for (Entry<K, V> entry : entries) { resetContainer(); K k = entry.getKey();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
@DisplayName("Unknown DOS error code yields empty Optional") void testUnknownCode() { Optional<Integer> noMatch = findNtStatus(0xdeadbeef); assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent"); } @Test @DisplayName("Mocked consumer receives correct NTSTATUS value") void testConsumerInteraction() { final int dosErr = 0x00010001; final int expectedNt = 0xc0000002;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
public void testPollFirst() { assertEquals(a, navigableSet.pollFirst()); assertEquals(values.subList(1, values.size()), copyToList(navigableSet)); } @CollectionFeature.Require(absent = SUPPORTS_REMOVE) public void testPollFirstUnsupported() { assertThrows(UnsupportedOperationException.class, () -> navigableSet.pollFirst()); } @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0)