|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.units4j.AssertCoverage
public final class AssertCoverage
Assertion tool class for checking the test coverage.
| Method Summary | |
|---|---|
static void |
assertEveryClassHasATest(File baseDir)
Asserts that a every class in the directory (or it's sub directories) has at least one test class. |
static void |
assertEveryClassHasATest(File baseDir,
boolean recursive)
Asserts that a every class in the directory (or it's sub directories) has at least one test class. |
static void |
assertEveryClassHasATest(Set<Class<?>> classes)
Asserts that a every class has at least one test class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void assertEveryClassHasATest(Set<Class<?>> classes)
XxxxxTest,
where Xxxxx is the name of the class that is tested. The
class must contain at least one method annotated with Test.
classes - Set of classes - Cannot be null.public static final void assertEveryClassHasATest(File baseDir)
XxxxxTest, where Xxxxx is
the name of the class that is tested. The class must contain at least one
method annotated with Test.
baseDir - Root directory like ("src/main/java").
public static final void assertEveryClassHasATest(File baseDir,
boolean recursive)
XxxxxTest, where Xxxxx is
the name of the class that is tested. The class must contain at least one
method annotated with Test.
baseDir - Root directory like ("src/main/java").recursive - Should sub directories be included?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||