- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 3,084 for shouldn (0.04 sec)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
byte[] result2 = hmac2.engineDigest(); // Results should be different boolean different = false; for (int i = 0; i < result1.length; i++) { if (result1[i] != result2[i]) { different = true; break; } } assertEquals(true, different, "Different keys should produce different HMAC values"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Append(&account); err != nil { t.Fatalf("Error happened when append account, got %v", err) } if account.ID == 0 { t.Fatalf("Account's ID should be created") } user.Account = account CheckUser(t, user2, user) AssertAssociationCount(t, user, "Account", 1, "AfterAppend") // Replace account2 := Account{Number: "account-has-one-replace"}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] hash2 = NtlmUtil.getNTHash(password2); // Assert assertFalse(Arrays.equals(hash1, hash2), "Different passwords should produce different hashes"); assertEquals(16, hash1.length, "NT hash should be 16 bytes"); assertEquals(16, hash2.length, "NT hash should be 16 bytes"); } @Test @DisplayName("getNTHash: null password throws NPE with message") void testGetNTHash_null() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
assertSame(impl, renewed, "renew() should return the same instance"); } else if (expectNew) { assertNotNull(renewed, "renew() should return a new non-null instance"); assertNotSame(impl, renewed, "renew() should return a different instance"); assertTrue(renewed instanceof SmbRenewableCredentials, "renewed credentials should still be SmbRenewableCredentials"); } else {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
* * @param zterm whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /** * Constructs a UnicodeString by wrapping an existing unicode_string. * * @param rus wrapped string * @param zterm whether the string should be zero terminated */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcGetMembersInAliasTest.java
assertEquals(mockSids, msrpcGetMembersInAlias.sids, "sids should be set correctly"); assertEquals(0, msrpcGetMembersInAlias.getPtype(), "ptype should be initialized to 0"); assertEquals(DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG, msrpcGetMembersInAlias.getFlags(), "flags should be set to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
protocolHelper.addWebProtocol("http"); assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase protocolHelper.addWebProtocol("https"); assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase } public void test_addFileProtocol_newProtocol() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 21.5K bytes - Viewed (0) -
tests/query_test.go
if result.ID != 0 { t.Errorf("Should not have ID because only selected name, %+v", result.ID) } if user.Name != result.Name { t.Errorf("Should have user Name when selected it") } var result2 User DB.Where("name = ?", user.Name).Select("name as name").Find(&result2) if result2.ID != 0 { t.Errorf("Should not have ID because only selected name, %+v", result2.ID) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 22 06:21:04 UTC 2025 - 51K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
fail("All expected public methods should exist: " + e.getMessage()); } } public void test_utilityClass_pattern() { // Verify utility class design pattern compliance // 1. Class should be final assertTrue("Class should be final", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers())); // 2. Should have exactly one private constructor
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
List<FileNotifyInformation> result = sut.watch(); assertNull(result, "Cancelled watch should return null"); verify(tree, times(1)).close(); } // Error code 0x10C should clear the notify list and return it @Test @DisplayName("watch() clears notify list on error 0x10C and returns it")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)