Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for clearProperty (0.6 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                String floatValue = fessConfig.get(floatKey);
                assertEquals("45.67", floatValue);
            } finally {
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + intKey);
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + floatKey);
            }
        }
    
        // Test getting boolean configuration values
        public void test_get_booleanValues() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        public void test_getSearchEngineHttpAddress_null() {
            // Clear the system property to test null case
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
            System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
                String result = SystemUtil.getSearchEngineHttpAddress();
                assertNull(result);
            } finally {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertEquals("underscore", ResourceUtil.resolve(value));
    
            // Clean up test properties
            System.clearProperty("var1");
            System.clearProperty("var2");
            System.clearProperty("special");
            System.clearProperty("123");
            System.clearProperty("test_var");
        }
    
        public void test_resolve_edgeCases() {
            // Test empty property replacement
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

                assertEquals(1, ptList.size());
                assertEquals(Constants.PROCESS_TYPE_REPLACE, ptList.get(0));
            } finally {
                System.clearProperty("lasta.env");
            }
        }
    
        public void test_getProcessTypeList_defaultMode() {
            System.clearProperty("lasta.env");
            final List<String> ptList = pathMappingHelper.getProcessTypeList();
            assertEquals(2, ptList.size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertTrue(cmdList.contains("-Dapp.module.feature2=disabled"));
    
            // Clean up
            System.clearProperty("app.module.feature1");
            System.clearProperty("app.module.feature2");
            System.clearProperty("app.service.api");
            System.clearProperty("config.app.module");
        }
    
        // Test invalid regex in custom properties
        public void test_customProperties_invalidRegex() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. 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
        public void test_init_withVarPath() {
            File varDir = new File(tempDir, "var");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. 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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

                return null;
            }
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up system properties
            System.clearProperty("fess.search_engine.http_address");
            System.clearProperty("fesen.http.url");
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. 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));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. 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));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top