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 TypeMethodDescriptionbooleangetGroup()The group/category of the testcaseA name of the test case together with the group or category (if any exists).inthashCode()static TestSetReportEntryreportEntry(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, withExceptionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:ReportEntryThe group/category of the testcase- Specified by:
getGroupin interfaceReportEntry- Overrides:
getGroupin classSimpleReportEntry- Returns:
- A string
-
getNameWithGroup
Description copied from interface:ReportEntryA 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.
-
equals
- Overrides:
equalsin classSimpleReportEntry
-
hashCode
public int hashCode()- Overrides:
hashCodein classSimpleReportEntry
-