Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 246 for teardown (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardActionTest.java

            ComponentUtil.register(protocolHelper, "protocolHelper");
    
            wizardAction = new TestableAdminWizardAction();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        // Test class to expose protected method for testing
        private static class TestableAdminWizardAction extends AdminWizardAction {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

      private var serverSocket: ServerSocket? = null
    
      @BeforeEach fun setUp() {
        executorService = Executors.newCachedThreadPool(threadFactory("HandshakeCertificatesTest"))
      }
    
      @AfterEach fun tearDown() {
        executorService.shutdown()
        serverSocket?.closeQuietly()
      }
    
      @Test fun clientAndServer() {
        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val clientRoot =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/sso/SsoManagerTest.java

                    return currentSsoType;
                }
            };
            testAuthenticator = new TestSsoAuthenticator();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            currentSsoType = Constants.NONE;
            super.tearDown(testInfo);
        }
    
        // Test available() method
        @Test
        public void test_available_withNoneSsoType() {
            currentSsoType = Constants.NONE;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

          Object testInstance = test.getDeclaredConstructor().newInstance();
          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

        sleeper = new SleepingRunnable(1000);
        delayedFuture = executor.submit(sleeper, true);
    
        tearDownStack.addTearDown(() -> Thread.interrupted());
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      /**
       * This first test doesn't test anything in Uninterruptibles, just demonstrates some normal
       * behavior of futures so that you can contrast the next test with it.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            super.setUp(testInfo);
        }
    
        @Override
        public void tearDown(final TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
            // close runner
            runner.close();
            // delete all files
            runner.clean();
        }
    
        @Test
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Jan 14 23:48:16 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test append method with null value
        @Test
        public void test_append_nullValue() {
            StringBuilder buf = new StringBuilder();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            protocolHelper.init();
            ComponentUtil.register(protocolHelper, "protocolHelper");
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val addressB = factory.newAddress("b")
      private val routeB1 = factory.newRoute(addressB)
      private val addressC = factory.newAddress("c")
      private val routeC1 = factory.newRoute(addressC)
    
      @AfterEach fun tearDown() {
        factory.close()
        peer.close()
      }
    
      @Test fun connectionsEvictedWhenIdleLongEnough() {
        val pool = factory.newConnectionPool()
        val c1 = factory.newConnection(pool, routeA1, 50L)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            super.setUp(testInfo);
            processHelper = new ProcessHelper();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            // Clean up any running processes
            processHelper.destroy();
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_isProcessRunning_empty() {
            assertFalse(processHelper.isProcessRunning());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top