- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 612 for getMessages (0.12 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
String malformedUrl = "invalid-url"; CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.get(malformedUrl); }); assertTrue(thrown.getMessage().contains("Invalid URL")); assertTrue(thrown.getCause() instanceof MalformedURLException); } @Test void testGetPipe() throws CIFSException, MalformedURLException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
byte[] actualBuffer = (byte[]) outputBufferField.get(response); assertSame(outputBuffer, actualBuffer); } catch (Exception e) { fail("Failed to access outputBuffer field: " + e.getMessage()); } } @Test void testWriteSetupWireFormat() { // Test that writeSetupWireFormat returns 0 byte[] dst = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
} catch (final LoginFailureException lfe) { if (logger.isInfoEnabled()) { logger.info("Login failed for user: username={}, reason={}", username, lfe.getMessage()); } activityHelper.loginFailure(OptionalThing.of(new LocalUserCredential(username, password)));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 06:18:24 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
@Test public void testSIndexOutOfBoundsExceptionString() { final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge"); assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge")); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
PACDecodingException e = assertThrows(PACDecodingException.class, () -> PacMac.calculateMac(PacSignature.KERB_CHECKSUM_HMAC_MD5, keys, TEST_DATA)); assertEquals("Missing key", e.getMessage()); } /** * Test calculateMac with an invalid algorithm type. */ @Test void testCalculateMacInvalidAlgorithm() { Map<Integer, KerberosKey> keys = new HashMap<>();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
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); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
void testConstructorWithMessage() { String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage); assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field. * Ensures that the static field holds the expected string value. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
// When & Then: Constructor should throw SmbException SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null)); assertTrue(exception.getMessage().contains("invalid")); verify(treeHandle, never()).acquire(); } @Test @DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0)