Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_messageFormatting (0.28 sec)

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

            assertEquals(longName + " is not available.", exception.getMessage());
            assertEquals(longName, exception.getComponentName());
        }
    
        public void test_messageFormatting() {
            // Test message formatting for different constructors
            ContainerNotAvailableException exception1 = new ContainerNotAvailableException("service1");
    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/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(original.getCause(), retry.getCause());
            assertNotNull(retry.getContext());
        }
    
        @Test
        @DisplayName("Should format message correctly")
        void testMessageFormatting() {
            // With custom message
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_EXISTS, "document.pdf already exists");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top