Package org.apache.maven.surefire.report
Class CategorizedReportEntry
java.lang.Object
org.apache.maven.surefire.report.SimpleReportEntry
org.apache.maven.surefire.report.CategorizedReportEntry
- All Implemented Interfaces:
ReportEntry
,TestSetReportEntry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCategorizedReportEntry
(String source, String name, String group) CategorizedReportEntry
(String source, String sourceText, String name, String nameText, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) CategorizedReportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) CategorizedReportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
The group/category of the testcaseA source name of the test case together with the group or category (if any exists).A source text of the test case together with the group or category (if any exists).int
hashCode()
private boolean
static TestSetReportEntry
reportEntry
(String source, String sourceText, String name, String nameText, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) Methods inherited from class org.apache.maven.surefire.report.SimpleReportEntry
assumption, getElapsed, getElapsed, getMessage, getName, getNameText, getSourceName, getSourceText, getStackTraceWriter, getSystemProperties, ignored, toString, withException
-
Field Details
-
GROUP_PREFIX
- See Also:
-
GROUP_SUFIX
- See Also:
-
group
-
-
Constructor Details
-
CategorizedReportEntry
-
CategorizedReportEntry
public CategorizedReportEntry(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) -
CategorizedReportEntry
-
CategorizedReportEntry
-
-
Method Details
-
reportEntry
-
getGroup
Description copied from interface:ReportEntry
The group/category of the testcase- Specified by:
getGroup
in interfaceReportEntry
- Overrides:
getGroup
in classSimpleReportEntry
- Returns:
- A string
-
getNameWithGroup
Description copied from interface:ReportEntry
A source name of the test case together with the group or category (if any exists).- Specified by:
getNameWithGroup
in interfaceReportEntry
- Overrides:
getNameWithGroup
in classSimpleReportEntry
- Returns:
- A string with the test case name and group/category, or just the name.
-
getReportNameWithGroup
Description copied from interface:ReportEntry
A source text of the test case together with the group or category (if any exists).- Specified by:
getReportNameWithGroup
in interfaceReportEntry
- Overrides:
getReportNameWithGroup
in classSimpleReportEntry
- Returns:
- A string with the test case text and group/category, or just the source text.
-
equals
- Overrides:
equals
in classSimpleReportEntry
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSimpleReportEntry
-
isNameWithGroup
private boolean isNameWithGroup()
-