- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 860 for setMap (0.03 sec)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
class Smb2QueryInfoResponseTest { @Mock private Configuration mockConfig; @Mock private Decodable mockDecodable; private Smb2QueryInfoResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); } @Test @DisplayName("Test constructor initializes with config and info type/class") void testConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
/** * Test class for NetServerEnum2Response */ class NetServerEnum2ResponseTest { @Mock private Configuration mockConfig; private NetServerEnum2Response response; @BeforeEach void setUp() throws Exception { MockitoAnnotations.openMocks(this); // Use real configuration for most tests mockConfig = new BaseConfiguration(false); response = new NetServerEnum2Response(mockConfig);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
clientTestRule .newClientBuilder() .eventListenerFactory(clientTestRule.wrap(eventRecorder)) .build() private val executorService = Executors.newScheduledThreadPool(1) @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @AfterEach fun tearDown() { executorService.shutdown() } @Test @Throws(IOException::class)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
private Configuration mockConfig; private CIFSContext mockContext; private byte[] testFileId; private String testFileName; private Smb2CloseRequest request; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); // Create a test file ID (16 bytes)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
byte[] bindingInfo = calculateBindingInfo(channel); byte[] bindingHash = calculateBindingHash(bindingInfo); channel.setBindingHash(bindingHash); // Send session setup with channel binding Smb2SessionSetupRequest request = new Smb2SessionSetupRequest(); request.setSessionId(session.getSessionId()); request.setFlags(SMB2_SESSION_FLAG_BINDING);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
/** * Test suite for FileFsFullSizeInformation class */ class FileFsFullSizeInformationTest { private FileFsFullSizeInformation fileFsFullSizeInfo; @BeforeEach void setUp() { fileFsFullSizeInfo = new FileFsFullSizeInformation(); } @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@DisplayName("Smb2QueryDirectoryResponse Tests") class Smb2QueryDirectoryResponseTest { @Mock private Configuration mockConfig; private Smb2QueryDirectoryResponse response; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.isUseUnicode()).thenReturn(true); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
@Suppress("deprecation") @Timeout(30) @Tag("Slow") class MockWebServerTest { @RegisterExtension var platform = PlatformRule() private val server = MockWebServer() @BeforeEach fun setUp() { server.start() } @AfterEach fun tearDown() { server.shutdown() } @Test fun defaultMockResponse() { val response = MockResponse()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
import jcifs.dcerpc.ndr.NdrSmall; class lsarpcTest { @Mock private NdrBuffer mockNdrBuffer; @Mock private NdrBuffer mockDeferredNdrBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); // Set the deferred field directly since it's a public field mockNdrBuffer.deferred = mockDeferredNdrBuffer; // Set up deferred buffer chain to avoid NPERegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
eventListenerFactory(clientTestRule.wrap(eventRecorder)) } }.build() private var socksProxy: SocksProxy? = null private var cache: Cache? = null @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() eventRecorder.forbidLock(get(client.connectionPool)) eventRecorder.forbidLock(client.dispatcher) } @AfterEach fun tearDown() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.5K bytes - Viewed (0)