Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 447 for getMessages (0.06 sec)

  1. src/test/java/org/codelibs/fess/helper/JobHelperTest.java

            try {
                jobHelper.register((ScheduledJob) null);
                fail("Should throw ScheduledJobException");
            } catch (ScheduledJobException e) {
                assertEquals("No job.", e.getMessage());
            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Act + Assert
            SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context));
            assertEquals("login failed", ex.getMessage());
            verify(tree).connectLogon(context);
        }
    
        @Test
        @DisplayName("send without params returns the stubbed response")
        void send_noParams_returnsResponse() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is too large.
         */
        @Test
        void testConstructorWithDataTooLarge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java

            assertEquals("MESSAGE1", p1.getMessage());
            assertEquals(-1, p1.getLineNumber());
            assertEquals(-1, p1.getColumnNumber());
            assertNull(p1.getException());
    
            Problem p2 = collector.getProblems().get(1);
            assertEquals(Severity.WARNING, p2.getSeverity());
            assertEquals("", p2.getMessage());
            assertEquals(42, p2.getLineNumber());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlRequestTest.java

            request.param("key", "value");
    
            try {
                request.encoding("ISO-8859-1");
                fail("Expected CurlException");
            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("must be called before param method"));
            }
        }
    
        @Test
        public void testThresholdMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                        assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex));
                assertEquals("Expected structureSize = 4", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 })
            @DisplayName("Should throw exception for various invalid structure sizes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            NullPointerException npe1 = assertThrows(NullPointerException.class, () -> filter.accept(null, "x"));
            assertTrue(npe1.getMessage().contains("non-null"));
    
            NullPointerException npe2 = assertThrows(NullPointerException.class, () -> filter.accept(mockDir, null));
            assertTrue(npe2.getMessage().contains("non-null"));
            verifyNoInteractions(mockDir);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
            assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null."));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_en() throws Exception {
            // ## Arrange ##
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

                            "Should throw SMBProtocolDecodingException for invalid structure size");
    
            assertEquals("Expected structureSize = 2", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with zero structure size throws exception")
        void testReadBytesWireFormatZeroStructureSize() {
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlException.java

        /**
         * Constructs a new CurlException with the specified detail message and cause.
         *
         * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method).
         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top