org.apache.maven.surefire.report
Interface ReportEntry

All Known Implementing Classes:
CategorizedReportEntry, SimpleReportEntry

public interface ReportEntry


Method Summary
 Integer getElapsed()
          Gets the runtime for the item.
 String getGroup()
          The group/category of the testcase
 String getMessage()
          A message relating to a non-successful termination.
 String getName()
          The name of the test case
 String getNameWithGroup()
          A name of the test case together with the group or category (if any exists).
 String getSourceName()
          The class name of the test
 StackTraceWriter getStackTraceWriter()
          The group/category of the testcase
 

Method Detail

getSourceName

String getSourceName()
The class name of the test

Returns:
A string with the class name

getName

String getName()
The name of the test case

Returns:
A string describing the test case

getGroup

String getGroup()
The group/category of the testcase

Returns:
A string

getStackTraceWriter

StackTraceWriter getStackTraceWriter()
The group/category of the testcase

Returns:
A string

getElapsed

Integer getElapsed()
Gets the runtime for the item. Optional parameter. If the value is not set, it will be determined within the reporting subsustem. Some providers like to calculate this value themselves, and it gets the most accurate value.


getMessage

String getMessage()
A message relating to a non-successful termination. May be the "message" from an exception or the reason for a test being ignored

Returns:
A string that explains an anomaly

getNameWithGroup

String getNameWithGroup()
A name of the test case together with the group or category (if any exists).

Returns:
A string with the test case name and group/category, or just the name.


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