- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setExpiration (0.09 sec)
-
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/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/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/DfsReferralDataTest.java
// Given long expiration = System.currentTimeMillis(); when(mockReferralData.getExpiration()).thenReturn(expiration); // When long result = mockReferralData.getExpiration(); // Then assertEquals(expiration, result); verify(mockReferralData).getExpiration(); } @Test @DisplayName("Should get next referral") void testNext() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
*/ String getPath(); /** * Get the expiration time of this referral entry * * @return the expiration time of this entry */ long getExpiration(); /** * Get the next referral in the chain * * @return pointer to next referral, points to self if there is no further referral */ DfsReferralData next(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0)