- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 227 for teardown (0.05 sec)
-
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
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());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
@Override public String getIndexFieldTitle() { return "title"; } }); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } // Test constructor with null query string public void test_constructor_nullQueryString() { queryContext = new QueryContext(null, false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java
ComponentUtil.register(testLdapManager, "ldapManager"); ComponentUtil.setFessConfig(testFessConfig); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } public void test_update() { // Test update method User user = createTestUser("testuser", "password123"); ldapChain.update(user);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (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 =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
* part, so higher integers would appear (in this case linearly) more often * than lower ones. */ return (int) Math.pow(a, 1.0 / concentration); } @AfterExperiment void tearDown() { double req = requests.get(); double hit = req - misses.get(); // Currently, this is going into /dev/null, but I'll fix that System.out.println("hit rate: " + hit / req); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress() assertThat(b).isEqualTo(a) assertThat(b.hashCode()).isEqualTo(a.hashCode())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/timer/TimeoutManagerTest.java
private int expiredCount; protected void setUp() throws Exception { expiredCount = 0; TimeoutManager.getInstance().clear(); } protected void tearDown() throws Exception { TimeoutManager.getInstance().clear(); } /** * @throws Exception */ public void testExpired() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/JobLogTests.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jun 19 07:14:01 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
mockFilterChain = new TestFilterChain(); ComponentUtil.register(corsHandlerFactory, "corsHandlerFactory"); } @Override public void tearDown() throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(); } // Test with no Origin header public void test_doFilter_noOriginHeader() throws IOException, ServletException { mockRequest.setHeader("Origin", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
return null; } } @Override public void tearDown() throws Exception { // Clean up system properties System.clearProperty("fess.search_engine.http_address"); System.clearProperty("fesen.http.url"); super.tearDown(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0)