- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 2,319 for execution (0.32 sec)
-
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.request.suggest.SuggestResponse; import org.junit.Test; public class DeferredTest { @Test public void test_doneBeforeResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
// Test get method with empty file public void test_get_emptyFile() throws Exception { writeTestFile(""); OptionalEntity<CharMappingItem> result = charMappingFile.get(1L); assertFalse(result.isPresent()); } // Test get method with valid data public void test_get_validData() throws Exception { writeTestFile("a,b => c\nd,e => f\n");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
* */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer(""); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); assertThat(tokenizer.nextToken(), is(Tokenizer.TT_EOF)); } /** * @throws Exception */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
void testNullConfigurationThrowsException() throws Exception { // Given Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class); constructor.setAccessible(true); // When & Then InvocationTargetException exception = assertThrows(InvocationTargetException.class, () -> constructor.newInstance(null, 1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} public void test_ingest_withException() { // Setup ingester that throws exception TestIngester failingIngester = new TestIngester() { @Override public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) { throw new RuntimeException("Test exception"); } }; ingestFactory.ingesters.add(failingIngester);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/ThrowablesTest.java
SomeChainingException exception = new SomeChainingException(new SomeChainingException(cause)); assertSame(cause, getRootCause(exception)); } public void testGetRootCause_loop() { Exception cause = new Exception(); Exception exception = new Exception(cause); cause.initCause(exception); IllegalArgumentException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
@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 ## Locale.setDefault(Locale.JAPANESE);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
try { Field f = declaring.getDeclaredField(name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } } // Simple FileEntry stub for tests private static final class FE implements FileEntry { private final String name;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
/** * @throws Exception */ public void testIsPublic() throws Exception { final Field f = Hoge.class.getDeclaredField("s"); assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
*/ package org.codelibs.fess.suggest.exception; /** * Exception thrown when there is an issue with the suggest settings. * This exception extends {@link RuntimeException}, so it is an unchecked exception. * * <p>There are three constructors available for this exception:</p> * <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li>Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0)