- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 117 for Boundary (0.05 sec)
-
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle); // Mock responses for successful writes to test boundary conditions when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte countsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When Encdec.enc_uint32le(value, buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* methods (writing parameters and handling empty wire formats) and an * informative {@link NtTransQuerySecurityDesc#toString()}. The tests * exercise normal behaviour, boundary values, and the interaction with * the underlying wire‑format helpers. */ @ExtendWith(MockitoExtension.class) class NtTransQuerySecurityDescTest { /** * Helper that mimics the write logic used by
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
assertEquals(0, smbComTreeDisconnect.readBytesWireFormat(buffer, i)); } } /** * Test boundary conditions for buffer indices */ @Test @DisplayName("Test boundary conditions for buffer indices") public void testBoundaryConditions() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Assertions.assertEquals(1_650_000_000_000L, info.getLastAccessTime(), "last access should match"); Assertions.assertEquals(42L, info.getSize(), "size should match"); } // --- Parameterized: edge and boundary values across getters --- @ParameterizedTest(name = "attributes={0}, c={1}, w={2}, a={3}, size={4}") @MethodSource("valueProvider")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8)); } @Test @DisplayName("Should handle special byte values correctly") void testSpecialByteValues() { // Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java
assertTrue("Character '" + c + "' should be a valid URL character", CharUtil.isUrlChar(c)); } } public void test_isUrlChar_boundaryChars() { // Test boundary characters for ranges assertTrue(CharUtil.isUrlChar('a')); // first lowercase assertTrue(CharUtil.isUrlChar('z')); // last lowercase assertTrue(CharUtil.isUrlChar('A')); // first uppercase
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
* **MockWebServer**: bodyLimit, port, protocolNegotiationEnabled, protocols, requestCount, serverSocketFactory * **MultipartBody.Part**: body, headers * **MultipartBody.**: boundary, parts, size, type * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner, connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0)