- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 165 for tearDown (0.05 sec)
-
src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java
* @author manhole */ public class SQLRuntimeExceptionTest { @Before public void setUp() throws Exception { LocaleUtil.setDefault(() -> Locale.JAPANESE); } @After public void tearDown() throws Exception { LocaleUtil.setDefault(null); } /** * @throws Exception */ @Test public void testErrorMessage_ja() throws Exception { // ## Arrange ##Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java
.numOfNode(1) .pluginTypes("org.codelibs.opensearch.extension.ExtensionPlugin")); runner.ensureYellow(); } @Override protected void tearDown() throws Exception { runner.close(); runner.clean(); } public void test_buildWithDefault() throws Exception { final String id = "BuildTest";
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Nov 01 13:29:47 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); } @Override public void tearDown() throws Exception { super.tearDown(); // close runner runner.close(); // delete all files runner.clean(); } public void test_addIncludeUrlFilter_singleTx() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java
// Clear system property to test configuration file loading System.clearProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL); } @AfterEach void tearDown() { // Restore original system property if (originalSystemProperty != null) { System.setProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL, originalSystemProperty); } else {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 08 21:10:33 UTC 2025 - 6.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
server.initWebSocket(random) } @AfterEach @Throws(Exception::class) fun tearDown() { client.listener.assertExhausted() server.listener.assertExhausted() server.source.close() client.source.close() taskFaker.runTasks() server.webSocket!!.tearDown() client.webSocket!!.tearDown() taskFaker.close() } @Test fun close() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
.addAllowedQuicHost("www.google.com") .build(), ).addQuicHint("google.com", 443, 443) .addQuicHint("www.google.com", 443, 443) .build() @After fun tearDown() { engine.shutdown() cacheDir.deleteRecursively() } @Test fun get() { val executor = Executors.newCachedThreadPool()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
smbtStatic.when(() -> SmbTransport.getSmbTransport(addr, 445)).thenReturn(transport); } @AfterEach void tearDown() { if (smbtStatic != null) { smbtStatic.close(); } } @Test void transportLazyInitialisation() { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
client = clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0)