Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 248 for TearDown (0.13 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
        // Make sure we have no waiting threads.
        latch.countDown();
      }
    
      /** Constructs a listenable future with a value available after the latch has counted down. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            manager = new PersistentHandleManager(mockContext);
        }
    
        @AfterEach
        public void tearDown() throws IOException {
            if (manager != null) {
                manager.shutdown();
            }
    
            // Clean up system property
            System.clearProperty("jcifs.smb.client.handleStateDirectory");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = smbClient.doGet(baseUrl + "file1.txt")) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         * part, so higher integers would appear (in this case linearly) more often
         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        // something else.
        TimeZone.setDefault(TimeZone.getTimeZone("America/Los_Angeles"))
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        TimeZone.setDefault(originalDefault)
      }
    
      @Test
      @Throws(Exception::class)
      fun parseStandardFormats() {
        // RFC 822, updated by RFC 1123 with GMT.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        private NtlmPasswordAuthenticator authenticator;
    
        @BeforeEach
        public void setUp() {
            authenticator = null;
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (authenticator != null) {
                authenticator.close();
            }
        }
    
        @Test
        @DisplayName("Test password stored as char array")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        private String getTestContent() {
            return "# This is a comment\n" + "the\n" + "and\n" + "a\n" + "is\n" + "to\n";
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top