Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify test #13

Merged
merged 1 commit into from Jul 4, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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