- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 354 for assertTrue (0.05 sec)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
Path temp = createTempFile(); assertTrue(Files.exists(temp)); Files.delete(temp); assertFalse(Files.exists(temp)); MoreFiles.touch(temp); assertTrue(Files.exists(temp)); MoreFiles.touch(temp); assertTrue(Files.exists(temp)); } public void testTouchTime() throws IOException { Path temp = createTempFile(); assertTrue(Files.exists(temp));
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/google/MultimapPutIterableTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyCollectionOnPresentKey() { assertTrue(multimap().putAll(k0(), Lists.newArrayList(v3(), v4()))); assertGet(k0(), v0(), v3(), v4()); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyIterableOnAbsentKey() { assertTrue( multimap() .putAll( k3(), new Iterable<V>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 7.7K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java
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")); assertFalse(ArtifactUtils.isSnapshot("1.2.3-20090413X094722-2")); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
assertTrue(inner.isCancelled()); assertTrue(inner.wasInterrupted()); assertThrows(CancellationException.class, () -> inner.get()); } public void testCancel_resultCancelsInner() throws Exception { SettableFuture<Object> async = SettableFuture.create(); SettableFuture<Object> inner = SettableFuture.create(); async.setFuture(inner); async.cancel(false); assertTrue(inner.isCancelled());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertTrue(TypeToken.of(char[][].class).isArray()); assertTrue(TypeToken.of(byte[].class).isArray()); assertTrue(TypeToken.of(short[].class).isArray()); assertTrue(TypeToken.of(int[].class).isArray()); assertTrue(TypeToken.of(long[].class).isArray()); assertTrue(TypeToken.of(float[].class).isArray()); assertTrue(TypeToken.of(double[].class).isArray());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
versionParser.parseVersionRange(range); fail(range + " should be invalid"); } catch (VersionParserException e) { assertTrue(true); } } private void assertContains(VersionRange range, String version) { assertTrue(range.contains(newVersion(version)), range + " should contain " + version); } private void assertNotContains(VersionRange range, String version) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
assertTrue(testInstance.containsColumn(1)); assertTrue(testInstance.containsColumn(2)); assertFalse(testInstance.containsColumn(3)); } } public void testContainsRow() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertTrue(testInstance.containsRow('a')); assertTrue(testInstance.containsRow('b'));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java
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 { @Test void testHashCodeNullSafe() { new ActivationProperty().hashCode(); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java
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 Developer}. * */ class DeveloperTest { @Test void testHashCodeNullSafe() { new Developer().hashCode(); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java
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 Parent}. * */ class ParentTest { @Test void testHashCodeNullSafe() { new Parent().hashCode(); } @Test void testEqualsNullSafe() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0)