- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 238 for teardown (0.05 sec)
-
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) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// Register components ComponentUtil.register(searchEngineClient, "searchEngineClient"); ComponentUtil.setFessConfig(fessConfig); } @Override public void tearDown() throws Exception { super.tearDown(); } public void test_constructor() { // Test that constructor creates instance without error PurgeDocJob job = new PurgeDocJob(); assertNotNull(job); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
public void setUp() throws Exception { super.setUp(); mockRequest = new MockHttpServletRequest(); } @Override public void tearDown() throws Exception { webApiRequest = null; mockRequest = null; super.tearDown(); } // Test constructor with various servlet path values public void test_constructor_withNormalServletPath() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K 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) -
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())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K 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/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/entity/FacetInfoTest.java
@Override public void setUp() throws Exception { super.setUp(); facetInfo = new FacetInfo(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Test default constructor public void test_constructor() { FacetInfo info = new FacetInfo(); assertNull(info.field); assertNull(info.query);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
@Override public void setUp() throws Exception { super.setUp(); scriptEngineFactory = new ScriptEngineFactory(); } @Override public void tearDown() throws Exception { super.tearDown(); } // Test constructor public void test_constructor() { ScriptEngineFactory factory = new ScriptEngineFactory(); assertNotNull(factory);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} }; ComponentUtil.register(systemHelper, "systemHelper"); } @Override public void tearDown() throws Exception { super.tearDown(); } // Test append method with null value public void test_append_nullValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> null;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0)