Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isSimulated (0.04 sec)

  1. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. 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
        public void test_loggerFieldInitialization() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

    class RetryConnectionTest {
      private val factory = TestValueFactory()
      private val handshakeCertificates = localhost()
      private val retryableException = SSLHandshakeException("Simulated handshake exception")
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private var client = clientTestRule.newClient()
    
      @AfterEach internal fun tearDown() {
        factory.close()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          },
          logger = logger,
        )
    
      /** Runs all tasks that are ready. Used by the test thread only. */
      fun runTasks() {
        advanceUntil(nanoTime)
      }
    
      /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */
      fun advanceUntil(newTime: Long) {
        taskRunner.assertLockNotHeld()
    
        taskRunner.withLock {
          check(currentTask == TestThreadSerialTask)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top