- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 747 for correcta (0.08 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } @Nested @DisplayName("Command Constants Tests") class CommandConstantsTests { @Test @DisplayName("Should have correct command constants") void testCommandConstants() { assertEquals(0x00, ServerMessageBlock2.SMB2_NEGOTIATE); assertEquals(0x01, ServerMessageBlock2.SMB2_SESSION_SETUP);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(SMB_COM_WRITE, write.command, "Command should be SMB_COM_WRITE"); } /** * Test writeParameterWordsWireFormat writes correct bytes */ @Test public void testWriteParameterWordsWireFormat() { // Arrange SmbComWrite write = new SmbComWrite(); write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} /* * This is somewhat of a weak test; we verify that all of the methods are * correct, but not that they're actually forwarding correctly. We also rely * on the other tests (e.g., SynchronizedSetTest) to verify that the * collection views are synchronized correctly. */ public void testSize() { int unused = create().size(); } public void testIsEmpty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// Then: Should parse correctly assertNotNull(binding); assertEquals(expectedProto, binding.getProto()); assertEquals(expectedServer, binding.getServer()); assertEquals(expectedEndpoint, binding.getEndpoint()); } @ParameterizedTest @DisplayName("Should handle IPv6 addresses correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetType() { assertEquals(SmbConstants.TYPE_FILESYSTEM, fileBothDirectoryInfo.getType()); } @Test @DisplayName("Test getFileIndex returns correct value") void testGetFileIndex() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); int expectedFileIndex = 0x12345678;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("0011", Hexdump.toHexString(data4, 2, 4)); // Bug: ignores srcIndex, reads from 0 } @Test @DisplayName("Should perform hexdump with correct formatting") void testHexdump() { // Capture output ByteArrayOutputStream baos = new ByteArrayOutputStream(); PrintStream ps = new PrintStream(baos);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
cifsContextWrapper = new CIFSContextWrapper(mockDelegate); } @Test void testConstructor() { // Verify that the delegate is correctly set assertNotNull(cifsContextWrapper); } @Test void testGetSmbResource() throws CIFSException, MalformedURLException { // Test get(String url) method
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position"); } @Test @DisplayName("findUNITermination should throw exception when termination not found") void testFindUNITerminationNotFound() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should handle offset correctly") void testSignWithOffset() { byte[] largeData = new byte[256]; int offset = 64; Arrays.fill(largeData, (byte) 0x00); digest.sign(largeData, offset, 128, request, response); // Verify signature is placed at correct locationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertNull(context.getSalt()); } } @Nested @DisplayName("Context Type Tests") class ContextTypeTests { @Test @DisplayName("Should return correct context type") void testGetContextType() { PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0)