Methods Summary |
---|
protected void | expectOutputContaining(java.lang.String target, java.lang.String substring)Assert that the given message has been outputted
executeTarget(target);
assertOutputContaining(substring);
|
public void | setUp()
configureProject(
"src/etc/testcases/taskdefs/optional/jdepend/jdepend.xml");
|
public void | testFork()Test fork
- forked output goes to log
expectLogContaining(
"fork", "Package: org.apache.tools.ant.util.facade");
|
public void | testForkXml()Test fork xml
expectLogContaining(
"fork-xml", "<DependsUpon>");
|
public void | testSimple()Test simple
expectOutputContaining(
"simple", "Package: org.apache.tools.ant.util.facade");
|
public void | testTimeout()Test timeout
expectLogContaining(
"fork-timeout", "JDepend FAILED - Timed out");
|
public void | testTimeoutNot()Test timeout without timing out
expectLogContaining(
"fork-timeout-not", "Package: org.apache.tools.ant.util.facade");
|
public void | testXml()Test xml
expectOutputContaining(
"xml", "<DependsUpon>");
|