Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 308 for teardown (0.12 seconds)

  1. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            ComponentUtil.register(new LdapManager() {
                // Override methods that are called in tests
            }, "ldapManager");
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_constructor() {
            // Test constructor initializes fields correctly
            LdapUser user = new LdapUser(testEnv, "username");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        if (hung) {
          assertEquals(expectedOutcome, Outcome.HANG);
        } else {
          assertThat(task.get(UNEXPECTED_HANG_DELAY_MILLIS, MILLISECONDS)).isNull();
        }
      }
    
      @Override
      protected void tearDown() throws Exception {
        // We don't want to leave stray threads running after each test. At this point, every thread
        // launched by this test is either:
        //
        // (a) Blocked attempting to enter the monitor.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            mockFilterChain = new TestFilterChain();
            ComponentUtil.register(corsHandlerFactory, "corsHandlerFactory");
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        private void resetMocks() {
            mockRequest = new TestHttpServletRequest();
            mockResponse = new TestHttpServletResponse();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            serializer = new DataSerializer();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
            serializer = null;
        }
    
        /**
         * Test DataSerializer can be instantiated
         */
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback = new TestableIndexUpdateCallbackImpl();
            indexUpdateCallback.init();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_init() {
            // Test initialization
            assertEquals(1048576L, indexUpdateCallback.maxDocumentRequestSize);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            crawlJob = new CrawlJob();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        // Test constructor and field initialization
        @Test
        public void test_constructor() {
            assertNotNull(crawlJob);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                    @Override
                    public void run() {
                      integer.getAndIncrement();
                    }
                  });
        }
      }
    
      @AfterExperiment
      void tearDown() throws Exception {
        executorService.shutdown();
      }
    
      @Footprint(exclude = {Runnable.class, Executor.class})
      public Object measureSize() {
        list = impl.newExecutionList();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Initialize MatchAllQueryCommand
            matchAllQueryCommand = new MatchAllQueryCommand();
            matchAllQueryCommand.register();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            super.tearDown(testInfo);
        }
    
        @Test
        public void test_getQueryClassName() {
            // Test that getQueryClassName returns the correct class name
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            charMappingFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown(testInfo);
        }
    
        // Test getType method
        @Test
        public void test_getType() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

            .fastFallback(true)
            .build()
        url =
          serverIpv4
            .url("/")
            .newBuilder()
            .host("localhost")
            .build()
      }
    
      @AfterEach
      internal fun tearDown() {
        serverIpv4.close()
        serverIpv6.close()
      }
    
      @Test
      fun callIpv6FirstEvenWhenIpv4IpIsListedFirst() {
        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top