Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 25 for clearProperty (0.09 seconds)

  1. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

                assertEquals(Constants.PROCESS_TYPE_REPLACE, ptList.get(0));
            } finally {
                System.clearProperty("lasta.env");
            }
        }
    
        @Test
        public void test_getProcessTypeList_defaultMode() {
            System.clearProperty("lasta.env");
            final List<String> ptList = pathMappingHelper.getProcessTypeList();
            assertEquals(2, ptList.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 15.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            }
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            // Clean up system properties
            System.clearProperty("fess.search_engine.http_address");
            System.clearProperty("fesen.http.url");
            super.tearDown(testInfo);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            confDir = Files.createDirectories(tempDir.resolve("conf"));
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            System.clearProperty("fess.var.path");
            System.clearProperty("fess.webapp.path");
            System.clearProperty("fess.conf.path");
            if (tempDir != null) {
                deleteRecursively(tempDir.toFile());
            }
            super.tearDown(testInfo);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            try {
                suggestJob.executeSuggestCreator();
            } catch (Exception e) {
                // May fail in test environment
            } finally {
                System.clearProperty("os.name");
            }
    
            List<String> cmdList = mockProcessHelper.getLastCommandList();
            if (cmdList != null && cmdList.size() > 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                assertEquals(customDir.getAbsolutePath(), manager.baseDir.getAbsolutePath());
                assertTrue(customDir.exists());
                manager.destroy();
            } finally {
                System.clearProperty(Constants.FESS_THUMBNAIL_PATH);
            }
        }
    
        // Test initialization with var path
        @Test
        public void test_init_withVarPath() {
            File varDir = new File(tempDir, "var");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      @Override
      protected void tearDown() throws Exception {
        classReloader.close();
        Thread.currentThread().setContextClassLoader(oldClassLoader);
        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

      }
    
      @Override
      protected void tearDown() throws Exception {
        classReloader.close();
        Thread.currentThread().setContextClassLoader(oldClassLoader);
        System.clearProperty("guava.concurrent.generate_cancellation_cause");
      }
    
      public void testCancel_notDoneNoInterrupt() throws Exception {
        Future<?> future = newFutureInstance();
        assertTrue(future.cancel(false));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        }
    
        @AfterEach
        public void tearDown() throws IOException {
            if (manager != null) {
                manager.shutdown();
            }
    
            // Clean up system property
            System.clearProperty("jcifs.smb.client.handleStateDirectory");
    
            // Clean up temp directory
            if (tempDir != null && Files.exists(tempDir)) {
                Files.walk(tempDir)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/PropertyConfigurationTest.java

            } finally {
                // Cleanup
                if (originalValue != null) {
                    System.setProperty("jcifs.smb.client.domain", originalValue);
                } else {
                    System.clearProperty("jcifs.smb.client.domain");
                }
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            // Restore original property
            if (originalLmCompatibility != null) {
                jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility);
            } else {
                System.clearProperty("jcifs.smb1.smb.lmCompatibility");
            }
        }
    
        // Test constructor with domain, username, and password
        @Test
        void testConstructorWithDomainUsernamePassword() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top