- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 2,438 for Shouldn (0.07 sec)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
// key3 should definitely exist (just created) assertNotNull(limitedManager.getLease(key3)); // key1 should have been evicted (oldest) assertNull(limitedManager.getLease(key1)); // key2 should still exist (not the oldest) assertNotNull(limitedManager.getLease(key2)); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
assertFalse( "Two Sets should not be equal if exactly one of them contains null.", getSet().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerSet() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1); assertFalse( "Sets of different sizes should not be equal.",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetEqualsTester.java
assertFalse( "Two Sets should not be equal if exactly one of them contains null.", getSet().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerSet() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1); assertFalse( "Sets of different sizes should not be equal.",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "A List should not equal another List containing different elements.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Manually unblock assertTrue(rateLimiter.unblockIp(ip), "Manual unblock should succeed"); // Should be allowed again assertTrue(rateLimiter.checkAttempt("user7", ip), "Should be allowed after manual unblock"); } @Test public void testNullUsername() throws Exception { // Null username should be handled gracefully
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
assertEquals(0xB, PacConstants.CONSTRAINT_DELEGATIION_TYPE, "CONSTRAINT_DELEGATIION_TYPE should be 0xB"); assertEquals(0xC, PacConstants.CLIENT_UPN_TYPE, "CLIENT_UPN_TYPE should be 0xC"); assertEquals(0xD, PacConstants.CLIENT_CLAIMS_TYPE, "CLIENT_CLAIMS_TYPE should be 0xD"); assertEquals(0xE, PacConstants.DEVICE_INFO_TYPE, "DEVICE_INFO_TYPE should be 0xE");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which * <i>return</i> iterables should make every attempt to return ones of the robust variety. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
class SamrCloseHandleTests { @Test @DisplayName("Should construct with correct opnum") void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
// NameOffset field (2 bytes) - should be 16 (after header) assertEquals(16, SMBUtil.readInt2(buffer, 4)); // NameLength field (2 bytes) - should be 4 for "RqLs" assertEquals(4, SMBUtil.readInt2(buffer, 6)); // Reserved field (2 bytes) - should be 0 assertEquals(0, SMBUtil.readInt2(buffer, 8)); // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} else { fail("Inconsistent behavior: first=" + first + ", second=" + second); } // Third call should return the same cached Subject instance Subject third = auth.getSubject(); assertEquals(second, third, "Subsequent calls should return same cached result"); // Refresh should clear the cache auth.refresh();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)