- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 5,233 for news (0.02 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
final ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (final ZipOutputStream zos = new ZipOutputStream(baos)) { final ZipEntry entry = new ZipEntry("unknown.xyz"); zos.putNextEntry(entry); zos.write("Some content".getBytes()); zos.closeEntry(); } final InputStream in = new ByteArrayInputStream(baos.toByteArray());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
// With Exception cause Exception exceptionCause = new Exception("Exception cause"); CrawlerSystemException exception1 = new CrawlerSystemException(exceptionCause); assertSame(exceptionCause, exception1.getCause()); // With Error cause Error errorCause = new Error("Error cause"); CrawlerSystemException exception2 = new CrawlerSystemException(errorCause);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
assertEquals("item1", bean.getItems().get(0)); } @Test void testPerformanceWithRepeatedCalls() throws Exception { TestBean bean1 = new TestBean(); TestBean bean2 = new TestBean(); PlexusConfiguration config = new XmlPlexusConfiguration("test"); config.setValue("testValue"); when(evaluator.evaluate("testValue")).thenReturn("testValue");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
assertSuppressed( new Suppression(c2, tryException, c2Exception), new Suppression(c1, tryException, c1Exception)); } public void testErrors() throws IOException { Closer closer = new Closer(suppressor); Error c1Exception = new Error(); Error c2Exception = new Error(); Error c3Exception = new Error();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
new File(rDeps.get(0).getSystemPath()).getAbsolutePath()); } @Test public void testRecursiveExpressionCycleNPE() throws Exception { Map<String, String> props = new HashMap<>(); props.put("aa", "${bb}"); props.put("bb", "${aa}"); DefaultModelBuildingRequest request = new DefaultModelBuildingRequest(); Model model = new Model(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
@Test void decodeFromEncodedBuffer() throws NdrException { NdrShort ns = new NdrShort(123); // masked value 123 (already fits in 8 bits) buf.reset(); ns.encode(buf); // Reset buffer to start for decoding buf.reset(); // Prepare a new object to decode into NdrShort decoded = new NdrShort(0); decoded.decode(buf);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
@Override public void setUp() { fakePool = new FakeExecutor(); e = new SequentialExecutor(fakePool); } public void testConstructingWithNullExecutor_fails() { assertThrows(NullPointerException.class, () -> new SequentialExecutor(null)); } public void testBasics() { AtomicInteger totalCalls = new AtomicInteger(); Runnable intCounter = new Runnable() { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
SuggestItem[] items = new SuggestItem[3]; for (int i = 0; i < 3; i++) { String[][] readings = new String[1][]; readings[0] = new String[] { "test" + i }; items[i] = new SuggestItem(new String[] { "ใในใ" + i }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashTestUtils.java
String s = new String(new char[] {randomLowSurrogate(random)}); for (PrimitiveSink sink : sinks) { sink.putUnencodedChars(s); } } }, PUT_STRING_HIGH_SURROGATE() { @Override void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) { String s = new String(new char[] {randomHighSurrogate(random)});
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 25.6K bytes - Viewed (0)