- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 22 for deleteOnExit (0.36 seconds)
-
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 --- @TestCreated: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
public void test_process_withPropertiesPath() throws Exception { // Test process method with properties path File tempPropFile = File.createTempFile("test_thumbnail_", ".properties"); tempPropFile.deleteOnExit(); ThumbnailGenerator.Options options = new ThumbnailGenerator.Options(); options.propertiesPath = tempPropFile.getAbsolutePath(); options.numOfThreads = 1; options.cleanup = false;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Create a temporary test file testFile = File.createTempFile("test_stopwords", ".txt"); testFile.deleteOnExit(); // Write test data to file try (FileOutputStream fos = new FileOutputStream(testFile)) { fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
public void test_process_withPropertiesPath() { try { // Create temporary properties file File tempPropFile = File.createTempFile("test_suggest_", ".properties"); tempPropFile.deleteOnExit(); FileUtil.writeBytes(tempPropFile.getAbsolutePath(), "test.property=value".getBytes()); SuggestCreator.Options options = new SuggestCreator.Options();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
testFile.deleteOnExit(); // Ensure the test file is initially empty try (java.io.FileWriter fw = new java.io.FileWriter(testFile)) { fw.write(""); } // Create a temporary project.properties file for SystemHelper File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
super.setUp(testInfo); thumbnailJob = new GenerateThumbnailJob(); // Create temporary directory tempDir = Files.createTempDirectory("test").toFile(); tempDir.deleteOnExit(); // Setup test components testProcessHelper = new TestProcessHelper(); ComponentUtil.register(testProcessHelper, "processHelper"); testSystemHelper = new TestSystemHelper();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
public Integer getLdapMaxUsernameLengthAsInteger() { return Integer.valueOf(-1); } }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
ComponentUtil.register(fessConfig, "fessConfig"); File propFile = File.createTempFile("test", ".properties"); FileUtil.writeBytes(propFile.getAbsolutePath(), new byte[0]); propFile.deleteOnExit(); systemProperties = new DynamicProperties(propFile); ComponentUtil.register(systemProperties, "systemProperties"); pathMappingHelper = new PathMappingHelper() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 30.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // 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");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0)