- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 201 for tmpdir (0.15 sec)
-
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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 10.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
Path tempDir = createTempProjectStructure(context, pomMap); // Phase 2: For each POM, build effective model using the session and analyze plugins Map<Path, Set<String>> pluginsNeedingManagement = analyzePluginsUsingEffectiveModels(context, pomMap, tempDir);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 37K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
UpgradeContext context = createMockContext(); // Create a temporary directory with a POM file for the test Path tempDir = Files.createTempDirectory("apply-test"); try { Path pomFile = tempDir.resolve("pom.xml"); String pomContent = PomBuilder.create() .groupId("test") .artifactId("test")
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 10:39:17 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.io.TempDir class RequestBodyTest { private lateinit var filePath: okio.Path @BeforeEach fun setup( @TempDir tempDir: Path, ) { filePath = tempDir.toOkioPath() / "file.txt" } @Test fun testFileDescriptor() { assertOnFileDescriptor { fd ->Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 3.8K bytes - Viewed (1) -
internal/lock/lock_test.go
} } // Tests lock directory fail. func TestLockDirFail(t *testing.T) { d := t.TempDir() _, err := LockedOpenFile(d, os.O_APPEND, 0o600) if err == nil { t.Fatal("Should fail here") } } // Tests rwlock methods. func TestRWLockedFile(t *testing.T) { f, err := os.CreateTemp(t.TempDir(), "lock") if err != nil { t.Fatal(err) } f.Close() defer func() {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 3.7K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvokerTest.java
} @Override protected Parser createParser() { return new MavenParser(); } @Test void defaultFs( @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path cwd, @TempDir(cleanup = CleanupMode.ON_SUCCESS) Path userHome) throws Exception { invoke(cwd, userHome, List.of("verify"), List.of()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 10:47:37 UTC 2025 - 2.5K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
} @Test void testReadModifiedPoms(@TempDir Path tempDir) throws Exception { // TODO a similar test should be created to test the dependency management (basically all usages // of DefaultModelBuilder.getCache() are affected by MNG-6530 FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
public void testRepositoryLeakageBetweenSiblings() throws Exception { // Create a temporary directory structure for our test Path tempDir = Files.createTempDirectory("maven-repo-leakage-test"); try { // Create parent POM Path parentPom = tempDir.resolve("pom.xml"); Files.writeString(parentPom, """ <?xml version="1.0" encoding="UTF-8"?>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9.3K 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 16.1K bytes - Viewed (0)