- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for doNothing (0.05 sec)
-
src/test/java/jcifs/internal/RequestWithPathTest.java
@DisplayName("Test setResolveInDfs sets flag correctly") void testSetResolveInDfs() { // Test with mock doNothing().when(requestWithPath).setResolveInDfs(true); requestWithPath.setResolveInDfs(true); verify(requestWithPath, times(1)).setResolveInDfs(true); doNothing().when(requestWithPath).setResolveInDfs(false); requestWithPath.setResolveInDfs(false);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
* * @author Olivier Pernet */ @GwtCompatible @NullUnmarked public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() { assertSame(Runnables.doNothing(), Runnables.doNothing()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
when(mockHandle.getMaxRecv()).thenReturn(maxRecv); // Use lenient stubbing to handle multiple calls lenient().doNothing().when(mockBuffer).enc_ndr_short(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_long(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt()); DcerpcBind bindWithParams = new DcerpcBind(mockBinding, mockHandle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
* * @author Olivier Pernet */ @GwtCompatible @NullUnmarked public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() { assertSame(Runnables.doNothing(), Runnables.doNothing()); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(trans2.ensureConnected()).thenThrow(new IOException("Connection failed")); doNothing().when(trans2).close(); when(trans1.unwrap(SmbTransportImpl.class)).thenReturn(trans1); when(trans1.ensureConnected()).thenReturn(true); when(trans1.acquire()).thenReturn(trans1); doNothing().when(trans1).close(); // Return mocked transports
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
// Arrange doNothing().when(negotiationResponse).setupRequest(null); // Act negotiationResponse.setupRequest(null); // Assert verify(negotiationResponse).setupRequest(null); } @Test @DisplayName("Test setupResponse method") void testSetupResponse() { // Arrange doNothing().when(negotiationResponse).setupResponse(response);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame; import static org.junit.jupiter.api.Assertions.assertSame; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0)