Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 248 for tearDown (0.05 sec)

  1. src/test/java/org/codelibs/fess/it/admin/StorageTests.java

        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            return updateMap;
        }
    
        @AfterEach
        protected void tearDown() {
            // do nothing
        }
    
        @Test
        void testList_ok() {
            checkGetMethod(Collections.emptyMap(), getListEndpointSuffix() + "/").then().body("response.status", equalTo(0));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. cmd/os-readdir_test.go

    		if expected[i] != got[i] {
    			return false
    		}
    	}
    
    	// expected and got have same entries.
    	return true
    }
    
    // teardown - cleans up test directories.
    func teardown(testResults []result) {
    	for _, r := range testResults {
    		os.RemoveAll(r.dir)
    	}
    }
    
    // TestReadDir - test function to run various readDir() tests.
    func TestReadDir(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            facetInfo = new FacetInfo();
        }
    
        @Override
        public void tearDown() throws Exception {
            super.tearDown();
        }
    
        // Test default constructor
        public void test_constructor() {
            FacetInfo info = new FacetInfo();
            assertNull(info.field);
            assertNull(info.query);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/org/codelibs/fess/it/admin/LogTests.java

            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.5K bytes
    - Viewed (0)
  6. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @StartStop
      private val server = MockWebServer()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            testScriptEngine = new TestScriptEngine();
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        // Test default constructor
        public void test_constructor() {
            assertNotNull(testScriptEngine);
        }
    
        // Test register method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            super.setUp();
            originalConfig = ComponentUtil.getFessConfig();
        }
    
        @Override
        public void tearDown() throws Exception {
            if (originalConfig != null) {
                ComponentUtil.register(originalConfig, "fessConfig");
            }
            super.tearDown();
        }
    
        public void test_getStatus_returnsCorrectValue() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkTester.java

              return new StringReader(string);
            }
          }.readLines();
        } catch (IOException e) {
          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top