- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for exists (0.15 sec)
-
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone( new GcFinalization.FinalizationPredicate() { @Override public boolean isDone() { return !file.exists(); } }); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jun 08 21:20:23 GMT 2023 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length()); assertTrue(file.exists()); assertThat(file.getName()).contains("FileBackedOutputStream"); if (!isAndroid() && !isWindows()) { PosixFileAttributes attributes =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava/src/com/google/common/annotations/VisibleForTesting.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ package com.google.common.annotations; /** * Annotates a program element that exists, or is more widely visible than otherwise necessary, only * for use in test code. * * <p><b>Do not use this interface</b> for public or protected declarations: it is a fig leaf for
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Jan 30 22:25:16 GMT 2023 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IllegalStateException.class, Files::createTempDir); return; } File temp = Files.createTempDir(); try { assertThat(temp.exists()).isTrue(); assertThat(temp.isDirectory()).isTrue(); assertThat(temp.listFiles()).isEmpty(); File child = new File(temp, "child"); assertThat(child.createNewFile()).isTrue();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
} private interface HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface { // Exists only for hierarchy mapping; no members. }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
return Helpers.mapEntry(key, value); } @Override protected void expectContents(Collection<Entry<K, V>> expected) { // TODO: move this to invariant checks once the appropriate hook exists? super.expectContents(expected); for (Entry<K, V> entry : expected) { assertEquals( "Wrong value for key " + entry.getKey(), entry.getValue(), getMap().get(entry.getKey())); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone( new GcFinalization.FinalizationPredicate() { @Override public boolean isDone() { return !file.exists(); } }); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Jun 08 21:20:23 GMT 2023 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Resources.java
* * @throws IllegalArgumentException if the resource is not found */ @CanIgnoreReturnValue // being used to check if a resource exists // TODO(cgdecker): maybe add a better way to check if a resource exists // e.g. Optional<URL> tryGetResource or boolean resourceExists public static URL getResource(String resourceName) { ClassLoader loader = MoreObjects.firstNonNull(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
} private interface HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private interface HierarchyFixtureSubinterface extends HierarchyFixtureInterface { // Exists only for hierarchy mapping; no members. } private static class HierarchyFixtureParent implements HierarchyFixtureSubinterface { // Exists only for hierarchy mapping; no members. }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0) -
cycle_suppress_list.txt
NAMESPACE com.google.common.io NAMESPACE com.google.common.net NAMESPACE com.google.common.testing # Allow our dependencies for now. NAMESPACE junit.framework NAMESPACE org.junit # ***** REAL CYCLES ***** # Cycle exists until future completes FIELD com.google.common.util.concurrent.AbstractFuture.Listener.executor com.google.common.util.concurrent.ExecutionSequencer.TaskNonReentrantExecutor # ***** FALSE POSITIVES *****
Plain Text - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Dec 16 19:54:45 GMT 2020 - 3.1K bytes - Viewed (0)