Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 447 for getMessages (0.34 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                dataStoreFactory.add(null, dataStore);
                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                assertEquals("name or dataStore is null.", e.getMessage());
            }
        }
    
        // Test add method with null dataStore
        public void test_add_nullDataStore() {
            try {
                dataStoreFactory.add("testName", null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java

          SignedBytes.checkedCast(value);
          fail("Cast to byte should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (byte x : VALUES) {
          for (byte y : VALUES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java

        @Test
        public void testSIndexOutOfBoundsExceptionString() {
            final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge");
            assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge"));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    try {
                        throw new Exception("Checked exception");
                    } catch (Exception e) {
                        throw new RuntimeException("Wrapped: " + e.getMessage(), e);
                    }
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java

         *
         * @param cause
         *            the cause
         */
        public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) {
            super("ECL0105", new Object[] { cause.getMessage() }, cause);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            assertEquals("Network error", thrown.getMessage());
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
        }
    
        @Test
        void close_shouldClosePolicySuccessfully() throws IOException {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                        () -> new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0311, null));
                assertEquals("Missing preauthIntegrityHash for SMB 3.1.1", exception.getMessage());
            }
    
            @Test
            @DisplayName("Should throw exception for unknown dialect")
            void testConstructorUnknownDialect() {
                IllegalArgumentException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K 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. src/test/java/jcifs/smb/SIDTest.java

                // Arrange
                String bad = "S-1"; // fewer than 3 tokens
    
                // Act + Assert
                SmbException ex = assertThrows(SmbException.class, () -> new SID(bad));
                assertTrue(ex.getMessage().contains("Bad textual SID format"));
            }
    
            @Test
            @DisplayName("Textual constructor null throws NullPointerException")
            void testTextualConstructorNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top