- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 191 for Locks (0.03 seconds)
-
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
/** * Sets up the mocks and the NtlmHttpURLConnection instance before each test. * @throws IOException */ @BeforeEach void setUp() throws IOException { // Create a real URL instead of mocking to avoid protocol issues mockUrl = new URL("http://test.example.com/path"); // Basic setup for mocks to avoid NullPointerExceptionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(mockBufferCache.getBuffer()).thenReturn(new byte[8192]); } /** * Helper method to create a DcerpcPipeHandle with injected mocks * Uses mock to avoid constructor issues while allowing real method calls */ private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception { // Create a mock without calling the constructor
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.SmbTree; import jcifs.internal.CommonServerMessageBlockResponse; import jcifs.internal.Request; /** * Tests for SmbTreeInternal interface behavior via mocks. * Since this is an interface, we validate its public API contract * through interaction testing and generic type usage. */ @ExtendWith(MockitoExtension.class) class SmbTreeInternalTest { @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
import jcifs.smb.SmbException; @ExtendWith(MockitoExtension.class) class SamrPolicyHandleTest { @Mock private DcerpcHandle mockHandle; @BeforeEach void setUp() { // Reset mocks before each test reset(mockHandle); } @Test void testConstructor_SuccessfulConnect4() throws IOException { // Test case: Constructor with successful MsrpcSamrConnect4Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.witness.WitnessRegistration.WitnessRegistrationState; /** * Unit tests for WitnessClient class using mocks. */ @ExtendWith(MockitoExtension.class) public class WitnessClientTest { @Mock private CIFSContext mockContext; @Mock private Configuration mockConfig; @MockCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
// Use ArgumentCaptor to capture the MsrpcSamrCloseHandle instance passed to sendrecv private ArgumentCaptor<MsrpcSamrCloseHandle> closeHandleCaptor; @BeforeEach void setUp() { // Initialize mocks and captors before each test MockitoAnnotations.openMocks(this); openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class); closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), type RtMetrics struct, Filler [4]uint32 pkg syscall (darwin-arm64), type RtMetrics struct, Hopcount uint32 pkg syscall (darwin-arm64), type RtMetrics struct, Locks uint32 pkg syscall (darwin-arm64), type RtMetrics struct, Mtu uint32 pkg syscall (darwin-arm64), type RtMetrics struct, Pksent uint32 pkg syscall (darwin-arm64), type RtMetrics struct, Recvpipe uint32
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
fail("Failed to access servername field: " + e.getMessage()); } } @Test void testGetEntriesWithMultipleShares() throws Exception { // Create real ShareInfo1 objects instead of mocks srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1(); shareInfo1.netname = "Share1"; shareInfo1.type = 0; shareInfo1.remark = "Remark for Share1";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0) -
build-tools-internal/build.gradle
integTestImplementation("org.junit.jupiter:junit-jupiter") { because 'allows to write and run Jupiter tests' } integTestImplementation("net.bytebuddy:byte-buddy:1.11.0") { because 'Generating dynamic mocks of internal libraries like JdkJarHell' } testRuntimeOnly("org.junit.vintage:junit-vintage-engine") { because 'allows JUnit 3 and JUnit 4 tests to run' }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 18:10:22 GMT 2021 - 11.3K bytes - Click Count (0)