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
- Author:
- Kristian Rosenvold
-
Constructor Summary
ConstructorsConstructorDescriptionCategorizedReportEntry
(String source, String name, String group) CategorizedReportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) CategorizedReportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message) CategorizedReportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getGroup()
The group/category of the testcaseA name of the test case together with the group or category (if any exists).int
hashCode()
static TestSetReportEntry
reportEntry
(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) Methods inherited from class org.apache.maven.surefire.report.SimpleReportEntry
assumption, getElapsed, getMessage, getName, getSourceName, getStackTraceWriter, getSystemProperties, ignored, toString, withException
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.maven.surefire.report.ReportEntry
getElapsed, getMessage, getName, getSourceName, getStackTraceWriter
-
Constructor Details
-
CategorizedReportEntry
-
CategorizedReportEntry
public CategorizedReportEntry(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed) -
CategorizedReportEntry
-
CategorizedReportEntry
-
-
Method Details
-
reportEntry
public static TestSetReportEntry reportEntry(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message, Map<String, String> systemProperties) -
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 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.
-
equals
- Overrides:
equals
in classSimpleReportEntry
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSimpleReportEntry
-