- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 828 for absent (0.03 sec)
-
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no more verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
void testConstructorWithParameters() { // Act context = new PreauthIntegrityNegotiateContext(mockConfig, testHashAlgos, testSalt); // Assert assertEquals(PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE, context.getContextType()); assertArrayEquals(testHashAlgos, context.getHashAlgos());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
rpcUuid.clock_seq_low = CLOCK_SEQ_LOW; rpcUuid.node = NODE; // Act UUID uuid = new UUID(rpcUuid); // Assert assertEquals(TIME_LOW, uuid.time_low, "time_low should match"); assertEquals(TIME_MID, uuid.time_mid, "time_mid 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/SMBSigningDigestTest.java
// Arrange int offset = 0; int length = testData.length; // Act signingDigest.sign(testData, offset, length, request, response); // Assert verify(signingDigest, times(1)).sign(testData, offset, length, request, response); } @Test @DisplayName("Test sign method with different offsets") void testSignWithDifferentOffsets() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C"); // Act byte[] actual = NtlmUtil.getNTHash(password); // Assert assertArrayEquals(expected, actual, "NT hash must match known test vector"); } @Test @DisplayName("getNTHash: verify different passwords produce different hashes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
void toString_rendersHex(byte[] input, String expected) { // Arrange SecurityBlob blob = new SecurityBlob(input); // Act String actual = blob.toString(); // Assert assertEquals(expected, actual, "Hex string should match expected format"); } // Ensures a default-constructed blob starts empty and stable across APIs @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
@DisplayName("Edge: null is not an instance of the interface") void testNullIsNotInstance() { // Assert assertFalse(SessionSetupHandler.class.isInstance(null)); } @Test @DisplayName("Invalid: looking up constructor on interface fails") void testNoConstructorLookup() { // Act & Assert: interfaces have no constructors
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/smb/SmbEnumerationUtilTest.java
// Arrange SmbFile parent = new SmbFile(url); // Act + Assert SmbException ex = assertThrows(SmbException.class, () -> SmbEnumerationUtil.doShareEnum(parent, "*", 0, null, null)); // Assert message indicates which validation failed if (expectDirSlashMsg) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
void defaultConstructor_hasNullMessageAndCause_andDefaultStatus() { // Arrange & Act SMBSignatureValidationException ex = new SMBSignatureValidationException(); // Assert assertNull(ex.getMessage(), "Default ctor should not set a message"); assertNull(ex.getCause(), "Default ctor should not set a cause");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Arrange StaticJAASConfiguration cfg = new StaticJAASConfiguration(); // Act AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored"); // Assert assertNotNull(entries, "Entries array should not be null"); assertEquals(1, entries.length, "Exactly one entry is expected"); AppConfigurationEntry e = entries[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)