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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCategorizedReportEntry(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 TypeMethodDescriptionbooleangetGroup()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).inthashCode()static TestSetReportEntryreportEntry(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:ReportEntryThe group/category of the testcase- Specified by:
getGroupin interfaceReportEntry- Overrides:
getGroupin classSimpleReportEntry- Returns:
- A string
-
getNameWithGroup
Description copied from interface:ReportEntryA source name of the test case together with the group or category (if any exists).- Specified by:
getNameWithGroupin interfaceReportEntry- Overrides:
getNameWithGroupin classSimpleReportEntry- Returns:
- A string with the test case name and group/category, or just the name.
-
getReportNameWithGroup
Description copied from interface:ReportEntryA source text of the test case together with the group or category (if any exists).- Specified by:
getReportNameWithGroupin interfaceReportEntry- Overrides:
getReportNameWithGroupin classSimpleReportEntry- Returns:
- A string with the test case text and group/category, or just the source text. If no source text is provided, then this will return null.
-
equals
- Overrides:
equalsin classSimpleReportEntry
-
hashCode
public int hashCode()- Overrides:
hashCodein classSimpleReportEntry
-