Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 447 for getMessages (0.04 sec)

  1. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertEquals(longName, exception.getComponentName());
        }
    
        public void test_messageFormatting() {
            // Test message formatting for different constructors
            ContainerNotAvailableException exception1 = new ContainerNotAvailableException("service1");
            assertEquals("service1 is not available.", exception1.getMessage());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals("SSO process failed", topLevel.getMessage());
            assertEquals(level1, topLevel.getCause());
            assertEquals("Level 1: Authentication service error", topLevel.getCause().getMessage());
            assertEquals(level2, topLevel.getCause().getCause());
            assertEquals("Level 2: User lookup failed", topLevel.getCause().getCause().getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            assertEquals("Thumbnail generation error", exception.getMessage());
            assertEquals(middleCause, exception.getCause());
            assertEquals("Processing failed", exception.getCause().getMessage());
            assertEquals(innerCause, exception.getCause().getCause());
            assertEquals("Invalid image format", exception.getCause().getCause().getMessage());
        }
    
        public void test_serialization() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertEquals("Type1", exception1.getType());
            assertEquals("Message1", exception1.getMessage());
            assertEquals("Type2", exception2.getType());
            assertEquals("Message2", exception2.getMessage());
    
            assertNotSame(exception1, exception2);
        }
    
        public void test_serialVersionUID() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

            final String s = MessageFormatter.getMessage("EMSG0000");
            System.out.println(s);
            assertThat(s, is("[EMSG0000]test"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessageWithArgs() throws Exception {
            final String s = MessageFormatter.getMessage("EMSG0001", "hoge");
            System.out.println(s);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertSame(cause, exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithNullMessage() {
            CurlException exception = new CurlException(null);
    
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Verify the exception message indicates name resolution failure
            assertTrue(exception.getMessage().contains("NONEXISTENT") || exception.getMessage().contains("unknown")
                    || exception.getMessage().contains("not found"), "Exception message should indicate name resolution failure");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            try {
                processHelper.sendCommand("nonexistent", "test command");
                fail("Expected JobNotFoundException");
            } catch (JobNotFoundException e) {
                assertTrue(e.getMessage().contains("Job for nonexistent is not found"));
            }
        }
    
        public void test_startProcess_basicCommand() {
            String sessionId = "test_session";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            DataStoreCrawlingException exception = new DataStoreCrawlingException(url, message, cause);
    
            assertEquals(url, exception.getUrl());
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertFalse(exception.aborted());
        }
    
        public void test_constructor_withUrlMessageExceptionAndAbortTrue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception3Params.getMessageCode());
            assertEquals(message, exception3Params.getMessage());
            assertEquals(cause, exception3Params.getCause());
    
            assertEquals(messageCode, exception2Params.getMessageCode());
            assertEquals(message, exception2Params.getMessage());
            assertNull(exception2Params.getCause());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top