- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for isSimulated (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { @Override public void storeSearchLog() { throw new OutOfMemoryError("Simulated OOM"); } }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job - Error should NOT be caught since implementation only catches Exception
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
yield "s" raise ValueError("Broken after yield") app = FastAPI() @app.get("/catching") def catching(d: Annotated[str, Depends(catching_dep)]) -> Any: raise CustomError("Simulated error during streaming") @app.get("/broken") def broken(d: Annotated[str, Depends(broken_dep)]) -> Any: return {"message": "all good?"} client = TestClient(app) def test_catching():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
if (is.available() > 0) { throw new RuntimeException("Simulated processing error"); } } fail("Should have thrown RuntimeException"); } catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
AtomicInteger existingZero = new AtomicInteger(0); // initial map.get() when(backingMap.get(KEY)).thenReturn(null); // since get returned null, try a putIfAbsent; that fails due to a simulated race when(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).thenReturn(existingZero); // since the putIfAbsent returned a zero, we'll try to replace...
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
} // Mock class for testing exception scenarios private static class MockMultiThreadedHttpConnectionManager { public static void shutdownAll() { throw new RuntimeException("Simulated exception during shutdown"); } } // Test to verify the logger field is properly initialized @Test public void test_loggerFieldInitialization() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java
QueryLogReader errorReader = new QueryLogReader() { @Override public QueryLog read() { throw new RuntimeException("Simulated read error"); } @Override public void close() { } }; CountDownLatch latch = new CountDownLatch(1);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 18.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 28.6K bytes - Click Count (0) -
lib/fips140/v1.26.0.zip
added to // fipstest.TestConditionals. func CAST(name string, f func() error) { if strings.ContainsAny(name, ",#=:") { panic("fips: invalid self-test name: " + name) } if !Enabled { return } err := f() if name == failfipscast { err = errors.New("simulated CAST failure") } if err != nil { fatal("FIPS 140-3 self-test failed: " + name + ": " + err.Error()) panic("unreachable") } if debug { println("FIPS 140-3 self-test passed:", name) } } // PCT runs the named Pairwise Consistency Test (if operated in...
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 08 17:58:32 GMT 2026 - 660.3K bytes - Click Count (0)