public class CartridgeTestFormatter extends Object implements junit.framework.TestListener
Constructor and Description |
---|
CartridgeTestFormatter() |
Modifier and Type | Method and Description |
---|---|
void |
addError(junit.framework.Test test,
Throwable throwable) |
void |
addFailure(junit.framework.Test test,
junit.framework.AssertionFailedError failure) |
void |
endTest(junit.framework.Test test) |
(package private) String |
endTestSuite(junit.framework.Test test)
Signifies the test suite ended and returns the summary of the
test.
|
boolean |
isTestFailureIgnore() |
void |
setReportFile(File reportFile)
Sets the file that will contain the report results (i.e.
|
void |
setTestFailureIgnore(boolean testFailureIgnore) |
void |
startTest(junit.framework.Test test) |
void |
startTestSuite(String name)
The testsuite started.
|
public CartridgeTestFormatter()
public void setReportFile(File reportFile)
reportFile
- the file to which the report output will be written.public void addError(junit.framework.Test test, Throwable throwable)
addError
in interface junit.framework.TestListener
TestListener.addError(junit.framework.Test, Throwable)
public void addFailure(junit.framework.Test test, junit.framework.AssertionFailedError failure)
addFailure
in interface junit.framework.TestListener
TestListener.addFailure(junit.framework.Test, junit.framework.AssertionFailedError)
public void endTest(junit.framework.Test test)
endTest
in interface junit.framework.TestListener
TestListener.endTest(junit.framework.Test)
public void startTest(junit.framework.Test test)
startTest
in interface junit.framework.TestListener
TestListener.startTest(junit.framework.Test)
public void startTestSuite(String name)
name
- String endTestSuite(junit.framework.Test test)
test
- the test suite being run.public boolean isTestFailureIgnore()
public void setTestFailureIgnore(boolean testFailureIgnore)
testFailureIgnore
- the testFailureIgnore to setCopyright © 2005–2014 AndroMDA.org. All rights reserved.