Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 227 for teardown (0.15 sec)

  1. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            // Initialize MatchAllQueryCommand
            matchAllQueryCommand = new MatchAllQueryCommand();
            matchAllQueryCommand.register();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_getQueryClassName() {
            // Test that getQueryClassName returns the correct class name
            String className = matchAllQueryCommand.getQueryClassName();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            ComponentUtil.register(testFileTypeHelper, "fileTypeHelper");
            ComponentUtil.setFessConfig(testFessConfig);
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test constructor
        public void test_constructor() {
            FacetQueryView view = new FacetQueryView();
            assertNotNull(view);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt

      private val metadata: ByteString = "great metadata!".encodeUtf8()
      private lateinit var file: File
    
      @BeforeEach
      fun setUp() {
        file = File(tempDir, "test")
      }
    
      @AfterEach
      fun tearDown() {
        executor.shutdown()
      }
    
      @Test
      fun singleSource() {
        val upstream = Buffer()
        upstream.writeUtf8("abcdefghijklm")
        val relay = edit(file, upstream, metadata, 1024)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

        @BeforeEach
        void setUp() {
            // Mock the static parse method of KerberosAuthData
            mockedStaticAuthData = mockStatic(KerberosAuthData.class);
        }
    
        @AfterEach
        void tearDown() {
            // Close the static mock
            mockedStaticAuthData.close();
        }
    
        /**
         * Test constructor with a valid ASN.1 token.
         *
         * @throws IOException if ASN.1 encoding fails.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

            map = new CaseInsensitiveMap<String>();
            map.put("one", "1");
            map.put("two", "2");
        }
    
        /**
         * @throws Exception
         */
        @After
        public void tearDown() throws Exception {
            map = null;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsKey() throws Exception {
            assertThat(map.containsKey("ONE"), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            ComponentUtil.register(new LdapManager() {
                // Override methods that are called in tests
            }, "ldapManager");
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test constructor initializes fields correctly
            LdapUser user = new LdapUser(testEnv, "username");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            Files.createDirectories(Paths.get("target", "fess", "js"));
        }
    
        @Override
        public void tearDown() throws Exception {
            if (tempDir != null && Files.exists(tempDir)) {
                deleteDirectory(tempDir);
            }
            super.tearDown();
        }
    
        private void deleteDirectory(Path dir) throws IOException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

     * @author higa
     */
    public class DateConversionUtilTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Create provider
            provider = new FessTimeResourceProvider(mockConfig);
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test constructor
        public void test_constructor() {
            FessTimeResourceProvider testProvider = new FessTimeResourceProvider(mockConfig);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            };
            ComponentUtil.register(postbox, "postbox");
    
            ComponentUtil.register(crawler, Crawler.class.getCanonicalName());
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
            // Clear static fields
            clearStaticFields();
        }
    
        private void clearStaticFields() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top