Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 209 for teardown (0.06 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                generating = false;
            }
        }
    
        @Override
        public void tearDown() throws Exception {
            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
                    // Ignore exceptions during teardown
                }
            }
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownStack;
    import com.google.common.util.concurrent.testing.TestingExecutors;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.concurrent.CountDownLatch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TestLogHandler.java

     *
     *   protected void setUp() throws Exception {
     *     super.setUp();
     *     handler = new TestLogHandler();
     *     SomeClass.logger.addHandler(handler);
     *     addTearDown(new TearDown() {
     *       public void tearDown() throws Exception {
     *         SomeClass.logger.removeHandler(handler);
     *       }
     *     });
     *   }
     *
     *   public void test() {
     *     SomeClass.foo();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            testScriptEngine = new TestScriptEngine();
            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.register(null, "scriptEngineFactory");
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ltrQueryRescorer = new LtrQueryRescorer();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor works properly
            assertNotNull(new LtrQueryRescorer());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                    }
                }
            };
    
            ComponentUtil.register(fessConfig, "fessConfig");
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test basic property retrieval
        public void test_get_basicProperty() {
            // Test getting a property from the config
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            thumbnailGenerator = new ThumbnailGenerator();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        public void test_constructor() {
            // Test default constructor
            ThumbnailGenerator generator = new ThumbnailGenerator();
            assertNotNull(generator);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/GeneralTests.java

            assertTrue(!res.isEmpty());
            assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status"));
        }
    
        @Override
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void crudTest() {
            testRead();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Create a test implementation of ThumbnailGenerator
            thumbnailGenerator = new TestThumbnailGenerator();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up temp files
            if (tempOutputFile != null && tempOutputFile.exists()) {
                tempOutputFile.delete();
            }
            if (tempDir != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top