- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 444 (0.31 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testServerPortUrl() throws Exception { // No context mocks needed for this test SmbResourceLocatorImpl a = locator("smb://server:444/share"); assertEquals("server", a.getServer()); assertEquals(444, a.getPort()); assertEquals(smbUrl("smb://server:444/share"), a.getURL()); SmbResourceLocatorImpl b = locator("smb:///share"); assertNull(b.getServer()); } @Test
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/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.enc_ndr_string(testString); // Expected length: 4 (actual_count) + 4 (offset) + 4 (max_count) + len*2 (unicode) + 2 (null terminator) int expectedLength = 4 + 4 + 4 + (testString.length() * 2) + 2; assertEquals(expectedLength, ndrBuffer.getIndex()); assertEquals(expectedLength, ndrBuffer.getLength());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)