Klasse JUnitAdapter
java.lang.Object
edu.hm.hafner.analysis.IssueParser
edu.hm.hafner.analysis.parser.violations.AbstractViolationAdapter
edu.hm.hafner.analysis.parser.violations.JUnitAdapter
- Alle implementierten Schnittstellen:
Serializable
Parses JUnit files.
- Autor:
- Gyanesha Prajjwal
- Siehe auch:
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringReport property key to obtain the number of failed tests.static final StringReport property key to obtain the number of passed tests.static final StringReport property key to obtain the number of skipped tests.static final StringReport property key to obtain the total number of tests.Von Klasse geerbte Felder edu.hm.hafner.analysis.IssueParser
ADDITIONAL_PROPERTIES, CATEGORY, COLUMN_END, COLUMN_START, DESCRIPTION, FILE_NAME, FINGERPRINT, ID, LINE_END, LINE_RANGE_END, LINE_RANGE_START, LINE_RANGES, LINE_START, MESSAGE, MODULE_NAME, ORIGIN, PACKAGE_NAME, SEVERITY, TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungparse(ReaderFactory readerFactory) Parses the specified file for issues.Von Klasse geerbte Methoden edu.hm.hafner.analysis.IssueParser
accepts, equalsIgnoreCase, isXmlFile, parseFile
-
Felddetails
-
TOTAL_TESTS
Report property key to obtain the total number of tests.- Siehe auch:
-
PASSED_TESTS
Report property key to obtain the number of passed tests.- Siehe auch:
-
FAILED_TESTS
Report property key to obtain the number of failed tests.- Siehe auch:
-
SKIPPED_TESTS
Report property key to obtain the number of skipped tests.- Siehe auch:
-
-
Konstruktordetails
-
JUnitAdapter
public JUnitAdapter()
-
-
Methodendetails
-
parse
Beschreibung aus Klasse kopiert:IssueParserParses the specified file for issues.- Setzt außer Kraft:
parsein KlasseAbstractViolationAdapter- Parameter:
readerFactory- provides a reader to the reports- Gibt zurück:
- the issues
- Löst aus:
ParsingCanceledException- Signals that the parsing has been aborted by the userParsingException- Signals that during parsing a non-recoverable error has been occurred
-