- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,764 for shouldn (0.04 sec)
-
tests/transaction_test.go
t.Fatalf("Should find saved record") } return nil }); err != nil { t.Fatalf("no error should return, but got %v", err) } if err := DB.First(&User{}, "name = ?", user.Name).Error; err != nil { t.Fatalf("Should find saved record") } if err := DB.First(&User{}, "name = ?", user1.Name).Error; err == nil { t.Fatalf("Should not find rollbacked record") }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then assertNotNull(nonce1, "First secure nonce should not be null"); assertNotNull(nonce2, "Second secure nonce should not be null"); assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different"); assertTrue(nonce1.length > 0, "Secure nonce should have proper length"); } @Test @DisplayName("Should handle concurrent secure nonce generation safely")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/PluginUpgradeCliTest.java
assertFalse(options.all().isPresent(), "--all should not be present by default"); assertFalse(options.infer().isPresent(), "--infer should not be present by default"); assertFalse(options.model().isPresent(), "--fix-model should not be present by default"); assertFalse(options.model().isPresent(), "--model should not be present by default"); // But the goal should be present
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:48:39 UTC 2025 - 9.9K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
assertTrue(result.success(), "Result should be successful when no errors"); assertEquals(2, result.processedCount(), "Should have 2 processed POMs"); assertEquals(1, result.modifiedCount(), "Should have 1 modified POM"); assertEquals(1, result.unmodifiedCount(), "Should have 1 unmodified POM"); assertEquals(0, result.errorCount(), "Should have no errors"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Jun 07 06:22:47 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertNotNull(key1, "Should generate key 1"); assertNotNull(key2, "Should generate key 2"); assertEquals(32, key1.length, "Key 1 should have correct length"); assertEquals(32, key2.length, "Key 2 should have correct length"); assertFalse(Arrays.equals(key1, key2), "Random keys should be different"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals(SERVER, dcerpcBinding.getServer(), "Server should match the constructor argument."); assertNull(dcerpcBinding.getOptions(), "Options should be null initially."); assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially."); assertNull(dcerpcBinding.getUuid(), "UUID should be null initially.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.parameterOffset, SmbComTransaction.readInt4(dst, 23), "parameterOffset should be written correctly"); assertEquals(smbComNtTransaction.dataCount, SmbComTransaction.readInt4(dst, 27), "dataCount should be written correctly"); assertEquals(smbComNtTransaction.dataOffset, SmbComTransaction.readInt4(dst, 31), "dataOffset should be written correctly");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
assertNotNull(password, "Password char array should not be null"); assertArrayEquals(testPassword.toCharArray(), password, "Password should match"); // Verify it returns a clone, not the original password[0] = 'X'; char[] password2 = authenticator.getPasswordAsCharArray(); assertNotEquals(password[0], password2[0], "Should return a clone, not the original"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
* It should always return 0. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10]; // The method should not write anything and return 0 assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0."); } /** * Test for the writeParametersWireFormat method. * It should always return 0. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0)