- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for TempDir (0.07 sec)
-
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
private ThumbnailManager thumbnailManager; private File tempDir; @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
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
private ThumbnailGenerator thumbnailGenerator; private File tempOutputFile; private Path tempDir; @Override public void setUp() throws Exception { super.setUp(); tempDir = Files.createTempDirectory("thumbnail-test"); tempOutputFile = Files.createTempFile(tempDir, "thumbnail", ".png").toFile(); // Create a test implementation of ThumbnailGenerator
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
Files.createDirectories(Paths.get("target", "fess", "js")); } @Override public void tearDown() throws Exception { if (tempDir != null && Files.exists(tempDir)) { deleteDirectory(tempDir); } super.tearDown(); } private void deleteDirectory(Path dir) throws IOException { Files.walk(dir).sorted((a, b) -> b.compareTo(a)).forEach(path -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
assertEquals("Singleton context is already initialized", e.getMessage()); } @Test void testInitLoadsJcifsPropertiesFile(@TempDir Path tempDir) throws IOException, CIFSException { // Test that jcifs.properties file is loaded Path jcifsPropertiesPath = tempDir.resolve("jcifs.properties"); Files.writeString(jcifsPropertiesPath, "jcifs.smb.client.nativeOs=FileOS");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
private Lmhosts lmhosts; private CIFSContext mockContext; private Configuration mockConfig; @TempDir Path tempDir; @BeforeEach void setUp() { lmhosts = new Lmhosts(); mockContext = mock(CIFSContext.class); mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
this.outputExtension = outputExtension; } /** * Sets the temporary directory for file operations. * @param tempDir The temporary directory to set. */ public void setTempDir(final File tempDir) { this.tempDir = tempDir; } /** * Sets the command to execute for text extraction. * @param command The command to set. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
testServletContext = new TestServletContext(); testServletContext.tempDir = tempDir; ComponentUtil.register(testServletContext, ServletContext.class.getCanonicalName()); } @Override public void tearDown() throws Exception { if (tempDir != null && tempDir.exists()) { deleteDirectory(tempDir); } ComponentUtil.setFessConfig(null); super.tearDown(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
this.officeManager = officeManager; } /** * Sets the temporary directory for file operations. * * @param tempDir the temporary directory to set */ public void setTempDir(final File tempDir) { this.tempDir = tempDir; } /** * Sets the output encoding for extracted text. * * @param outputEncoding the output encoding to set */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/SuggestJobTest.java
private MockPopularWordHelper mockPopularWordHelper; private File tempDir; @Override public void setUp() throws Exception { super.setUp(); // Create temp directory for testing first tempDir = File.createTempFile("suggestjob_test", ""); tempDir.delete(); tempDir.mkdirs(); tempDir.deleteOnExit(); // Create mock objects
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 31.4K bytes - Viewed (0)