- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for deleteOnExit (0.06 sec)
-
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final int maxCount = 50; final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.crawlerContext.setMaxAccessCount(maxCount); crawler.crawlerContext.setNumOfThread(numOfThread);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.crawlerContext.setMaxAccessCount(maxCount);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 19.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final int numOfThread = 10; final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.getCrawlerContext().setMaxAccessCount(maxCount);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (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;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (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();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
@Override public void setUp() throws Exception { super.setUp(); // Create test file with content testFile = File.createTempFile("test_protwords", ".txt"); testFile.deleteOnExit(); // Write test content to file try (FileOutputStream fos = new FileOutputStream(testFile)) { fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
@Override public void setUp() throws Exception { super.setUp(); // 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)); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (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);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/unit/TestSystemProperties.java
loadTestProperties(); } private static File createTempFile() { try { File tempFile = File.createTempFile("test-system", ".properties"); tempFile.deleteOnExit(); return tempFile; } catch (IOException e) { logger.warn("Failed to create temp file, using null", e); return null; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 2.5K bytes - Viewed (0)