- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 188 for tearDown (0.22 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
public void run() { listenerLatch.countDown(); } }, directExecutor()); } @Override protected void tearDown() throws Exception { if (exec != null) { exec.shutdown(); } super.tearDown(); } public void testListenerDoesNotRunUntilTaskCompletes() throws Exception { // Test default state of not started.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
@Override protected String prepareConfigFile() { return "test_app.xml"; } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java
public void run() { listenerLatch.countDown(); } }, directExecutor()); } @Override protected void tearDown() throws Exception { if (exec != null) { exec.shutdown(); } super.tearDown(); } public void testListenerDoesNotRunUntilTaskCompletes() throws Exception { // Test default state of not started.
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4.7K 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) -
cmd/os-readdir_test.go
if expected[i] != got[i] { return false } } // expected and got have same entries. return true } // teardown - cleans up test directories. func teardown(testResults []result) { for _, r := range testResults { os.RemoveAll(r.dir) } } // TestReadDir - test function to run various readDir() tests. func TestReadDir(t *testing.T) {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
ComponentUtil.register(queryParser, "queryParser"); queryCommand = new TermQueryCommand(); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } public void test_convertTermQuery() throws Exception { assertQueryBuilder(BoolQueryBuilder.class,
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K 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) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java
private final ExecutorService finishToValueAndCloserExecutor = newSingleThreadExecutor(); private volatile ValueAndCloser<?> valueAndCloser; @Override protected void tearDown() throws Exception { super.tearDown(); assertWithMessage("finishToValueAndCloserExecutor was shut down") .that(shutdownAndAwaitTermination(finishToValueAndCloserExecutor, 10, SECONDS)) .isTrue(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
return new StringReader(string); } }.readLines(); } catch (IOException e) { throw new AssertionError(); } } @Override public void tearDown() throws IOException { factory.tearDown(); } static ImmutableList<Method> getTestMethods(Class<?> testClass) { List<Method> result = Lists.newArrayList(); for (Method method : testClass.getDeclaredMethods()) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Apr 27 18:57:08 GMT 2022 - 4.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)