- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,154 for _shouldn (0.04 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Assert - verify inheritance chain assertTrue(msg instanceof samr.SamrConnect2, "Should extend SamrConnect2"); assertTrue(msg instanceof DcerpcMessage, "Should extend DcerpcMessage"); assertTrue(msg instanceof NdrObject, "Should extend NdrObject"); } @Test @DisplayName("should inherit getOpnum method") void testGetOpnumMethod() { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
int encodedLen = encodable.encode(dest, 0); // Verify encoded length assertEquals(3, encodedLen, "Encoded length should be equal to the specified length"); // Verify content assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset"); } @Test void testEncodeWithOffset() { // Test encoding with a destination offsetRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
if (value == 4) { // Should succeed assertDoesNotThrow(() -> { int result = response.readBytesWireFormat(buffer, 0); assertEquals(4, result); }); } else { // Should throw exception SMBProtocolDecodingException exception =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
// Should encode successfully at the beginning int encoded = context.encode(smallBuffer, 0); assertEquals(6, encoded); // Should handle encoding at the end of buffer correctly assertDoesNotThrow(() -> context.encode(smallBuffer, 4)); } @Test @DisplayName("Should preserve data integrity through encode/decode cycle")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
final List<String> indices = (List<String>) method.invoke(suggester, aliasName); assertNotNull("Indices list should not be null", indices); assertEquals("Should find exactly two indices", 2, indices.size()); assertTrue("Should contain first index", indices.contains(index1)); assertTrue("Should contain second index", indices.contains(index2)); // Cleanup
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
} @Test @DisplayName("Constructor should initialize TransWaitNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); // Verify parent class is properly initialized assertTrue(response instanceof SmbComTransactionResponse); } @Test @DisplayName("writeSetupWireFormat should return 0") void testWriteSetupWireFormat() { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event"); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event"); assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event"); } @Test @DisplayName("Test reset statistics")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0)