|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.JunitFeature
public final class JunitFeature
StandardProject helper that provides support for running junit tests.
| Constructor Summary | |
|---|---|
JunitFeature(StandardProject project,
java.lang.String memory)
The individual property getter methods describe the parameters of the same includes. |
|
| Method Summary | |
|---|---|
java.lang.String |
getMemory()
The amount of memory to give to the forked vm that executes the unit tests. |
StandardProject |
getProject()
The parent of this feature. |
void |
junit()
Executes all the classes that contain 'Test' as part of their name. |
void |
junit(java.lang.String includes,
java.lang.String excludes)
Executes the junit tests filtering with the specified includes and excludes parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JunitFeature(StandardProject project,
java.lang.String memory)
project - memory - | Method Detail |
|---|
public StandardProject getProject()
public java.lang.String getMemory()
public void junit()
junit(String, String).
public void junit(java.lang.String includes,
java.lang.String excludes)
A junit test failure will result in an InformationException being
thrown.
includes - The ant pattern that determines which java classes will be
executed as junit tests. Set to null in order to not apply an
includes patternexcludes - The ant pattern that determines which java classes will not be
executed as junit tests. Set to null in order to not apply an
excludes pattern
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||