- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 2,828 for exception (0.07 seconds)
-
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
suggester.createIndexIfNothing(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { suggester.indexer().deleteAll(); suggester.settings().badword().deleteAll(); suggester.settings().elevateWord().deleteAll();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
CLAUDE.md
Use `AssertionUtil` at method entry: - `AssertionUtil.assertArgumentNotNull("argName", value)` - `AssertionUtil.assertArgumentNotEmpty("argName", value)` ### Exception Handling - Wrap checked exceptions in runtime exceptions from `org.codelibs.core.exception` - Use error codes (e.g., "ECL0008" = null argument) ### Test Structure - JUnit 4 + Hamcrest matchers - Test class: `{ClassName}Test.java`
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Mar 12 03:38:56 GMT 2026 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} } } @Test @Throws(Exception::class) fun compressedMessages() { successfulExtensions("permessage-deflate") } @Test @Throws(Exception::class) fun compressedMessagesNoClientContextTakeover() { successfulExtensions("permessage-deflate; client_no_context_takeover") } @Test @Throws(Exception::class) fun compressedMessagesNoServerContextTakeover() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
// queryBuilder field is protected, so we can't directly assert it } // Test execute() method with exception handling @Test public void test_execute_withException() { // Register a mock that throws exception SearchEngineClient exceptionClient = new SearchEngineClient() { @Override public long updateByQuery(String index,
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
import java.util.List; import java.util.Map; import org.junit.Test; /** * @author higa */ public class MethodUtilTest { /** * @throws Exception */ @Test public void testIsEqualsMethod() throws Exception { final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
import java.io.StringReader; import java.util.List; import org.junit.Test; /** * @author wyukawa * */ public class IndexedIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
} @Override protected void tearDown() throws Exception { classReloader.close(); Thread.currentThread().setContextClassLoader(oldClassLoader); System.clearProperty("guava.concurrent.generate_cancellation_cause"); } public void testCancel_notDoneNoInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(false));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
} @Override protected void tearDown() throws Exception { classReloader.close(); Thread.currentThread().setContextClassLoader(oldClassLoader); System.clearProperty("guava.concurrent.generate_cancellation_cause"); } public void testCancel_notDoneNoInterrupt() throws Exception { Future<?> future = newFutureInstance(); assertTrue(future.cancel(false));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java
} // Test with different exception types @Test public void test_exceptionTypes() { // Test RuntimeException RuntimeException runtimeEx = new RuntimeException("Runtime error"); assertEquals("Runtime error", runtimeEx.getMessage()); // Test Exception Exception generalEx = new Exception("General error");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.2K bytes - Click Count (0)