- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for expectedData (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Verify correct portion of data is copied byte[] expectedData = new byte[partialLength]; System.arraycopy(TEST_DATA, partialOffset, expectedData, 0, partialLength); byte[] copiedData = new byte[partialLength]; System.arraycopy(dst, dstIndex, copiedData, 0, partialLength); assertArrayEquals(expectedData, copiedData); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
// Test with mock String expectedPath = "/share/folder/file.txt"; when(requestWithPath.getPath()).thenReturn(expectedPath); assertEquals(expectedPath, requestWithPath.getPath()); verify(requestWithPath, times(1)).getPath(); // Test with implementation testImplementation.setPath(expectedPath); assertEquals(expectedPath, testImplementation.getPath()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
cmd/erasure-healing_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 48.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
+ "=== Cross-Platform Path Test [" + fsName + "] ===\n" + "Expected path pattern: " + expectedPath + "\n" + "Actual location: " + actualLocation + "\n" + "Contains expected pattern: " + actualLocation.contains(expectedPath) + "\n" + "File.separator on this system: '" + File.separator + "'"); } } /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
// The implementation returns empty strings as empty strings, not null assertEquals(expectedShare.isEmpty() ? "" : expectedShare, result.getShare()); assertEquals(expectedPath.isEmpty() ? "" : expectedPath, result.getPath()); } @Test @DisplayName("Should handle path with multiple backslashes") void testPathWithMultipleBackslashes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 0); // nodeOffset (0 = null) // Write path string at offset 22 bb.position(22); String expectedPath = "\\\\test"; bb.put(expectedPath.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // null terminator // Decode referral.decode(testBuffer, 0, testBuffer.length); // Check
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0)