org.apache.maven.surefire.report
Class CategorizedReportEntry

java.lang.Object
  extended by org.apache.maven.surefire.report.SimpleReportEntry
      extended by org.apache.maven.surefire.report.CategorizedReportEntry
All Implemented Interfaces:
ReportEntry

public class CategorizedReportEntry
extends SimpleReportEntry
implements ReportEntry

Author:
Kristian Rosenvold

Constructor Summary
CategorizedReportEntry(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)
           
 
Method Summary
 boolean equals(Object o)
           
 String getGroup()
          The group/category of the testcase
 int hashCode()
           
static ReportEntry reportEntry(String source, String name, String group, StackTraceWriter stackTraceWriter, Integer elapsed, String message)
           
 
Methods inherited from class org.apache.maven.surefire.report.SimpleReportEntry
getElapsed, getMessage, getName, getSourceName, getStackTraceWriter, 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 Detail

CategorizedReportEntry

public CategorizedReportEntry(String source,
                              String name,
                              String group)

CategorizedReportEntry

public CategorizedReportEntry(String source,
                              String name,
                              String group,
                              StackTraceWriter stackTraceWriter,
                              Integer elapsed)

CategorizedReportEntry

public CategorizedReportEntry(String source,
                              String name,
                              String group,
                              StackTraceWriter stackTraceWriter,
                              Integer elapsed,
                              String message)
Method Detail

reportEntry

public static ReportEntry reportEntry(String source,
                                      String name,
                                      String group,
                                      StackTraceWriter stackTraceWriter,
                                      Integer elapsed,
                                      String message)

getGroup

public String getGroup()
Description copied from interface: ReportEntry
The group/category of the testcase

Specified by:
getGroup in interface ReportEntry
Overrides:
getGroup in class SimpleReportEntry
Returns:
A string

equals

public boolean equals(Object o)
Overrides:
equals in class SimpleReportEntry

hashCode

public int hashCode()
Overrides:
hashCode in class SimpleReportEntry


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.