Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for deleteOnExit (0.04 sec)

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

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes());
            final File desginJspRootFile = File.createTempFile("jsp", "");
            desginJspRootFile.delete();
            desginJspRootFile.deleteOnExit();
            systemHelper = new SystemHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create temp directory for testing
            tempDir = Files.createTempDirectory("thumbnail_test").toFile();
            tempDir.deleteOnExit();
    
            // Create a test thumbnail manager with minimal initialization
            thumbnailManager = new TestThumbnailManager();
            thumbnailManager.baseDir = tempDir;
    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/ds/DataStoreFactoryTest.java

            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
            tempDir = Files.createTempDirectory("datastore-test").toFile();
            tempDir.deleteOnExit();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up temporary files
            if (tempDir != null && tempDir.exists()) {
                deleteDirectory(tempDir);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

            super.setUp();
    
            // Create temp directory for testing first
            tempDir = File.createTempFile("suggestjob_test", "");
            tempDir.delete();
            tempDir.mkdirs();
            tempDir.deleteOnExit();
    
            // Create mock objects
            mockServletContext = new MockServletContext();
            mockProcessHelper = new MockProcessHelper();
            mockFessConfig = new MockFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                        logger.debug("Deleted a temp file: {}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            cipher = new CachedCipher();
            cipher.setKey("1234567890123456");
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup system properties for DI container
            File file = File.createTempFile("test", ".properties");
            file.deleteOnExit();
            FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8"));
            DynamicProperties systemProps = new DynamicProperties(file);
            ComponentUtil.register(systemProps, "systemProperties");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            final File propFile = File.createTempFile("system", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes());
            ComponentUtil.register(new DynamicProperties(propFile), "systemProperties");
            crawlingConfigHelper = new CrawlingConfigHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
Back to top