- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for Fresh (0.24 sec)
-
src/test/java/jcifs/util/transport/ResponseTest.java
// MockitoExtension handles this automatically for @Mock fields, but good to be aware. } @Test void testIsReceived() { // Test initial state (should be false by default for a fresh mock) assertFalse(mockResponse.isReceived()); // Simulate received status when(mockResponse.isReceived()).thenReturn(true); assertTrue(mockResponse.isReceived());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
// Create fresh authentication NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(baseContext, WORKGROUP, USERNAME, PASSWORD); CIFSContext result = baseContext.withCredentials(auth); // Add a unique identifier to help with debugging log.debug("Created fresh context for test isolation: {}", System.currentTimeMillis());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
name: "Correct-Decom-Pool-Removed", expectedErr: false, expectedUpdate: true, }, { meta: poolMeta{}, // no-pool info available fresh setup. pools: pools, name: "Correct-Fresh-Setup", expectedErr: false, expectedUpdate: true, }, { meta: nmeta2, pools: orderChangePools,
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that isStale returns false for a fresh handle. */ @Test public void testIsStale_ReturnsFalseWhenNotStale() { when(smbPipeHandle.isStale()).thenReturn(false); assertFalse(smbPipeHandle.isStale(), "isStale() should return false for a fresh handle."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
assertThat(client.connectionPool.connectionCount()).isEqualTo(2) val c0e0 = server.takeRequest() assertThat(c0e0.connectionIndex).isEqualTo(0) // Fresh connection. val c1e0 = server.takeRequest() assertThat(c1e0.connectionIndex).isEqualTo(1) // Fresh connection. } /** * Check we would use an existing connection to a later DNS result instead of connecting to the * first DNS result for the first time.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1) val request = Request.Builder().url("https://facebook.com/robots.txt").build() var socketClass: String? = null // Need fresh client to reset sslSocketFactoryOrNull client = OkHttpClient .Builder() .eventListenerFactory( clientTestRule.wrap( object : EventListener() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(ioe.cause!!).isInstanceOf<EOFException>() } } // TODO GET preferred order - with tests to confirm this // 1. successful fresh cached GET response // 2. unsuccessful (404, 500) fresh cached GET response // 3. successful network response // 4. successful stale cached GET response // 5. unsuccessful response @Test fun usesCache() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
cmd/format-erasure.go
Version string `json:"version"` // Version of 'xl' format. Disk string `json:"drive"` // Disk field carries assigned disk uuid. // JBOD field carries the input disk order generated the first // time when fresh disks were supplied. JBOD []string `json:"jbod"` } `json:"xl"` // Erasure field holds xl format. } // Represents the V2 backend disk structure version // under `.minio.sys` and actual data namespace.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
// Execute first time Object result1 = scriptExecutor.execute("modifyEngine", "script1"); assertEquals(2, result1); // executor + newKey // Execute second time - params should be fresh Object result2 = scriptExecutor.execute("modifyEngine", "script2"); assertEquals(2, result2); // Should still be 2, not accumulating } public void test_shutdown_withListener() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
@ExtendWith(MockitoExtension.class) class Smb2LogoffRequestTest { @Mock Configuration configuration; @Mock CIFSContext cifsContext; // Helper to create a fresh request under test private Smb2LogoffRequest newRequest() { return new Smb2LogoffRequest(configuration); } @Test @DisplayName("size() returns 8-byte aligned value (header + 4)")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)