- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 254 for TearDown (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
public void setUp() { future.addListener(latch::countDown, exec); assertEquals(1, latch.getCount()); assertFalse(future.isDone()); assertFalse(future.isCancelled()); } public void tearDown() { exec.shutdown(); } public void testCompletedFuture(@Nullable Object expectedValue) throws InterruptedException, ExecutionException { assertTrue(future.isDone());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java
protected void setUp() throws Exception { subscriber = createSubscriber(); EventBus bus = new EventBus(); bus.register(subscriber); bus.post(EVENT); } @Override protected void tearDown() throws Exception { subscriber = null; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmMessageTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @Test public void test_defaultConstructor() { final LlmMessage message = new LlmMessage(); assertNull(message.getRole());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java
creator = new FessMailDeliveryDepartmentCreator(ComponentUtil.getFessConfig()); } @Override protected void tearDown(TestInfo testInfo) throws Exception { if (originalFessConfig != null) { ComponentUtil.setFessConfig(originalFessConfig); } super.tearDown(testInfo); } // Test creator initialization @Test public void test_creatorInitialization() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.5K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
*/ class JettyHttpClientTest { private val client = HttpClient() @StartStop private val server = MockWebServer() @BeforeEach fun setUp() { client.start() } @AfterEach fun tearDown() { client.stop() } @Test fun get() { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request = client .newRequest(server.url("/").toUri())Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/SuggestTests.java
assertTrue(res.containsKey("query_words_num")); assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status")); } @Override @AfterEach protected void tearDown() { // do nothing } @Test void crudTest() { testRead(); } @Test void testDeleteAllWords_ok() { // Test deleting all suggest words
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/message/MessageFormatterTest.java
/** * @author higa */ public class MessageFormatterTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testGetMessage() throws Exception {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt
@StartStop private val server = MockWebServer() private val socksProxy = SocksProxy() @BeforeEach fun setUp() { socksProxy.play() } @AfterEach fun tearDown() { socksProxy.shutdown() } @Test fun proxy() { server.enqueue(MockResponse.Builder().body("abc").build()) server.enqueue(MockResponse.Builder().body("def").build()) val client =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
@Deprecated public abstract class AbstractProfileActivatorTest<T extends ProfileActivator> { protected T activator; @BeforeEach abstract void setUp() throws Exception; @AfterEach void tearDown() throws Exception { activator = null; } protected ProfileActivationContext newContext(final Properties userProperties, final Properties systemProperties) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.4K bytes - Click Count (0)