Skip to content

Commit

Permalink
simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored and slachiewicz committed Jul 4, 2020
1 parent 9459558 commit 2a2b371
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/test/java/org/apache/maven/plugins/jar/JarMojoTest.java
Expand Up @@ -34,26 +34,14 @@ public class JarMojoTest
{
private File testPom = new File( getBasedir(), "src/test/resources/unit/jar-basic-test/pom.xml" );

protected void setUp()
throws Exception
{

// required for mojo lookups to work
super.setUp();

}

/**
* tests the proper discovery and configuration of the mojo
* Tests the discovery and configuration of the mojo.
*
* @throws Exception in case of an error.
* @throws Exception in case of an error
*/
public void testJarTestEnvironment()
throws Exception
{

// File pom = new File( getBasedir(), "src/test/resources/unit/clean/pom.xml" );

JarMojo mojo = (JarMojo) lookupMojo( "jar", testPom );

assertNotNull( mojo );
Expand Down

0 comments on commit 2a2b371

Please sign in to comment.