Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Added sample test for coverall report generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Subramanian committed Feb 12, 2019
1 parent 7831e53 commit 89a3aad
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

<properties>
<common-bom.version>1.30.0</common-bom.version>
<cpp.repo.name>maven-test-utils</cpp.repo.name>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package uk.gov.justice.maven.test.utils;

import static org.junit.Assert.assertTrue;

import java.io.File;

import org.apache.maven.plugin.Mojo;
import org.junit.Test;

public class BetterAbstractMojoTestCaseTest {

private BetterAbstractMojoTestCase mojoTestCase = new BetterAbstractMojoTestCase() {
@Override
protected Mojo lookupConfiguredMojo(final File pom, final String goal) throws Exception {
return super.lookupConfiguredMojo(pom, goal);
}
};

/**
* Adding this test for coveralls report generation
*/

@Test
public void emptyAssertion() {
assertTrue(true);
}
}

0 comments on commit 89a3aad

Please sign in to comment.