- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 474 for incorrect (0.07 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/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/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) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
* * <p>This bug is this: if you create an iterator from a TreeSet and call next() on that iterator * when hasNext() is false, so that next() throws a NoSuchElementException, then subsequent calls * to remove() will incorrectly throw an IllegalStateException, instead of removing the last * element returned. * * <p>See <a href="https://bugs.openjdk.org/browse/JDK-6529795">JDK-6529795</a> */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K 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/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/pac/PacSidAttributesTest.java
} /** * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}. */ @Test void testGetAttributes() { // Test the getAttributes method assertEquals(attributes, pacSidAttributes.getAttributes(), "getAttributes should return the correct attributes."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K 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/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
class ConstantsTests { @Test @DisplayName("Should have correct FLAGS_NAME_LIST_REFERRAL value") void testFlagsNameListReferralConstant() { assertEquals(0x0002, Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL); } @Test @DisplayName("Should have correct FLAGS_TARGET_SET_BOUNDARY value") void testFlagsTargetSetBoundaryConstant() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
assertEquals(mockSid, pacGroup.getId(), "getId() should return the correct SID."); } /** * Test method for {@link jcifs.pac.PacGroup#getAttributes()}. */ @Test void testGetAttributes() { // Test the getAttributes method assertEquals(attributes, pacGroup.getAttributes(), "getAttributes() should return the correct attributes."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0)