- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,745 for _shouldn (0.07 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertNotNull(pairs, "Decoded pairs should not be null"); assertEquals(1, pairs.size(), "Should have decoded one pair"); AvPair pair = pairs.get(0); assertEquals(unknownType, pair.getType(), "Pair type should match unknown type"); assertFalse(pair instanceof AvFlags, "Should not be decoded as specific type"); assertFalse(pair instanceof AvTimestamp, "Should not be decoded as specific type"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
"Dialect " + String.format("0x%04X", dialect) + " should be >= SMB 2.0.2"); } @Test @DisplayName("Dialects should be in ascending order") void testDialectOrdering() { assertTrue(Smb2Constants.SMB2_DIALECT_0202 < Smb2Constants.SMB2_DIALECT_0210, "SMB 2.0.2 should be less than SMB 2.1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals(TIME_LOW, uuid.time_low, "time_low should match"); assertEquals(TIME_MID, uuid.time_mid, "time_mid should match"); assertEquals(TIME_HI_AND_VERSION, uuid.time_hi_and_version, "time_hi_and_version should match"); assertEquals(CLOCK_SEQ_HI_AND_RESERVED, uuid.clock_seq_hi_and_reserved, "clock_seq_hi_and_reserved should match");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
assertNotNull(writeRequest, "Smb2WriteRequest should implement RequestWithFileId"); assertNotNull(flushRequest, "Smb2FlushRequest should implement RequestWithFileId"); assertNotNull(ioctlRequest, "Smb2IoctlRequest should implement RequestWithFileId"); assertNotNull(lockRequest, "Smb2LockRequest should implement RequestWithFileId"); } @Test @DisplayName("Should set file ID correctly in Smb2CloseRequest")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be written correctly"); assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly"); assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertNotNull(password, "Password char array should not be null"); assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertTrue(iterator.hasNext(), "Should have first element"); SmbResource first = iterator.next(); assertNotNull(first, "First element should not be null"); assertEquals("file1.txt", first.getName()); assertTrue(iterator.hasNext(), "Should have second element"); SmbResource second = iterator.next(); assertNotNull(second, "Second element should not be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K 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/smb/SecurityBlobTest.java
// Assert assertNotNull(blob.get(), "get() should never return null for default instance"); assertEquals(0, blob.get().length, "Internal array should be empty"); assertEquals(0, blob.length(), "length() should be 0 for empty"); assertEquals("", blob.toString(), "toString() of empty should be empty string"); assertTrue(blob.equals(blob), "Object should be equal to itself");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0)