- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 447 for setMessage (0.07 sec)
-
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
assertFalse(session.isInUse()); // Next release goes below zero and throws RuntimeException ex = assertThrows(RuntimeCIFSException.class, session::release); assertTrue(ex.getMessage().contains("below zero")); // Only one transport release should have occurred verify(transport, times(1)).release(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
} } catch (DestroyFailedException e) { // Re-throw DestroyFailedException as-is throw e; } catch (Exception e) { // For any other exception, wrap it throw new DestroyFailedException("Failed to destroy secure storage: " + e.getMessage()); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
assertTrue("Exception should be DictionaryException", e instanceof DictionaryException); assertTrue("Message should mention userDict file", e.getMessage().contains("userDict") || e.getMessage().contains("Failed to write")); } finally { // Ensure proper cleanup if (updater != null) { try { updater.close();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
MalformedURLException ex = assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx())); assertEquals("Named pipes are only valid on IPC$", ex.getMessage()); } @Test @DisplayName("Null context throws NPE (invalid input)") void nullContextThrows() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false); SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid"); assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect")); } // Happy path for SMB2: a response is received and the list is returned; tree is closed @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
// closing should null tmp; subsequent readDirect should fail in.close(); IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4)); assertTrue(ex.getMessage().contains("Bad file descriptor")); } @Test @DisplayName("available always returns 0") void availableAlwaysZero() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
try { generator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } public void test_addCondition() { // Test adding conditions generator = new TestThumbnailGenerator(); // Test adding single condition
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0)