mirror of https://github.com/apache/maven.git
Add a unit test for MavenRepositorySystemUtils#newSession
This commit is contained in:
parent
edbf133ab3
commit
e30c1bf9fc
|
@ -20,6 +20,7 @@ package org.apache.maven.repository.internal;
|
|||
*/
|
||||
|
||||
import org.eclipse.aether.RepositorySystem;
|
||||
import org.eclipse.aether.RepositorySystemSession;
|
||||
import org.eclipse.aether.impl.MetadataGeneratorFactory;
|
||||
import org.eclipse.aether.spi.locator.ServiceLocator;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
@ -30,6 +31,13 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
|
|||
public class MavenRepositorySystemUtilsTest
|
||||
{
|
||||
|
||||
@Test
|
||||
public void testNewSession()
|
||||
{
|
||||
RepositorySystemSession session = MavenRepositorySystemUtils.newSession();
|
||||
assertNotNull( session );
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetRepositorySystem()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue