- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 447 for setMessage (0.08 sec)
-
src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java
queryCommand.execute(context, invalidQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expected assertTrue(e.getMessage().contains("Unknown q:")); } } public void test_convertTermRangeQuery_searchField_inclusive() throws Exception { QueryContext context = new QueryContext("test", false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
IOException thrown = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(mockInputStream, buffer, 0); }); assertTrue(thrown.getMessage().contains("unexpected EOF reading netbios retarget session response")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
long actualInterval = (Long) field.get(dataIndexHelper); assertEquals(interval, actualInterval); } catch (Exception e) { fail("Failed to verify crawlingExecutionInterval: " + e.getMessage()); } } public void test_setCrawlerPriority() { int priority = Thread.NORM_PRIORITY; // Use normal priority for tests dataIndexHelper.setCrawlerPriority(priority);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
fail("Should throw exception for non-existent property"); } catch (ConfigPropertyNotFoundException e) { // Expected exception assertTrue(e.getMessage().contains("non.existent.property")); } } // Test system property without prefix public void test_get_systemPropertyWithoutPrefix() { // Set system property without FESS_CONFIG_PREFIX
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Execute and verify CIFSException thrown = assertThrows(CIFSException.class, () -> { watchHandle.watch(); }); assertEquals("Watch operation failed", thrown.getMessage()); verify(watchHandle, times(1)).watch(); } /** * Test call() method delegates to watch() */ @Test void testCall() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/WebApiException.java
* * @param statusCode The HTTP status code * @param e The exception that caused this WebApiException */ public WebApiException(final int statusCode, final Exception e) { this(statusCode, e.getMessage(), e); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
NullPointerException.class, () -> new FileSource((File) null), "Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} catch (InvalidVersionSpecificationException e) { throw new ProfileActivationException( "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage()); } } boolean reverse = false; if (jdk.startsWith("!")) { reverse = true; jdk = jdk.substring(1); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * } * </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0)