- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 3,084 for shouldn (0.06 sec)
-
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) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K 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) -
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) -
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"); } @Test
Registered: 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) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
@DisplayName("Constructor with null pipe name should handle gracefully") void testConstructorWithNullPipeName() { // Act transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null); // Assert assertNotNull(transWaitNamedPipe); assertNull(transWaitNamedPipe.name); } @Test @DisplayName("Constructor with empty pipe name should handle gracefully")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0)