- Sort Score
- Result 10 results
- Languages All
Results 1581 - 1590 of 1,669 for testInt (0.11 sec)
-
docs/changelogs/changelog_2x.md
* New: Fold `MockWebServerRule` into `MockWebServer`. This makes it easier to write JUnit tests with `MockWebServer`. The `MockWebServer` library now depends on JUnit, though it continues to work with all testing frameworks. * Fix: `FormEncodingBuilder` is now consistent with browsers in which characters it escapes. Previously we weren’t percent-encoding commas, parens, and other characters.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
private SMB1SigningDigest mockDigest; @Mock private ServerMessageBlock mockResponse; private TestServerMessageBlock testBlock; /** * Test implementation of ServerMessageBlock for testing */ private static class TestServerMessageBlock extends ServerMessageBlock { private int paramWordsWritten = 0; private int bytesWritten = 0; private int paramWordsRead = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
*/ @Test void testDoFile() throws Exception { initializeNetworkExplorer(false, "jCIFS"); // Setup mock file with minimal required behavior String content = "File content for testing"; byte[] contentBytes = content.getBytes(); when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; import com.google.common.cache.TestingRemovalListeners.QueuingRemovalListener; import com.google.common.collect.Iterators; import com.google.common.testing.FakeTicker; import com.google.common.util.concurrent.Callables; import java.util.List; import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.concurrent.atomic.AtomicInteger;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
// Test with matching bad word String[] badWords2 = { "test", "bad" }; assertTrue(item.isBadWord(badWords2)); // Test with partial match item.setText("testing something"); String[] badWords3 = { "test" }; assertTrue(item.isBadWord(badWords3)); } @Test public void testToEmptyMap() { // Test toEmptyMap method
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.12.md
In-tree cloud provider bug fixes and improvements included: - Adding initial Zones support to the provider using vSphere Tags - Improving the testing harness for the cloud provider by introducing vcsim for automated testing - Fixing a bug that was preventing updates from 1.10 to 1.11
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Feb 06 06:04:15 UTC 2020 - 293.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java
processCalled = true; processOrigin = origin; processRequest = request; processResponse = response; // Simulate adding headers for testing if (response instanceof HttpServletResponse) { HttpServletResponse httpResponse = (HttpServletResponse) response; httpResponse.addHeader(ACCESS_CONTROL_ALLOW_ORIGIN, origin);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
request.setFileInfoClass((byte) 0x04); request.setAdditionalInformation(0x12345678); request.setQueryFlags(0xABCDEF00); try { // Set outputBufferLength for testing Field outputBufferLengthField = Smb2QueryInfoRequest.class.getDeclaredField("outputBufferLength"); outputBufferLengthField.setAccessible(true); outputBufferLengthField.set(request, 0x8000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
if (entry != null) { entry.invalidate(); } invalidateChildren(child); // Recursive } } } } ``` ## 8. Testing Strategy ### 8.1 Unit Tests ```java @Test public void testDirectoryCacheEntry() { DirectoryCacheEntry entry = new DirectoryCacheEntry(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.CertificatePinner.Companion.pin import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0)