Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 447 for setMessage (0.07 sec)

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertPhraseQuery_emptyTerms() {
            // Test with empty phrase query - should throw InvalidQueryException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfoParam.java

            return crawlingInfo;
        }
    
        public String getKeyMsg() {
            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            final String message = ComponentUtil.getMessageManager().getMessage(locale, "labels.crawling_info_" + getKey());
            if (message == null || message.startsWith("???")) {
                return getKey();
            }
            return message;
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

        }
    
        public void test_init() {
            try {
                fileTypeHelper.init();
            } catch (Exception e) {
                fail("init() should not throw an exception: " + e.getMessage());
            }
        }
    
        public void test_add() {
            fileTypeHelper.add("application/pdf", "pdf");
            assertEquals("pdf", fileTypeHelper.get("application/pdf"));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper);
                assertNull(sslSocketFactory);
    
            } catch (IOException e) {
                fail("Failed to create test certificate file: " + e.getMessage());
            } finally {
                if (invalidCertFile != null && invalidCertFile.exists()) {
                    invalidCertFile.delete();
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. 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)
Back to top