Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_messageFormatting (0.08 seconds)

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

            assertEquals(longName + " is not available.", exception.getMessage());
            assertEquals(longName, exception.getComponentName());
        }
    
        @Test
        public void test_messageFormatting() {
            // Test message formatting for different constructors
            ContainerNotAvailableException exception1 = new ContainerNotAvailableException("service1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.1K bytes
    - Click Count (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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
Back to Top