2424import org .apache .maven .plugin .testing .stubs .MavenProjectStub ;
2525import org .apache .maven .settings .Server ;
2626import org .apache .maven .settings .Settings ;
27- import org .junit .Assert ;
2827import org .sonatype .aether .impl .internal .SimpleLocalRepositoryManager ;
2928import org .sonatype .aether .util .DefaultRepositorySystemSession ;
3029
3130import java .io .File ;
3231
33- public class TestGetClassesMojo
32+ public class TestListClassesMojo
3433 extends AbstractDependencyMojoTestCase
3534{
3635 private ListClassesMojo mojo ;
@@ -42,7 +41,6 @@ protected void setUp()
4241 super .setUp ( "markers" , false );
4342
4443 File testPom = new File ( getBasedir (), "target/test-classes/unit/get-test/plugin-config.xml" );
45- assertTrue (testPom .exists ());
4644 mojo = (ListClassesMojo ) lookupMojo ( "list-classes" , testPom );
4745
4846 assertNotNull ( mojo );
@@ -63,7 +61,7 @@ protected void setUp()
6361 setVariableValueToObject ( mojo , "session" , legacySupport .getSession () );
6462 }
6563
66- public void testGetClassesNotTransitive ()
64+ public void testListClassesNotTransitive ()
6765 throws Exception
6866 {
6967 setVariableValueToObject ( mojo , "remoteRepositories" , "central::default::https://repo.maven.apache.org/maven2,"
@@ -74,7 +72,7 @@ public void testGetClassesNotTransitive()
7472 mojo .execute ();
7573 }
7674
77- public void testGetClassesTransitive ()
75+ public void testListClassesTransitive ()
7876 throws Exception
7977 {
8078 setVariableValueToObject ( mojo , "remoteRepositories" , "central::default::https://repo.maven.apache.org/maven2,"
0 commit comments