- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for TempDir (0.04 sec)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
*/ @DisplayName("Upgrade Workflow Integration") class UpgradeWorkflowIntegrationTest { @TempDir Path tempDir; private Apply applyGoal; private Check checkGoal; @BeforeEach void setUp() { // Create real strategy instances for integration testing List<UpgradeStrategy> strategies = List.of( new ModelUpgradeStrategy(),Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java
tempFile.delete(); assertEquals(true, result); } @Test void isMatchingProjectMatchOnDirectoryReturnsTrue(@TempDir File tempDir) { String selector = "maven-core"; final File tempProjectDir = new File(tempDir, "maven-core"); tempProjectDir.mkdir(); final MavenProject mavenProject = createMavenProject("maven-core");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.6K 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) -
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: Sat Dec 20 13:44:44 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); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
fess-crawler-opensearch/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(); final StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5K 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: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
* .mvn directory creation, and upgrade orchestration. */ @DisplayName("AbstractUpgradeGoal") class AbstractUpgradeGoalTest { @TempDir Path tempDir; private TestableAbstractUpgradeGoal upgradeGoal; private StrategyOrchestrator mockOrchestrator; @BeforeEach void setUp() { mockOrchestrator = mock(StrategyOrchestrator.class);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
* limitations under the License. */ package gradlebuild.binarycompatibility import spock.lang.Specification import spock.lang.Subject import spock.lang.TempDir class AcceptedApiChangesJsonFileManagerTest extends Specification { @TempDir File temporaryFolder @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager() def jsonFile def setup() {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.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: Tue Oct 21 12:17:55 UTC 2025 - 9.3K bytes - Viewed (0)