Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRootDirectory (0.1 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

                    () -> assertActivation(false, newExistsProfile("${project.rootDirectory}"), context));
            assertEquals(RootLocator.UNABLE_TO_FIND_ROOT_PROJECT_MESSAGE, e.getMessage());
        }
    
        @Test
        void testRootDirectory() {
            assertActivation(false, newExistsProfile("${project.rootDirectory}/someFile.txt"), context);
            assertActivation(true, newMissingProfile("${project.rootDirectory}/someFile.txt"), context);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            assertProblemFree(collector);
    
            assertEquals("myBaseUri/temp-repo", (out.getRepositories().get(0)).getUrl());
        }
    
        @Test
        void testRootDirectory() throws Exception {
            Path rootDirectory = Paths.get("myRootDirectory");
    
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .artifactId("foo")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top