- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for clearProperty (0.07 sec)
-
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) -
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) -
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) -
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) -
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) -
src/test/java/jcifs/context/SingletonContextTest.java
} // Clear system properties that might affect the test System.clearProperty("jcifs.properties"); System.clearProperty("java.protocol.handler.pkgs"); // Clear jcifs-specific properties to prevent test interference System.clearProperty("jcifs.smb.client.nativeOs"); System.clearProperty("jcifs.smb.client.nativeLanMan"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
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) -
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) -
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) -
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"); } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0)