Class CategorizedReportEntry
java.lang.Object
org.apache.maven.surefire.api.report.SimpleReportEntry
org.apache.maven.surefire.api.report.CategorizedReportEntry
- All Implemented Interfaces:
ReportEntry
,TestSetReportEntry
- Author:
- Kristian Rosenvold
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCategorizedReportEntry
(RunMode runMode, Long testRunId, String source, String sourceText, String name, String nameText, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) CategorizedReportEntry
(RunMode runMode, Long testRunId, String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) CategorizedReportEntry
(RunMode runMode, Long testRunId, 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()
static TestSetReportEntry
reportEntry
(RunMode runMode, Long testRunId, 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.api.report.SimpleReportEntry
assumption, getElapsed, getElapsed, getMessage, getName, getNameText, getRunMode, getSourceName, getSourceText, getStackTraceWriter, getSystemProperties, getTestRunId, ignored, toString, withException
-
Field Details
-
GROUP_PREFIX
- See Also:
-
-
Constructor Details
-
CategorizedReportEntry
-
CategorizedReportEntry
public CategorizedReportEntry(@Nonnull RunMode runMode, @Nonnegative Long testRunId, String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) -
CategorizedReportEntry
public CategorizedReportEntry(@Nonnull RunMode runMode, @Nonnegative Long testRunId, String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message) -
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
-