Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for TestLogHandler (0.09 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          @Override
          public String call() {
            return object.toString();
          }
        };
      }
    
      public void testCancellationDuringReentrancy() throws Exception {
        TestLogHandler logHandler = new TestLogHandler();
        Logger.getLogger(AbstractFuture.class.getName()).addHandler(logHandler);
    
        List<Future<?>> results = new ArrayList<>();
        final Runnable[] manualExecutorTask = new Runnable[1];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      @RegisterExtension
      var clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @RegisterExtension
      var testLogHandler = TestLogHandler(OkHttpClient::class.java)
      private lateinit var webServer: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val clientListener = WebSocketRecorder("client")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                "Ignore disabled cipher suite",
                "Ignore unsupported cipher suite",
              ).joinToString(separator = "|"),
            )
            append(").*")
          },
        )
    
      private val testLogHandler =
        object : Handler() {
          override fun publish(record: LogRecord) {
            val recorded =
              when (record.loggerName) {
                TaskRunner::class.java.name -> recordTaskRunner
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      @RegisterExtension
      val platform: PlatformRule = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      val testLogHandler: TestLogHandler = TestLogHandler(Http2::class.java)
    
      // Flaky https://github.com/square/okhttp/issues/4632
      // Flaky https://github.com/square/okhttp/issues/4633
      private val handshakeCertificates: HandshakeCertificates =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

                .createTestSuite());
        return suite;
      }
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      TestLogHandler logHandler;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

                .createTestSuite());
        return suite;
      }
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      TestLogHandler logHandler;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      @RegisterExtension
      val testLogHandler = TestLogHandler(OkHttpClient::class.java)
    
      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
    
      private var listener = RecordingEventListener()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

     *
     * @author mike nonemacher
     */
    public class CacheLoadingTest extends TestCase {
      TestLogHandler logHandler;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        logHandler = new TestLogHandler();
        LocalCache.logger.addHandler(logHandler);
      }
    
      @Override
      public void tearDown() throws Exception {
        super.tearDown();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
Back to top