- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 818 for rock (0.03 sec)
-
android/guava/src/com/google/common/base/Suppliers.java
in.defaultReadObject(); lock = new Object(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } private static final class NonSerializableMemoizingSupplier<T extends @Nullable Object> implements Supplier<T> { private final Object lock = new Object();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
class NodeStatusResponseTest { @Mock private Configuration mockConfig; @Mock private NbtAddress mockQueryAddress; private NodeStatusResponse response; @BeforeEach void setUp() throws Exception { // Setup mock configuration with lenient stubbing lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); // Setup mock query addressRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
import static org.mockito.Mockito.verify; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; class NameQueryRequestTest { @Mock private Configuration mockConfig; @Mock private Name mockName; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
@Test @DisplayName("writeParametersWireFormat with mock request buffer") void testWriteParametersWireFormatWithMock() throws Exception { // Given String filename = "\\\\server\\share"; trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); // Mock the request buffer DfsReferralRequestBuffer mockRequest = mock(DfsReferralRequestBuffer.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for the NdrObject abstract class. * This test uses a concrete implementation to verify the abstract contract. */ @ExtendWith(MockitoExtension.class) class NdrObjectTest { @Mock private NdrBuffer mockBuffer; private ConcreteNdrObject ndrObject;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
CommonServerMessageBlockRequest next = mock(CommonServerMessageBlockRequest.class, withSettings().extraInterfaces(RequestWithFileId.class)); resp.prepare(next); verify((RequestWithFileId) next, times(1)).setFileId(eq(fileId)); } @Test void prepare_doesNothing_whenNotReceived() { Configuration config = Mockito.mock(Configuration.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
class InterfaceMethodContractTests { @Test @DisplayName("Should define getSID method returning SID") void shouldDefineMethods() { ACE ace = mock(ACE.class); SID mockSid = mock(SID.class); when(ace.getSID()).thenReturn(mockSid); SID result = ace.getSID(); assertSame(mockSid, result); verify(ace).getSID(); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
@ExtendWith(MockitoExtension.class) @DisplayName("SmbComSetInformationResponse tests") public class SmbComSetInformationResponseTest { @Mock private Configuration mockConfig; private SmbComSetInformationResponse response; @BeforeEach void setUp() { // Setup mock configuration to avoid NPE when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSetInformationResponse(mockConfig);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0)