Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    
    public class DefaultSessionTest {
    
        @Test
        void testRootDirectoryWithNull() {
            RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top