- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for setExpiration (0.08 sec)
-
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
} @Test @DisplayName("Test Response interface methods - setExpiration") void testSetExpiration() { // Given Long expiration = System.currentTimeMillis() + 60000L; doNothing().when(response).setExpiration(expiration); // When response.setExpiration(expiration); // Then verify(response).setExpiration(expiration);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
when(mockResponse.getExpiration()).thenReturn(expiration); assertEquals(expiration, mockResponse.getExpiration()); // Test null expiration when(mockResponse.getExpiration()).thenReturn(null); assertNull(mockResponse.getExpiration()); // Verify the method was called verify(mockResponse, times(2)).getExpiration(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
Long expiration = 1000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); echoResponse.setExpiration(null); assertNull(echoResponse.getExpiration()); } } @Nested @DisplayName("Signature Verification Tests") class SignatureVerificationTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Gets the expiration time for this response. * * @return the message timeout */ Long getExpiration(); /** * Sets the expiration time for this response. * * @param exp the message timeout to set */ void setExpiration(Long exp); /** * Resets this response to its initial state. */ void reset(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
Long expiration = 1000L; response.setExpiration(expiration); assertEquals(expiration, response.getExpiration()); } @Test @DisplayName("Should handle null expiration") void testNullExpiration() { response.setExpiration(null); assertNull(response.getExpiration()); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
* {@inheritDoc} * * @see jcifs.util.transport.Response#getExpiration() */ @Override public Long getExpiration() { return this.expiration; } /** * {@inheritDoc} * * @see jcifs.util.transport.Response#setExpiration(java.lang.Long) */ @Override public void setExpiration(final Long exp) { this.expiration = exp; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestTest.java
} @Override public void error() { this.errorCode = -1; } @Override public Long getExpiration() { return expiration; } @Override public void setExpiration(Long exp) { this.expiration = exp; } @Override public Exception getException() { return exception;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test expiration property") void testExpirationProperty() { assertNull(testBlock.getExpiration()); testBlock.setExpiration(123456789L); assertEquals(123456789L, testBlock.getExpiration()); } } @Nested @DisplayName("DFS Resolution Tests") class DFSResolutionTests { @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
public Exception getException() { return this.exception; } @Override public void setExpiration(Long expiration) { this.expiration = expiration; } @Override public Long getExpiration() { return this.expiration; } // Additional Response interface methods @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)