- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for YES (0.15 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> { @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());
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
/** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */ protected abstract String getMethodName(); @CollectionSize.Require(absent = ZERO) public void testFind_yes() { assertEquals( getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 20 11:19:03 GMT 2023 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
* a bucket in another map. */ boolean isReusable() { return true; } static class NonTerminalImmutableMapEntry<K, V> extends ImmutableMapEntry<K, V> { /* * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void test_contains_null_set_yes() { Iterable<@Nullable String> set = Sets.newHashSet("a", null, "b"); assertTrue(Iterables.contains(set, null)); } public void test_contains_null_set_no() { Iterable<String> set = Sets.newHashSet("a", "b"); assertFalse(Iterables.contains(set, null)); } public void test_contains_null_iterable_yes() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapGetTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testGet_yes() { assertEquals("get(present) should return the associated value", v0(), get(k0())); } public void testGet_no() { assertNull("get(notPresent) should return null", get(k3())); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java
@Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapContainsKeyTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("containsKey(present) should return true", getMap().containsKey(k0())); } public void testContains_no() { assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
@Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapContainsValueTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java
@GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. public class MapGetTester<K, V> extends AbstractMapTester<K, V> { @CollectionSize.Require(absent = ZERO) public void testGet_yes() { assertEquals("get(present) should return the associated value", v0(), get(k0())); } public void testGet_no() { assertNull("get(notPresent) should return null", get(k3())); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
List<Sink> sinks = Lists.newArrayList(); for (int chunkSize = 4; chunkSize <= 32; chunkSize++) { for (int bufferSize = chunkSize; bufferSize <= chunkSize * 4; bufferSize += chunkSize) { // yes, that's a lot of sinks! sinks.add(new Sink(chunkSize, bufferSize)); // For convenience, testing only with big endianness, to match DataOutputStream.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java
/** Override to return "indexOf" or "lastIndexOf()" for use in failure messages. */ protected abstract String getMethodName(); @CollectionSize.Require(absent = ZERO) public void testFind_yes() { assertEquals( getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0))); } public void testFind_no() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 20 11:19:03 GMT 2023 - 3.2K bytes - Viewed (0)