- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for testRenewCredentials (0.14 seconds)
-
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());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (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); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0)