- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 1,187 for setOut (0.04 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
@Override protected URLConnection openConnection(URL u) { return null; // not used } }; @BeforeEach void setup() { when(ctx.getConfig()).thenReturn(config); when(ctx.getCredentials()).thenReturn(creds); when(ctx.getNameServiceClient()).thenReturn(nsc); } private static URL smbUrl(String spec) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL; private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 }; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
private fun configureClientTestRule(): OkHttpClientTestRule { val clientTestRule = OkHttpClientTestRule() clientTestRule.recordTaskRunner = true return clientTestRule } @BeforeEach fun setUp() { platform.assumeNotOpenJSSE() } @AfterEach @Throws(InterruptedException::class) fun tearDown() { clientListener.assertExhausted() } @Test fun textMessage() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
/** * Helper method to create a basic SmbResource mock without pre-stubbing */ private SmbResource createMockResource() { return mock(SmbResource.class); } @BeforeEach void setUp() { // Reset mocks to ensure clean state for each test reset(mockResource, mockLocator, mockContext); } @Nested @DisplayName("Interface Contract Tests") class InterfaceContractTests {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
return e } /** * Stops applying the timeout before the call is entirely complete. This is used for WebSockets * and duplex calls where the timeout only applies to the initial setup. */ fun timeoutEarlyExit() { check(!timeoutEarlyExit) timeoutEarlyExit = true timeout.exit() } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
@Mock private Configuration mockConfig; private FileBothDirectoryInfo fileBothDirectoryInfo; private FileBothDirectoryInfo fileBothDirectoryInfoNonUnicode; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); // Mock the OEM encoding for non-Unicode tests when(mockConfig.getOemEncoding()).thenReturn("Cp850");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
cmd/tier.go
Message: "Specified remote backend is not empty", StatusCode: http.StatusBadRequest, } errTierInvalidConfig = AdminError{ Code: "XMinioAdminTierInvalidConfig", Message: "Unable to setup remote tier, check tier configuration", StatusCode: http.StatusBadRequest, } ) const ( tierConfigFile = "tier-config.bin" tierConfigFormat = 1 tierConfigV1 = 1 tierConfigVersion = 2 )
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 22.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
class Smb2ReadResponseTest extends BaseTest { private Configuration mockConfig; private byte[] outputBuffer; private int outputBufferOffset; private Smb2ReadResponse response; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); outputBuffer = new byte[1024]; outputBufferOffset = 0; response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0)