- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 281 for assertFalse (0.14 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java
} @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_supportedPresentKeyWrongValue() { assertFalse(getMap().remove(k0(), v3())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_REMOVE) public void testRemove_supportedWrongKeyPresentValue() { assertFalse(getMap().remove(k3(), v0())); expectUnchanged(); } @MapFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
void testIsSnapshot() { assertFalse(ArtifactUtils.isSnapshot(null)); assertFalse(ArtifactUtils.isSnapshot("")); assertFalse(ArtifactUtils.isSnapshot("1.2.3")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-SNAPSHOT")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-snapshot")); assertTrue(ArtifactUtils.isSnapshot("1.2.3-20090413.094722-2"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java
AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter())); assertFalse(filter1.equals(null)); assertTrue(filter1.equals(filter1)); assertEquals(filter1.hashCode(), filter1.hashCode()); assertFalse(filter1.equals(filter2)); assertFalse(filter2.equals(filter1)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertTrue(MoreFiles.isDirectory().apply(symlinkToDir)); assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir)); assertFalse(MoreFiles.isDirectory().apply(symlinkToFile)); assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile)); assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir)); assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} protected void expectMissingKeys(K... elements) { for (K element : elements) { assertFalse("Should not contain key " + element, getMap().containsKey(element)); } } protected void expectMissingValues(V... elements) { for (V element : elements) { assertFalse("Should not contain value " + element, getMap().containsValue(element)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
// Later attempts to set the future should return false. assertFalse(future.set("x")); assertFalse(future.setException(new Exception("bar"))); assertFalse(future.setFuture(SettableFuture.<String>create())); // Check that the future has been set properly. assertFalse(future.isDone()); assertFalse(future.isCancelled()); assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
public void testSpliteratorNullable() { initCollectionWithNullElement(); assertFalse(collection.spliterator().hasCharacteristics(Spliterator.NONNULL)); } @CollectionFeature.Require(SUPPORTS_ADD) public void testSpliteratorNotImmutable_collectionAllowsAdd() { // If add is supported, verify that IMMUTABLE is not reported. assertFalse(collection.spliterator().hasCharacteristics(Spliterator.IMMUTABLE)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
Entry<V, K> reversed = reverseEntry(entry); BiMap<V, K> inv = getMap().inverse(); assertFalse( "Inverse should not contain entry " + reversed, inv.entrySet().contains(reversed)); assertFalse( "Inverse should not contain key " + reversed.getKey(), inv.containsKey(reversed.getKey())); assertFalse( "Inverse should not contain value " + reversed.getValue(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/AsciiTest.java
assertEquals(str, c, Ascii.toUpperCase(c)); assertFalse(str, Ascii.isLowerCase(c)); assertFalse(str, Ascii.isUpperCase(c)); } } public void testCharsLower() { for (char c : LOWER.toCharArray()) { String str = String.valueOf(c); assertTrue(str, c == Ascii.toLowerCase(c)); assertFalse(str, c == Ascii.toUpperCase(c)); assertTrue(str, Ascii.isLowerCase(c));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code ActivationProperty}. * */ class ActivationPropertyTest {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0)