- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for TempDir (0.06 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-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
docRoot.delete(); } } } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); // robots.txt StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/RelayTest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir @Tag("Slowish") class RelayTest { @TempDir var tempDir: File? = null private val executor = Executors.newCachedThreadPool(threadFactory("RelayTest")) private val metadata: ByteString = "great metadata!".encodeUtf8() private lateinit var file: File @BeforeEach fun setUp() { file = File(tempDir, "test") } @AfterEach fun tearDown() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
docRoot.delete(); } } } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); // robots.txt StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; class SourcesTest { @TempDir Path tempDir; @Test void testFromPath() { Path path = Paths.get("/tmp"); Source source = Sources.fromPath(path); assertNotNull(source);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0)