- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for OutOfMemoryError (0.07 sec)
-
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// OutOfMemoryError is an Error, not Exception, so it will not be caught // The test should expect the error to propagate try { purgeDocJob.execute(); fail("Expected OutOfMemoryError to be thrown"); } catch (OutOfMemoryError e) { assertEquals("Out of memory", e.getMessage()); } } public void test_execute_verifyQueryToString() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
throw new OutOfMemoryError("Simulated OOM"); } }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job - Error should NOT be caught since implementation only catches Exception try { aggregateLogJob.execute(); fail("OutOfMemoryError should not be caught by Exception handler");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
// Test with Error (not Exception) Throwable errorCause = new OutOfMemoryError("Out of memory"); GsaConfigException errorException = new GsaConfigException("GSA memory error", errorCause); assertNotNull(errorException); assertTrue(errorException.getCause() instanceof OutOfMemoryError); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final NullPointerException npeCause = new NullPointerException("Null query parameter"); final IllegalStateException iseCause = new IllegalStateException("Invalid parser state"); final OutOfMemoryError oomCause = new OutOfMemoryError("Query too large"); // Execute final InvalidQueryException npeException = new InvalidQueryException(messageCode, message, npeCause);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 15.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
@Override protected Random initialValue() { return new Random(); } }; private static final int GOLDEN_PRESENT_KEY = random.get().nextInt(); @AndroidIncompatible // OutOfMemoryError public void testLargeBloomFilterDoesntOverflow() { long numBits = Integer.MAX_VALUE; numBits++; LockFreeBitArray bitArray = new LockFreeBitArray(numBits); assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
@Override protected Random initialValue() { return new Random(); } }; private static final int GOLDEN_PRESENT_KEY = random.get().nextInt(); @AndroidIncompatible // OutOfMemoryError public void testLargeBloomFilterDoesntOverflow() { long numBits = Integer.MAX_VALUE; numBits++; LockFreeBitArray bitArray = new LockFreeBitArray(numBits); assertTrue(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
// read MAX_ARRAY_LEN bytes without seeing end of stream if (in.read() == -1) { // oh, there's the end of the stream return combineBuffers(bufs, MAX_ARRAY_LEN); } else { throw new OutOfMemoryError("input is too large to fit in a byte array"); } } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
for (int i = 0; i < 100; i++) { FessTimeResourceProvider tempProvider = new FessTimeResourceProvider(mockConfig); assertNotNull(tempProvider); } // If this completes without OutOfMemoryError, test passes assertTrue(true); } // Test equals and hashCode if implemented public void test_equalsAndHashCode() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0)