- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 468 for SHOULD (0.65 sec)
-
src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java
} @Test @DisplayName("DCERPC_LAST_FRAG should have correct value") void testDcerpcLastFrag() { assertEquals(0x02, DcerpcConstants.DCERPC_LAST_FRAG, "DCERPC_LAST_FRAG should be 0x02"); } @Test @DisplayName("DCERPC_PENDING_CANCEL should have correct value") void testDcerpcPendingCancel() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then assertNotNull(nonce1, "First secure nonce should not be null"); assertNotNull(nonce2, "Second secure nonce should not be null"); assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different"); assertTrue(nonce1.length > 0, "Secure nonce should have proper length"); } @Test @DisplayName("Should handle concurrent secure nonce generation safely")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertNotNull(key1, "Should generate key 1"); assertNotNull(key2, "Should generate key 2"); assertEquals(32, key1.length, "Key 1 should have correct length"); assertEquals(32, key2.length, "Key 2 should have correct length"); assertFalse(Arrays.equals(key1, key2), "Random keys should be different"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureCredentialStorageTest.java
assertNotNull(encryptedStr, "Encrypted string should not be null"); assertFalse(encryptedStr.contains("TestPassword456"), "Plaintext should not be visible in encrypted string"); // Should be valid base64 assertTrue(encryptedStr.matches("^[A-Za-z0-9+/]*={0,2}$"), "Should be valid Base64 format"); // Decrypt from string
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
assertTrue(completed, "All verify operations should complete"); assertEquals(threadCount * operationsPerThread, completedVerifies.get(), "All verifies should complete"); // Performance check - should complete reasonably fast with optimized locking long duration = endTime - startTime; assertTrue(duration < 5000, "Concurrent verifies should complete within 5 seconds"); } }Registered: 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/io/Smb2WriteRequestTest.java
} @Test @DisplayName("Should initialize with SMB2_WRITE command") void testCommandInitialization() { Smb2WriteRequest writeRequest = new Smb2WriteRequest(mockConfig, testFileId); // Command is set in parent constructor assertNotNull(writeRequest); } @Test @DisplayName("Should accept null file ID in constructor")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
assertEquals(mid, request.getMid(), "MID should be set correctly"); assertEquals(asyncId, request.getAsyncId(), "AsyncId should be set correctly"); assertEquals(credits, request.getCredit(), "Credits should be set correctly"); assertEquals(treeId, request.getTreeId(), "Tree ID should be set correctly"); assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set for non-zero asyncId"); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
} @Test @DisplayName("Should align size to 8-byte boundary") void testSizeAlignment() { int size = request.size(); assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary"); } @ParameterizedTest @DisplayName("Should calculate size for various lock counts")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Test GoodBot - should parse valid directives and ignore invalid ones assertNotNull(robotsTxt.getDirective("goodbot")); assertFalse(robotsTxt.allows("/admin/", "GoodBot")); assertTrue(robotsTxt.allows("/public/", "GoodBot")); // Invalid directives should not cause parsing to fail // Test crawl-delay with invalid values // Invalid number should be ignored, valid ones should workRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K 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)