public class TranslationLibraryTestFormatter extends Object implements junit.framework.TestListener
Constructor and Description |
---|
TranslationLibraryTestFormatter() |
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()
Signifies the test suite ended and returns the summary of the
test.
|
void |
setReportFile(File reportFile)
Sets the file that will contain the report results (i.e.
|
void |
startTest(junit.framework.Test test) |
void |
startTestSuite(String name)
The testsuite started.
|
public TranslationLibraryTestFormatter()
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()
Copyright © 2005–2014 AndroMDA.org. All rights reserved.