- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 493 for correta (0.11 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
* and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mocked * {@link NdrBuffer} so that the correct method is called with * the correct argument.</li> * <li>passing {@code null} throws {@link NullPointerException}. * </ul> * * The buffer is created with enough capacity for a 64‑bit value. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
"Should return correct message for error 1"); assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2), "Should return correct message for error 2"); assertEquals("DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED", getResultMessageMethod.invoke(null, 3), "Should return correct message for error 3"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
} @Test @DisplayName("createResponse should return Smb2FlushResponse with correct config") void testCreateResponse() throws Exception { Smb2FlushResponse response = request.createResponse(mockContext, request); assertNotNull(response); // Verify response has correct config Field configField = ServerMessageBlock2.class.getDeclaredField("config");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Tests that the getter for the underlying pipe resource returns the correct instance. */ @Test public void testGetPipe() { assertEquals(mockPipeResource, smbPipeHandle.getPipe(), "getPipe() should return the underlying pipe resource."); } /** * Tests that the getter for the input stream returns the correct stream. * @throws CIFSException if an error occurs while getting the stream.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
"flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and // the fields set by the constructor being correct. }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
// Then assertEquals(currentTime, lastModified, "Should return correct last modified time"); assertEquals(currentTime - 1000, lastAccess, "Should return correct last access time"); assertEquals(currentTime - 2000, createTime, "Should return correct create time"); assertTrue(createTime <= lastAccess, "Create time should be before or equal to last access");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
byte[] src = "Test".getBytes(); // Test with non-null source array int nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, src); assertEquals(4, nextOffset, "Should return correct next offset."); assertEquals(src.length, NtlmMessage.readUShort(dest, 0), "Length should be written correctly."); assertEquals(src.length, NtlmMessage.readUShort(dest, 2), "Max length should be written correctly.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
class InterfaceConstantsTests { @Test @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value") void testSmbInfoAllocationConstant() { assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION); } @Test @DisplayName("Should have correct FS_SIZE_INFO constant value") void testFsSizeInfoConstant() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
} /** * Test getInitialSize() returns the correct size. */ @Test void testGetInitialSize() { long expectedSize = 1024L; when(smbFileHandle.getInitialSize()).thenReturn(expectedSize); long actualSize = smbFileHandle.getInitialSize(); assertEquals(expectedSize, actualSize, "getInitialSize should return the correct initial file size.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
int errorCode = 0x00000005; // DCERPC_FAULT_ACCESS_DENIED DcerpcException exception = new DcerpcException(errorCode); assertEquals(errorCode, exception.getErrorCode(), "getErrorCode() should return the correct error code."); } /** * Test getRootCause() method (deprecated). */ @Test void testGetRootCause() { Throwable cause = new IllegalArgumentException("Invalid argument.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)