Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testRootDirectoryWithNull (0.14 sec)

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

            File file = new File(tempDir.resolve("file.txt").toString());
            if (!file.createNewFile()) {
                throw new IOException("Can't create " + file);
            }
        }
    
        @Test
        void testRootDirectoryWithNull() {
            context.setProjectDirectory(null);
    
            IllegalStateException e = assertThrows(
                    IllegalStateException.class,
    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

            assertEquals(
                    rootDirectory.resolve("temp-repo").toUri().toString(),
                    (out.getRepositories().get(0)).getUrl());
        }
    
        @Test
        void testRootDirectoryWithNull() throws Exception {
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .artifactId("foo")
                    .repositories(Collections.singletonList(Repository.newBuilder()
    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