- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 982 for verify (0.05 sec)
-
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
assertEquals(48, value.length); // Verify the size field (first 4 bytes) assertEquals(48, (value[0] & 0xFF) | ((value[1] & 0xFF) << 8) | ((value[2] & 0xFF) << 16) | ((value[3] & 0xFF) << 24)); // Verify the zero field (next 4 bytes) assertEquals(0, (value[4] & 0xFF) | ((value[5] & 0xFF) << 8) | ((value[6] & 0xFF) << 16) | ((value[7] & 0xFF) << 24)); // Verify customData part
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
int bytesWritten = info.encode(buffer, 0); // Verify replaceIfExists flag assertEquals(1, buffer[0]); // Verify file name length int nameLength = SMBUtil.readInt4(buffer, 16); assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength); // Verify file name byte[] nameBytes = new byte[nameLength];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
decodedInfo.decode(decodeBuffer); // Verify the decoded data matches assertEquals(domainInfo.name.length, decodedInfo.name.length); assertEquals(domainInfo.name.maximum_length, decodedInfo.name.maximum_length); assertNotNull(decodedInfo.name.buffer); assertEquals(domainInfo.name.maximum_length / 2, decodedInfo.name.buffer.length); // Verify SID assertNotNull(decodedInfo.sid);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
} public void testRead_putSingleByte() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer); int b = in.read(); assertEquals('y', b); verify(hasher).putByte((byte) 'y'); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArray() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
request.setOutputData(mockOutputData); int size = request.size(); // Base size 120 + 100 + 50 = 270, aligned to 8 = 272 assertEquals(272, size); verify(mockInputData).size(); verify(mockOutputData).size(); } @Test @DisplayName("Test writeBytesWireFormat without data") void testWriteBytesWireFormatWithoutData() { setupMockConfig();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
assertEquals("c", it.next().getName()); assertFalse(it.hasNext()); // Verify interactions verify(tree, times(1)).send(isA(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class)); // Verify that Trans2FindNext2 was sent twice for fetching more entries verify(tree, times(2)).send(isA(Trans2FindNext2.class), any(Trans2FindFirst2Response.class));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
verifier.verify(logger, calls(1)).debug("Importing foreign packages into class realm {}", "maven.api"); verifier.verify(logger, calls(1)).debug(" Imported: {} < {}", "group1:artifact1", "test"); verifier.verify(logger, calls(1)).debug(" Excluded: {}", "group1:artifact2:ext:classifier1:null"); verifier.verify(logger, calls(1))Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When outputStream = new SmbFileOutputStream(mockFile); // Then assertNotNull(outputStream); // Verify the AutoCloseable resources were closed verify(autoCloseableMockTreeHandle).close(); verify(autoCloseableMockFileHandle).close(); } @Test void testConstructorWithAppendFlag() throws IOException, CIFSException { // GivenRegistered: 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/http/NetworkExplorerTest.java
} } }; assertDoesNotThrow(() -> networkExplorer.init(servletConfig)); // Verify parameter reading verify(servletConfig).getInitParameter("jcifs.smb.client.domain"); verify(servletConfig).getInitParameter("jcifs.http.enableBasic"); } /** * Test doGet with no authentication - should return 401 */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
verify(mockDelegate).getLanManCompatibility(); verify(mockDelegate).isAllowNTLMFallback(); verify(mockDelegate).isUseRawNTLM(); verify(mockDelegate).isDisablePlainTextPasswords(); verify(mockDelegate).getGuestUsername(); verify(mockDelegate).getGuestPassword(); verify(mockDelegate).isAllowGuestFallback(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)