- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 308 for tearDown (0.07 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final Exception exception = new Exception(); final Closeable mockCloseable = mock(Closeable.class); @Override protected void tearDown() throws Exception { assertNoExpectedFailures(); super.tearDown(); } public void testFrom() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } /** * Test that response caching is consistent with the RI and the spec.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 09:13:37 GMT 2026 - 121K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
final Exception exception = new Exception(); final Closeable mockCloseable = mock(Closeable.class); @Override protected void tearDown() throws Exception { assertNoExpectedFailures(); super.tearDown(); } public void testFrom() throws Exception { ClosingFuture<String> closingFuture = ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
indexExportJob = new IndexExportJob(); tempDir = Files.createTempDirectory("indexExportJobTest"); } @Override protected void tearDown(TestInfo testInfo) throws Exception { deleteRecursive(tempDir); super.tearDown(testInfo); } private void deleteRecursive(final Path path) throws IOException { if (Files.isDirectory(path)) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
"unused", ) @Disabled class KotlinSourceModernTest { private val factory = TestValueFactory() @BeforeEach fun disabled() { assumeFalse(true) } @AfterEach fun tearDown() { factory.close() } @Test fun address() { val address: Address = factory.newAddress() val url: HttpUrl = address.url val dns: Dns = address.dns
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
+ "Some test probably didn't clear the interrupt state"); } tearDownStack.addTearDown(() -> Thread.interrupted()); } @Override protected void tearDown() { tearDownStack.runTearDown(); } @Override public void runBare() throws Throwable { try { super.runBare(); } catch (AssertionError e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
super.setUp(testInfo); client = new TestableAbstractLlmClient(); } @Override protected void tearDown(final TestInfo testInfo) throws Exception { super.tearDown(testInfo); } // ========== P1: Intent detection request building tests ========== @Test public void test_buildIntentRequest_withoutHistory() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
@BeforeEach fun setUp() { platform.assumeNotOpenJSSE() eventRecorder.forbidLock(get(client.connectionPool)) eventRecorder.forbidLock(client.dispatcher) } @AfterEach fun tearDown() { if (socksProxy != null) { socksProxy!!.shutdown() } if (cache != null) { cache!!.delete() } } @Test fun successfulCallEventSequence() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 70.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
@Override public void setUp() throws Exception { super.setUp(); logHandler = new TestLogHandler(); LocalCache.logger.addHandler(logHandler); } @Override public void tearDown() throws Exception { super.tearDown(); /* * TODO(cpovirk): Run tests in another thread instead of messing with main thread's interrupted * status. */ Thread.interrupted();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
filesystem.deleteRecursively(cacheDir) } journalFile = cacheDir / DiskLruCache.JOURNAL_FILE journalBkpFile = cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP createNewCache() } @AfterEach fun tearDown() { while (!toClose.isEmpty()) { toClose.pop().close() } taskFaker.close() (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles() } @Test fun emptyCache() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 59.4K bytes - Click Count (0)