- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 3,060 for Shouldn (0.03 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should initialize with SMB2_READ command") void testCommandInitialization() { Smb2ReadRequest readRequest = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0); // Command is set in parent constructor assertNotNull(readRequest); } @Test @DisplayName("Should accept null file ID in constructor")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
byte[] buffer = new byte[256]; int written = trans2QueryPathInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
void testGetConfig() { when(smbTreeHandle.getConfig()).thenReturn(mockConfig); Configuration config = smbTreeHandle.getConfig(); assertNotNull(config, "Configuration should not be null"); assertEquals(mockConfig, config, "Should return the mock Configuration object"); } /** * Test for close() method. * Verifies that the close method can be called without throwing an exception.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
// key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest) assertNull(limitedManager.getLease(key1)); // key2 should still exist (not the oldest) assertNotNull(limitedManager.getLease(key2)); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
assertNotNull(region, "Send region should not be null"); assertTrue(region.getSize() >= 1024, "Region should be at least requested size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.REMOTE_READ), "Should have remote read access"); // Verify provider was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct."); SmbShareInfo share2 = (SmbShareInfo) response.results[1]; assertEquals("IPC$", share2.getName().trim(), "Share 2 name should be correct."); assertEquals(3, share2.type, "Share 2 raw type should be 3."); assertEquals("Inter-Process Communication", share2.remark.trim(), "Share 2 remark should be correct."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which * <i>return</i> iterables should make every attempt to return ones of the robust variety. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor."); assertEquals(message, exception.getMessage(), "Message should match the input."); assertEquals(cause, exception.getCause(), "Cause should match the input."); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the same cause as getCause()."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} else { fail("Inconsistent behavior: first=" + first + ", second=" + second); } // Third call should return the same cached Subject instance Subject third = auth.getSubject(); assertEquals(second, third, "Subsequent calls should return same cached result"); // Refresh should clear the cache auth.refresh();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
tests/connpool_test.go
db.Logger = DB.Logger if err != nil { t.Fatalf("Should open db success, but got %v", err) } tx := db.Begin() user := *GetUser("transaction", Config{}) if err = tx.Save(&user).Error; err != nil { t.Fatalf("No error should raise, but got %v", err) } if err = tx.First(&User{}, "name = ?", "transaction").Error; err != nil { t.Fatalf("Should find saved record, but got %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 5.5K bytes - Viewed (0)