Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for toFile (0.04 sec)

  1. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNull(result);
        }
    
        @Test
        void testGetByNameWithValidEntry() throws IOException {
            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100 TESTHOST\n");
                writer.write("10.0.0.1      SERVER01\n");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                }
            }
    
            request.setInstallationToolchainsFile(
                    installationToolchainsFile != null ? installationToolchainsFile.toFile() : null);
            request.setUserToolchainsFile(userToolchainsFile != null ? userToolchainsFile.toFile() : null);
    
            ToolchainsBuilderRequest toolchainsRequest = ToolchainsBuilderRequest.builder()
                    .session(context.protoSession)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

                    }
                });
    
                t.transform(project, systemSessionMock, Sources.buildSource(beforePomFile), tempFile);
            }
            Diff diff = DiffBuilder.compare(afterPomFile.toFile())
                    .withTest(tempFile.toFile())
                    .ignoreComments()
                    .ignoreWhitespace()
                    .build();
            assertFalse(diff.hasDifferences(), "XML files should be identical: " + diff.toString());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 06 18:32:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java

                ProjectBuildingResult result1 = projectBuilder.build(child1Pom.toFile(), sharedRequest);
                MavenProject child1Project = result1.getProject();
    
                // Capture repositories after building child1
    
                // Build child2 using the same shared request
                ProjectBuildingResult result2 = projectBuilder.build(child2Pom.toFile(), sharedRequest);
                MavenProject child2Project = result2.getProject();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                    context.installationSettingsPath != null ? context.installationSettingsPath.toFile() : null);
            request.setProjectSettingsFile(
                    context.projectSettingsPath != null ? context.projectSettingsPath.toFile() : null);
            request.setUserSettingsFile(context.userSettingsPath != null ? context.userSettingsPath.toFile() : null);
    
            request.setTopDirectory(context.invokerRequest.topDirectory());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

                    getContainer().lookup(org.apache.maven.project.ProjectBuilder.class);
            File child = new File(tempDir.toFile(), "child/pom.xml");
            // build project once
            projectBuilder.build(child, configuration);
            // modify parent
            File parent = new File(tempDir.toFile(), "pom.xml");
            String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
            .isEqualTo(new File("/c:\\Documents ~ Settings, or not\\11-12 12:05"));
        assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation")))
            .isEqualTo(new File("/C:\\Program Files\\Apache Software Foundation/"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

            .listFiles()
            ?.associateWith { dir ->
                val dirPath = dir.toPath()
                Files.walk(dirPath).use { paths ->
                    paths.filter { !it.toFile().isDirectory }
                        .limit(4)
                        .map { dirPath.relativize(it).toString() }
                        .collect(Collectors.toList())
                }
            }?.filter {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
            .isEqualTo(new File("/c:\\Documents ~ Settings, or not\\11-12 12:05"));
        assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation")))
            .isEqualTo(new File("/C:\\Program Files\\Apache Software Foundation/"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

        @Override
        File createTempDir() {
          try {
            return java.nio.file.Files.createTempDirectory(
                    Paths.get(JAVA_IO_TMPDIR.value()), /* prefix= */ null, directoryPermissions.get())
                .toFile();
          } catch (IOException e) {
            throw new IllegalStateException("Failed to create directory", e);
          }
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top