Class WrappedReportEntry

    • Method Detail

      • getElapsed

        public java.lang.Integer getElapsed()
        Description copied from interface: ReportEntry
        Gets the runtime for the item. Optional parameter. If the value is not set, it will be determined within the reporting subsystem. Some providers like to calculate this value themselves, and it gets the most accurate value.
        Specified by:
        getElapsed in interface ReportEntry
        Returns:
        duration of a test in milli seconds
      • getSourceName

        public java.lang.String getSourceName()
        Description copied from interface: ReportEntry
        The class name of the test
        Specified by:
        getSourceName in interface ReportEntry
        Returns:
        A string with the class name
      • getName

        public java.lang.String getName()
        Description copied from interface: ReportEntry
        The name of the test case
        Specified by:
        getName in interface ReportEntry
        Returns:
        A string describing the test case
      • getClassMethodName

        public java.lang.String getClassMethodName()
      • getGroup

        public java.lang.String getGroup()
        Description copied from interface: ReportEntry
        The group/category of the testcase
        Specified by:
        getGroup in interface ReportEntry
        Returns:
        A string
      • getMessage

        public java.lang.String getMessage()
        Description copied from interface: ReportEntry
        A message relating to a non-successful termination. May be the "message" from an exception or the reason for a test being ignored
        Specified by:
        getMessage in interface ReportEntry
        Returns:
        A string that explains an anomaly
      • getStackTrace

        public java.lang.String getStackTrace​(boolean trimStackTrace)
      • elapsedTimeAsString

        public java.lang.String elapsedTimeAsString()
      • getReportSourceName

        java.lang.String getReportSourceName()
      • getReportSourceName

        java.lang.String getReportSourceName​(java.lang.String suffix)
      • getSourceName

        java.lang.String getSourceName​(java.lang.String suffix)
      • getReportName

        java.lang.String getReportName()
      • getOutput

        public java.lang.String getOutput​(boolean trimStackTrace)
      • getElapsedTimeVerbose

        public java.lang.String getElapsedTimeVerbose()
      • getElapsedTimeSummary

        public java.lang.String getElapsedTimeSummary()
      • isErrorOrFailure

        public boolean isErrorOrFailure()
      • isSkipped

        public boolean isSkipped()
      • isSucceeded

        public boolean isSucceeded()
      • getNameWithGroup

        public java.lang.String getNameWithGroup()
        Description copied from interface: ReportEntry
        A source name of the test case together with the group or category (if any exists).
        Specified by:
        getNameWithGroup in interface ReportEntry
        Returns:
        A string with the test case name and group/category, or just the name.
      • getReportNameWithGroup

        public java.lang.String getReportNameWithGroup()
        Description copied from interface: ReportEntry
        A source text of the test case together with the group or category (if any exists).
        Specified by:
        getReportNameWithGroup in interface ReportEntry
        Returns:
        A string with the test case text and group/category, or just the source text.