Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for deleteOnExit (0.26 seconds)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

        }
    
        @Test
        public void testIsInMemory_WithFile() throws IOException {
            // ## Arrange ##
            File tmpFile = File.createTempFile("cache-test-", ".tmp");
            tmpFile.deleteOnExit();
            ContentCache cache = new ContentCache(tmpFile);
    
            // ## Assert ##
            assertFalse(cache.isInMemory());
        }
    
        // --- getContentAsBytes() tests ---
    
        @Test
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                        logger.debug("Deleted temp file: path={}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
                }
            }
    
            int totalCount = 0;
            int count = 1;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                        logger.debug("Deleted temp file: path={}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/curl/CurlResponseTest.java

            // ## Arrange ##
            String content = "File-based content test";
            java.io.File tmpFile = java.io.File.createTempFile("response-test-", ".tmp");
            tmpFile.deleteOnExit();
            java.nio.file.Files.write(tmpFile.toPath(), content.getBytes(java.nio.charset.StandardCharsets.UTF_8));
    
            CurlResponse response = new CurlResponse();
            response.setEncoding("UTF-8");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  5. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/exec/Crawler.java

                        logger.debug("Deleted temp file: path={}", propFile.getAbsolutePath());
                    }
                    systemProperties.reload(propFile.getAbsolutePath());
                    propFile.deleteOnExit();
                } catch (final Exception e) {
                    logger.warn("Failed to create system properties file.", e);
                }
            }
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
Back to Top