- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 3,008 for SHOULD (0.19 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
StopwordsItem item4 = new StopwordsItem(1, "different"); // Same input should have same hashCode regardless of id assertEquals(item1.hashCode(), item2.hashCode()); assertEquals(item1.hashCode(), item3.hashCode()); // Different input should have different hashCode assertNotSame(item1.hashCode(), item4.hashCode()); } public void test_equals() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* @param useDefaultExcludes whether to augment excludes with default SCM exclusion patterns * @return a PathMatcher that can be used to test if paths should be included * @throws NullPointerException if baseDirectory is null */ @Nonnull PathMatcher createPathMatcher( @Nonnull Path baseDirectory, Collection<String> includes,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K 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) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(1024, req.getMinCount(), "Named pipe minCount should be 1024"); assertEquals(1024, req.getMaxCount(), "Named pipe maxCount should be 1024"); assertEquals(1024, req.getRemaining(), "Named pipe remaining should be 1024"); } } @Nested @DisplayName("Lifecycle and exception mapping")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* * Implementations should check if the initial request already included an attempt to * authenticate. If so it is likely that further attempts will not be useful and the authenticator * should give up. * * When reactive authentication is requested by an origin web server, the response code is 401 * and the implementation should respond with a new request that sets the "Authorization" header. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K 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/PreauthIntegrityServiceTest.java
// With enforcement disabled, this should log a warning but not throw PreauthIntegrityService lenientService = new PreauthIntegrityService(secureRandom, PreauthIntegrityService.HASH_ALGO_SHA512, false); // Should not throw exception lenientService.updatePreauthHash("non-existent", "test".getBytes()); // With enforcement enabled, should throw exception
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL"); assertNull(ex.getCause(), "Cause should be null by default"); assertNull(ex.getRootCause(), "Root cause should be null by default"); assertTrue(ex instanceof SmbException, "Should be an SmbException subtype"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0)