- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 220 for setMessage (0.04 sec)
-
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/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java
* The cause of the exception */ public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args, final Throwable cause) { super(MessageFormatter.getMessage(messageCode, args), cause); this.argName = argName; this.messageCode = messageCode; this.args = args; } /** * Returns the name of the argument. *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
try { helper.init(); assertNotNull(helper.duplicateHostList); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_setDuplicateHostList() { DuplicateHostHelper helper = new DuplicateHostHelper(); List<DuplicateHost> testList = new ArrayList<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } public void test_getName() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test default name (null)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java
ExampleClassUnderTest.foo(); LogRecord record = handler.getStoredLogRecords().get(0); assertEquals(Level.INFO, record.getLevel()); assertEquals("message", record.getMessage()); assertSame(EXCEPTION, record.getThrown()); } public void testConcurrentModification() throws Exception { // Tests for the absence of a bug where logging while iterating over the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
parser.parse(new InputSource(new StringReader(invalidXml))); fail("Should throw GsaConfigException"); } catch (GsaConfigException e) { assertEquals("Failed to parse XML file.", e.getMessage()); } } public void test_parseWithMalformedXml() { GsaConfigParser parser = new GsaConfigParser(); String malformedXml = "<?xml version=\"1.0\"?><eef><unclosed>";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertTrue("Exception should be DictionaryException", e instanceof DictionaryException); assertTrue("Message should mention userDict file", e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write")); } finally { // Ensure proper cleanup if (updater != null) { try { updater.close();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
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/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.6K bytes - Viewed (0)