Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for clearProperty (0.07 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            // This test verifies that when the system property is null, the handler
            // falls back to using default handlers without throwing NullPointerException.
            System.clearProperty("java.protocol.handler.pkgs");
            setupMockProtocolHandlers();
            URL url = new URL("http://example.com/resource");
    
            URLConnection connection = handler.openConnection(url);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            } finally {
                if (originalValue != null) {
                    System.setProperty(FesenClient.HTTP_ADDRESS, originalValue);
                } else {
                    System.clearProperty(FesenClient.HTTP_ADDRESS);
                }
            }
        }
    
        // Test destroy container
        public void test_destroyContainer() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top