- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 1,947 for threw (0.02 sec)
-
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
assertEquals(testWindowSize, queryRescorerBuilder.windowSize().intValue()); } public void test_evaluate_withNullParams() { // Test with null parameters - should throw NPE due to OpenSearch StoredLtrQueryBuilder requirements final String testModelName = "test_model"; final int testWindowSize = 75; ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
ModelInterpolationException error = AccessController.doPrivileged(action); if (error != null) { throw error; } } finally { getInterpolator().clearAnswers(); } } @Override protected Interpolator createInterpolator() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K 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 assertThrows(CIFSException.class, () -> {
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/internal/smb2/io/Smb2FlushResponseTest.java
int bytesRead = response.readBytesWireFormat(buffer, bufferIndex); // Then assertEquals(4, bytesRead); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidStructureSize() { // Given byte[] buffer = new byte[10]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Now emulate error thrown by transport for create chain throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false); } return null; }).when(tree).send(any(Request.class)); // Act: constructing the iterator must not throw and results in empty iterator DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, "*", null, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
testProcessHelper.exitValue = 1; testProcessHelper.processOutput = "Generation failed"; try { thumbnailJob.executeThumbnailGenerator(); fail("Should throw JobProcessingException"); } catch (JobProcessingException e) { assertTrue(e.getMessage().contains("Thumbnail Process terminated.")); } catch (NullPointerException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
} public void test_loadProtocols_invalidPackage() { final ProtocolHelper protocolHelper = new ProtocolHelper(); // Should not throw exception with invalid package protocolHelper.loadProtocols("org.invalid.package.does.not.exist"); // Should have empty arrays initially assertEquals(0, protocolHelper.getWebProtocols().length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents. * <li>All methods that return objects that can indirectly mutate the collection throw * UnsupportedOperationException when those mutators are called. * </ol> * * @param collection the presumed-immutable collection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
if (response.hasFailures()) { throw new SearchEngineClientException(response.buildFailureMessage()); } return true; } catch (final InterruptedException e) { throw new InterruptedRuntimeException(e); } catch (final ExecutionException e) { throw new SearchEngineClientException("Failed to update bulk data.", e); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
} resultData.setEncoding(charsetName); return resultData; } catch (final CrawlerSystemException e) { throw e; } catch (final Exception e) { throw new CrawlerSystemException("Could not store data.", e); } } /** * Retrieves a list of XPath nodes from the document. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 23.9K bytes - Viewed (0)