- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 34 for deleteOnExit (0.13 seconds)
-
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);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 13.1K bytes - Click Count (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
final File indexFile = new File(dir, "index.html"); indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 8.1K bytes - Click Count (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
final File indexFile = new File(dir, "index.html"); indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 5.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} if (downloadMonitor != null) { wagon.addTransferListener(downloadMonitor); } File temp = new File(destination + ".tmp"); temp.deleteOnExit(); boolean downloaded = false; try { connectWagon(wagon, repository); boolean firstRun = true; boolean retry = true;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
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/dict/protwords/ProtwordsFileTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // 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)); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (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);Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Jan 15 01:11:43 GMT 2026 - 7.8K 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/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; } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Aug 19 14:09:36 GMT 2025 - 2.5K bytes - Click Count (0)