- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 4,122 for _shouldn (0.45 seconds)
-
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java
assertNotNull(results); // Should return empty or minimal results assertTrue(results.size() <= 10); } } /** * Test search with negative start position (should be handled gracefully). */ @Test public void test_searchWithNegativeStartPosition() throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.2K bytes - Click Count (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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (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")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (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 exceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
} return QueryBuilders.boolQuery()// .should(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))// .should(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))// .should(QueryBuilders.fuzzyQuery("title", query).boost(0.01f).maxExpansions(10))// .should(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))// ;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 53.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java
assertNotNull(res.getClasspath(), "null classpath after runtime transform"); assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries"); ArtifactMetadata md = res.getClasspath().get(3); assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1"); } // ------------------------------------------------------------------------------------------ @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.7K bytes - Click Count (0) -
tests/delete_test.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 9.5K bytes - Click Count (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(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length(); // positive size -> accept
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect * {@code setCount()} to throw an exception, as checking the return value could produce an * incorrect error message like "setCount() should return the original count" instead of the * message passed to a later invocation of {@code fail()}, like "setCount should throw * UnsupportedOperationException." */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13K bytes - Click Count (0)