- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for tearDown (0.36 sec)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public byte[] getExpected(byte[] data) { return factory.getExpected(new String(data, Charsets.UTF_8)).getBytes(Charsets.UTF_8); } @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) { checkNotNull(factory); return new CharSourceFactory() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return self(); } public Runnable getSetUp() { return setUp; } @CanIgnoreReturnValue public B withTearDown(Runnable tearDown) { this.tearDown = tearDown; return self(); } public Runnable getTearDown() { return tearDown; } // Features private final Set<Feature<?>> features = new LinkedHashSet<>(); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
public byte[] getExpected(byte[] data) { return factory.getExpected(new String(data, Charsets.UTF_8)).getBytes(Charsets.UTF_8); } @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static CharSourceFactory asCharSourceFactory(final ByteSourceFactory factory) { checkNotNull(factory); return new CharSourceFactory() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
*/ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.testing.TearDown; import com.google.common.testing.TearDownStack; import com.google.common.util.concurrent.testing.TestingExecutors; import java.lang.Thread.UncaughtExceptionHandler; import java.util.concurrent.CountDownLatch;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */ private static Test testsForSetUpTearDown() { final AtomicBoolean setUpRan = new AtomicBoolean(); Runnable setUp = new Runnable() { @Override public void run() { assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true)); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} } } /** Verifies that {@code setUp} and {@code tearDown} are called in all map test cases. */ private static Test testsForSetUpTearDown() { final AtomicBoolean setUpRan = new AtomicBoolean(); Runnable setUp = new Runnable() { @Override public void run() { assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 11.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return self(); } public Runnable getSetUp() { return setUp; } @CanIgnoreReturnValue public B withTearDown(Runnable tearDown) { this.tearDown = tearDown; return self(); } public Runnable getTearDown() { return tearDown; } // Features private final Set<Feature<?>> features = new LinkedHashSet<>(); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
*/ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assert.assertThrows; import com.google.common.testing.TearDown; import com.google.common.testing.TearDownStack; import com.google.common.util.concurrent.testing.TestingExecutors; import java.lang.Thread.UncaughtExceptionHandler; import java.util.concurrent.CountDownLatch;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertNull; import static junit.framework.Assert.assertSame; import com.google.common.testing.TearDown; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.concurrent.SynchronousQueue; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
+ "Some test probably didn't clear the interrupt state"); } tearDownStack.addTearDown( new TearDown() { @Override public void tearDown() { Thread.interrupted(); } }); } @Override protected void tearDown() { tearDownStack.runTearDown(); } public void testNull() throws Exception { new NullPointerTester()
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 31.7K bytes - Viewed (0)