- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testRenewCredentials (0.07 sec)
-
src/test/java/jcifs/context/AbstractCIFSContextTest.java
context = new TestAbstractCIFSContext(null); // Test with null credentials assertFalse(context.hasDefaultCredentials()); } @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException { assertFalse(context.isCloseCalled());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
// Then assertEquals(newContext, context); verify(mockContext).withCredentials(creds); } @Test @DisplayName("Should renew credentials") void testRenewCredentials() { // Given String hint = "hint"; Throwable error = new Exception(); when(mockContext.renewCredentials(hint, error)).thenReturn(true); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)