Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 447 for getMessages (0.2 sec)

  1. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

                    "Should throw CIFSException for incompatible class");
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SecureKeyManager.java

                    log.warn("Failed to destroy SecretKey: {}", e.getMessage());
                }
            }
    
            // Remove from KeyStore
            if (keyStore != null) {
                try {
                    keyStore.deleteEntry("smb.session." + sessionId);
                } catch (Exception e) {
                    log.debug("Failed to remove key from KeyStore: {}", e.getMessage());
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertTrue(true);
            } catch (Exception e) {
                // Should throw ThemeException or ZipException
                assertTrue(e instanceof ThemeException || e.getMessage().contains("zip") || e.getMessage().contains("install")
                        || e.getMessage().contains("format"));
            }
        }
    
        public void test_install_zipWithSkippedEntries() throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/HMACT64.java

                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (final Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
        private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                    assertTrue(ex.getMessage().contains("directory must end with '/'"),
                            "Expected trailing slash message, was: " + ex.getMessage());
                } else {
                    assertTrue(ex.getMessage().contains("invalid") || ex.getMessage().contains("invalid:"),
                            "Expected invalid list operation message, was: " + ex.getMessage());
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            SmbException ex =
                    assertThrows(SmbException.class, () -> new DirFileEntryEnumIterator1(tree, parent, "*", (ResourceNameFilter) null, 0));
            assertTrue(ex.getMessage().contains("UNC must end with '\\'"), "Actual message: " + ex.getMessage());
            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
            SmbException ex = assertThrows(SmbException.class, () -> transport.hasCapability(42));
            assertTrue(ex.getMessage().contains("failed"));
            verify(transport).hasCapability(42);
        }
    
        // Edge: disconnected status toggles
        @ParameterizedTest
        @DisplayName("isDisconnected reflects current mocked state")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            }, "A PACDecodingException should be thrown for a non-empty string with a zero pointer.");
    
            // Verify the exception message
            assertEquals("Non-empty string", exception.getMessage(), "The exception message is not correct.");
        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a string of incorrect length.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            Throwable cause = ((java.lang.reflect.InvocationTargetException) exception).getCause();
            assertTrue(cause instanceof CIFSException);
            assertTrue(cause.getMessage().contains("Failed to create multi-channel transport"));
        }
    
        @Test
        @DisplayName("createChannelTransport should handle localhost addresses")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Only count specific exceptions as failures using custom predicate
                java.util.function.Predicate<Exception> isFailure = e -> e.getMessage() != null && e.getMessage().contains("critical");
    
                // Non-critical failures - should NOT open circuit
                for (int i = 0; i < 5; i++) {
                    try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
Back to top