Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for createTempDirectory (0.06 sec)

  1. 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")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

                ?: error("Cannot derive artifact name from: $fileName")
        }
    
        private
        fun minify(artifact: File, keepClasses: Set<String>, jarFile: File): File {
            val tempDirectory = java.nio.file.Files.createTempDirectory(jarFile.name).toFile()
            val classesDir = tempDirectory.resolve("classes")
            val manifestFile = tempDirectory.resolve("MANIFEST.MF")
            val buildReceiptFile = tempDirectory.resolve("build-receipt.properties")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 11:46:45 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        private Path tempDir;
    
        @BeforeEach
        public void setUp() throws IOException {
            MockitoAnnotations.openMocks(this);
    
            // Create temporary directory for test state
            tempDir = Files.createTempDirectory("jcifs-test-handles");
    
            // Set system property for handle state directory
            System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                UpgradeContext context = createMockContext();
    
                // Create a temporary directory with a POM file for the test
                Path tempDir = Files.createTempDirectory("check-test");
                try {
                    Path pomFile = tempDir.resolve("pom.xml");
                    String pomContent = PomBuilder.create()
                            .groupId("test")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

        @SuppressWarnings("checkstyle:MethodLength")
        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, """
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top