- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 2,063 for batch (0.3 sec)
- 
				
				fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.javaassertEquals("xyz", new String(resultData.getData())); } public void test_transform_null() { try { binaryTransformer.transform(null); fail(); } catch (final CrawlerSystemException e) { // NOP } } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl(); Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.2K bytes - Viewed (0)
- 
				
				android/guava-testlib/test/com/google/common/testing/TearDownStackTest.javaassertEquals(false, tearDownTwo.ran); try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two"); } catch (RuntimeException e) { throw new RuntimeException( "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e); } Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 4.6K bytes - Viewed (0)
- 
				
				android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.javatry { assertEquals( "getOrDefault(null, def) should return default or throw", v3(), getMap().getOrDefault(null, v3())); } catch (NullPointerException tolerated) { } } @MapFeature.Require(ALLOWS_NULL_KEYS) @CollectionSize.Require(absent = ZERO) public void testGetOrDefault_nonNullWhenNullContained() { initMapWithNullKey();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.5K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.javafinal SuggestWriterResult result = new SuggestWriterResult(); try { client.prepareDelete().setIndex(index).setId(id).execute().actionGet(settings.getIndexTimeout()); } catch (final Exception e) { result.addFailure(e); } return result; } @Override Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.5K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb/SIDCacheImpl.java} try (LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800)) { resolveSids(handle, policyHandle, sids); } } catch (final SmbException e) { if (e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER) { // Silently ignore invalid parameter errors - these may occur with certain server configurationsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/helper/NotificationHelper.javalogger.warn("Failed to send {} to {}. HTTP Status is {}. {}", body, url, response.getHttpStatusCode(), response.getContentAsString()); } } catch (final IOException e) { logger.warn("Failed to send {} to {}.", body, url, e); } })); } /** * Converts the discloser to a Slack message format. * Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.2K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.javaString expectedMessage = "Job execution failed"; boolean exceptionCaught = false; try { throw new ScheduledJobException(expectedMessage); } catch (ScheduledJobException e) { exceptionCaught = true; assertEquals(expectedMessage, e.getMessage()); } assertTrue(exceptionCaught); } Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java// Test throwing and catching the exception String expectedMessage = "Storage failure"; try { throw new StorageException(expectedMessage); } catch (StorageException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } } public void test_throwAndCatchExceptionWithCause() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)
- 
				
				src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java// This will return false because getFessConfig() will fail // We verify the method handles the case gracefully try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } public void test_getName() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0)
- 
				
				android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.javafail("Expected NullPointerException or UnsupportedOperationException"); } catch (NullPointerException | UnsupportedOperationException expected) { } } public void testMergeNullFunction() { try { getMap().merge(k0(), v3(), null); fail("Expected NullPointerException or UnsupportedOperationException"); } catch (NullPointerException | UnsupportedOperationException expected) { } } Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0)