Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for createTempDirectory (0.21 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

        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)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        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
            thumbnailManager = new TestThumbnailManager();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

        private ThemeHelper themeHelper;
        private Path tempDir;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            themeHelper = new ThemeHelper();
            tempDir = Files.createTempDirectory("theme-test");
            Files.createDirectories(Paths.get("target", "fess", "WEB-INF", "view"));
            Files.createDirectories(Paths.get("target", "fess", "WEB-INF", "plugin"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
            tempDir = Files.createTempDirectory("datastore-test").toFile();
            tempDir.deleteOnExit();
        }
    
        @Override
        public void tearDown() throws Exception {
            // Clean up temporary files
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

        }
    
        public void test_writeThreadDump_withSpecialCharacters() throws IOException {
            // Test with file path containing special characters
            Path tempDir = Files.createTempDirectory("test-スレッドダンプ-dir");
            Path tempFile = tempDir.resolve("thread-dump-テスト.txt");
    
            try {
                ThreadDumpUtil.writeThreadDump(tempFile.toString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        return new File(new File(path).toURI());
      }
    
      private static URL makeJarUrlWithName(String name) throws IOException {
        /*
         * TODO: cpovirk - Use java.nio.file.Files.createTempDirectory instead of
         * c.g.c.io.Files.createTempDir?
         */
        File fullPath = new File(Files.createTempDir(), name);
        File jarFile = pickAnyJarFile();
        Files.copy(jarFile, fullPath);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            thumbnailJob = new GenerateThumbnailJob();
    
            // Create temporary directory
            tempDir = Files.createTempDirectory("test").toFile();
            tempDir.deleteOnExit();
    
            // Setup test components
            testProcessHelper = new TestProcessHelper();
            ComponentUtil.register(testProcessHelper, "processHelper");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            }
        }
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            execJob = new TestExecJob();
            tempDir = Files.createTempDirectory("execjob_test").toFile();
    
            // Store original helpers
            originalSystemHelper = ComponentUtil.hasComponent("systemHelper") ? ComponentUtil.getSystemHelper() : null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
Back to top