- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 3,084 for shouldn (0.03 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
cfgMock = mock(Configuration.class); resp = new SmbComWriteResponse(cfgMock); } @Test public void testInitialCountIsZero() { assertEquals(0, resp.getCount(), "Initial count should be zero"); } @Test public void testReadParameterWordsUpdatesCount() { // create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
}; AssertionError actual = null; try { tester.test(); } catch (AssertionError e) { actual = e; } assertNotNull("verify() should be able to cause test failure", actual); assertTrue( "AssertionError should have info about why test failed", actual.getCause().getMessage().contains(message)); } public void testMissingException() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/UploadForm.java
* Elevate words are terms that should be promoted or given higher ranking in search results. * This form is used in the admin interface to upload elevate word configuration files. */ public class UploadForm { /** * The multipart file containing the elevate word configurations to be uploaded. * This file should contain definitions for words or documents that should be elevated in search results. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Call getSecurity multiple times - should return consistent results ACE[] result1 = msrpcShareGetInfo.getSecurity(); ACE[] result2 = msrpcShareGetInfo.getSecurity(); // Both should be null (no DACL) assertNull(result1); assertNull(result2); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
} if company.ID == 0 { t.Fatalf("Company's ID should be created") } if err := DB.Model(&user2).Association("Manager").Append(manager); err != nil { t.Fatalf("Error happened when append Manager, got %v", err) } if manager.ID == 0 { t.Fatalf("Manager's ID should be created") } user.Company = company user.Manager = manager user.CompanyID = &company.ID
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey); // Verify should return false when signature is correct (no error) // The code returns true on line 281 when signatures DON'T match boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest); // The verification should succeed (return false) since we're using the same key assertFalse(result); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
public void testEquals_self() { assertTrue("An Object should be equal to itself.", collection.equals(collection)); } // Comparisons to null *are* defined. @SuppressWarnings("UndefinedEquals") public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } // A collection should essentially never be equal to a non-collection.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue( "removeIf(isEqual(present)) should return true", collection.removeIf(Predicate.isEqual(samples.e0())));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java
/** * Verifies scope inheritance of direct and transitive dependencies. * * Should show three behaviors: * * 1. dependencyManagement should override the scope of transitive dependencies. * 2. Direct dependencies should override the scope of dependencyManagement. * 3. Direct dependencies should inherit scope from dependencyManagement when * they do not explicitly state a scope. * */ @Deprecated
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
// Verify informationLevel (2 bytes) - should be SMB_FILE_BOTH_DIRECTORY_INFO (0x104) assertEquals(Trans2FindFirst2.SMB_FILE_BOTH_DIRECTORY_INFO, SMBUtil.readInt2(buffer, 4)); // Verify resumeKey (4 bytes) assertEquals(TEST_RESUME_KEY, SMBUtil.readInt4(buffer, 6)); // Verify tflags (2 bytes) - should be 0x00 assertEquals(0x00, SMBUtil.readInt2(buffer, 10));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0)