Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 469 for setMessage (0.11 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            } catch (ConfigPropertyNotFoundException e) {
                assertTrue(e.getMessage().contains("non.existent.property"));
            }
    
            try {
                emptyEnv.is("non.existent.boolean");
                fail("Should throw ConfigPropertyNotFoundException");
            } catch (ConfigPropertyNotFoundException e) {
                assertTrue(e.getMessage().contains("non.existent.boolean"));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmUtilTest.java

        void testGetNTHash_null() {
            NullPointerException ex = assertThrows(NullPointerException.class, () -> NtlmUtil.getNTHash((String) null));
            assertEquals("Password parameter is required", ex.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "password", "pässwörd", "1234567890abcdef" })
        @DisplayName("nTOWFv1 equals getNTHash across inputs")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

          listener.sessionGranted(session);
        } catch (IOException e) {
          return new MockResponse()
              .setResponseCode(400)
              .setBody("code exchange failed: " + e.getMessage());
        }
    
        synchronized (this) {
          listeners.remove(state);
        }
    
        // Success!
        return new MockResponse()
            .setResponseCode(302)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> {
                AvPairs.decode(avPairData);
            });
    
            assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message");
        }
    
        /**
         * Test decode with invalid EOL (non-zero length)
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            try {
                queryCommand.execute(context, termQuery, 1.0f);
                fail("Should throw InvalidQueryException for non-phrase query");
            } catch (InvalidQueryException e) {
                assertTrue(e.getMessage().contains("Unknown q:"));
            }
        }
    
        public void test_convertPhraseQuery_emptyTerms() {
            // Test with empty phrase query - should throw InvalidQueryException
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            TestIterator iterator = new TestIterator(null);
    
            CIFSException ex = assertThrows(CIFSException.class, iterator::close);
            assertEquals("Close failed", ex.getMessage());
        }
    
        @Test
        @DisplayName("Remove delegates to underlying iterator")
        void removeDelegation() {
            when(delegate.hasNext()).thenReturn(false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                        updateMethod.setAccessible(true);
                        updateMethod.invoke(transport, testData);
                    } catch (Exception e) {
                        fail("Thread failed: " + e.getMessage());
                    } finally {
                        doneLatch.countDown();
                    }
                });
            }
    
            // Start all threads at once
            startLatch.countDown();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TestLocking.java

                            }
                            in.close();
                        }
                    } catch (final IOException ioe) {
                        logger.error("I/O error occurred: {}", ioe.getMessage(), ioe);
                    }
    
                }
            } catch (final Exception e) {
                logger.error("Error in test execution", e);
            } finally {
                numComplete++;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MavenBuilderException.java

            problems.problems().forEach(problem -> msg.append("\n * ")
                    .append(problem.getSeverity().name())
                    .append(": ")
                    .append(problem.getMessage()));
            return msg.toString();
        }
    
        /**
         * Returns the problem collector associated with this exception.
         *
         * @return the problem collector containing all problems related to this exception
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
                PrunedTag.parse("[invalid]");
                fail("Should have thrown FessSystemException");
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Invalid pruned tag"));
            }
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top