Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for addHandler (0.18 sec)

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

       */
      public void testEmptyServiceManager() {
        Logger logger = Logger.getLogger(ServiceManager.class.getName());
        logger.setLevel(Level.FINEST);
        TestLogHandler logHandler = new TestLogHandler();
        logger.addHandler(logHandler);
        ServiceManager manager = new ServiceManager(Arrays.<Service>asList());
        RecordingListener listener = new RecordingListener();
        manager.addListener(listener, directExecutor());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            rootLogger.setLevel(Level.ALL);
            ConsoleHandler handler = new ConsoleHandler();
            handler.setFormatter(new SimpleFormatter());
            handler.setLevel(Level.ALL);
            rootLogger.addHandler(handler);
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // close runner
            runner.close();
            // delete all files
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          }
        };
      }
    
      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];
        Executor manualExecutor =
            new Executor() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

          }
        };
      }
    
      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];
        Executor manualExecutor =
            new Executor() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      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();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
    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

      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();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
    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. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    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();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/ArtifactHandlerManager.java

    /**
     */
    public interface ArtifactHandlerManager {
        String ROLE = ArtifactHandlerManager.class.getName();
    
        ArtifactHandler getArtifactHandler(String type);
    
        @Deprecated
        void addHandlers(Map<String, ArtifactHandler> handlers);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

            // but to create those, proper filtering should happen via Type properties.
        }
    
        @Override
        public void addHandlers(Map<String, ArtifactHandler> handlers) {
            throw new UnsupportedOperationException("Adding handlers programmatically is not supported anymore");
        }
    
        @Deprecated
        public Set<String> getHandlerTypes() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top