- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 3,084 for shouldn (0.04 sec)
-
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
// Assert assertNotNull(entries, "Entries array should not be null"); assertEquals(1, entries.length, "Exactly one entry is expected"); AppConfigurationEntry e = entries[0]; assertNotNull(e, "Entry should not be null"); assertEquals(EXPECTED_LOGIN_MODULE, e.getLoginModuleName(), "Login module should be Kerberos");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
t.Fatalf("Should find 1 tags after Delete") } if DB.Model(&blog).Association("Tags").Count() != 1 { t.Fatalf("Blog should has three tags after Delete") } DB.Model(&blog).Association("Tags").Delete(tag3) var tags4 []Tag DB.Model(&blog).Association("Tags").Find(&tags4) if !compareTags(tags4, []string{"tag6"}) { t.Fatalf("Tag should not be deleted when Delete with a unrelated tag")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
} @Test @DisplayName("Should handle retry policy correctly") void testRetryPolicy() { // Given SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(3, 1000, 10000, 2.0, true); exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout occurred", null, policy, null); // When/Then - Should retry for attempts 1 and 2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i], "Reserved byte at position " + i + " should remain unchanged"); } } @Test @DisplayName("Should encode single chunk data correctly") void testEncodeSingleChunk() { // Given SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
/** * Test class for StringUtil utility methods */ class StringUtilTest { @Test @DisplayName("Should join single element without delimiter") void testJoinSingleElement() { String result = StringUtil.join(",", "hello"); assertEquals("hello", result); } @Test @DisplayName("Should join two elements with delimiter") void testJoinTwoElements() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
cancel = constructor.newInstance(mockConfig, 1); } @Test @DisplayName("isCancel should return true") void testIsCancelReturnsTrue() { assertTrue(cancel.isCancel()); } @Test @DisplayName("writeParameterWordsWireFormat should return 0") void testWriteParameterWordsReturnsZero() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
tests/group_by_test.go
t.Errorf("name should be groupby, but got %v, total should be 60, but got %v", name, total) } if err := DB.Model(&User{}).Select("name, sum(age) as total").Where("name LIKE ?", "groupby%").Group("name").Having("name = ?", "groupby1").Row().Scan(&name, &total); err != nil { t.Errorf("no error should happen, but got %v", err) } if name != "groupby1" || total != 660 {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertTrue(exception instanceof RuntimeCIFSException, "Should extend RuntimeCIFSException"); assertTrue(exception instanceof RuntimeException, "Should be a RuntimeException"); } @Test @DisplayName("Message constructor should create exception with specified message") void testMessageConstructor() { // Given & When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0)