- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,084 for shouldn (0.04 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
assertEquals(0, buffer[13]); assertEquals((byte) 0xFF, buffer[9]); // Should not modify before offset assertEquals((byte) 0xFF, buffer[14]); // Should not modify after encoded data } @Test @DisplayName("Should handle offset in decode") void testDecodeWithOffset() throws SMBProtocolDecodingException { // Arrange
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/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
} @Test @DisplayName("Constructor should initialize TransPeekNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); assertTrue(response instanceof SmbComTransactionResponse); assertEquals(0, response.getAvailable()); } @Test @DisplayName("Should verify status constants are correctly defined") void testStatusConstants() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/update_test.go
} else if user.ID == 0 { t.Fatalf("user's primary value should not zero, %v", user.ID) } else if user.UpdatedAt.IsZero() { t.Fatalf("user's updated at should not zero, %v", user.UpdatedAt) } lastUpdatedAt = user.UpdatedAt if err := DB.Model(user).Update("Age", 10).Error; err != nil { t.Errorf("errors happened when update: %v", err) } else if user.Age != 10 { t.Errorf("Age should equals to 10, but got %v", user.Age) }Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertTrue(DialectVersion.SMB302.compareTo(DialectVersion.SMB311) < 0); } @Test @DisplayName("Should identify SMB1 vs SMB2+ versions") void testSMBVersionIdentification() { // SMB1 should not be SMB2 assertFalse(DialectVersion.SMB1.isSMB2()); // SMB2+ versions should be identified as SMB2 assertTrue(DialectVersion.SMB202.isSMB2()); assertTrue(DialectVersion.SMB210.isSMB2());
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/smb/SmbFileIntegrationTest.java
assertFalse(file.exists(), "File should not exist initially"); file.createNewFile(); assertTrue(file.exists(), "File should exist after creation"); assertTrue(file.isFile(), "Should be identified as a file"); assertFalse(file.isDirectory(), "Should not be identified as a directory"); assertEquals(0, file.length(), "New file should have zero length"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, trans.maxParameterCount, "The maxParameterCount should be 2."); assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
tests/scan_test.go
t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3) } DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res) if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
int modifiers = field.getModifiers(); assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public"); assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static"); assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final"); } } @Test @DisplayName("Test constant values are unique")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K 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)