Class CategorizedReportEntry

    • Field Detail

      • group

        private final java.lang.String group
    • Constructor Detail

      • CategorizedReportEntry

        public CategorizedReportEntry​(java.lang.String source,
                                      java.lang.String name,
                                      java.lang.String group)
      • CategorizedReportEntry

        public CategorizedReportEntry​(java.lang.String source,
                                      java.lang.String name,
                                      java.lang.String group,
                                      StackTraceWriter stackTraceWriter,
                                      java.lang.Integer elapsed)
      • CategorizedReportEntry

        public CategorizedReportEntry​(java.lang.String source,
                                      java.lang.String name,
                                      java.lang.String group,
                                      StackTraceWriter stackTraceWriter,
                                      java.lang.Integer elapsed,
                                      java.lang.String message)
      • CategorizedReportEntry

        public CategorizedReportEntry​(java.lang.String source,
                                      java.lang.String sourceText,
                                      java.lang.String name,
                                      java.lang.String nameText,
                                      java.lang.String group,
                                      StackTraceWriter stackTraceWriter,
                                      java.lang.Integer elapsed,
                                      java.lang.String message,
                                      java.util.Map<java.lang.String,​java.lang.String> systemProperties)
    • Method Detail

      • reportEntry

        public static TestSetReportEntry reportEntry​(java.lang.String source,
                                                     java.lang.String sourceText,
                                                     java.lang.String name,
                                                     java.lang.String nameText,
                                                     java.lang.String group,
                                                     StackTraceWriter stackTraceWriter,
                                                     java.lang.Integer elapsed,
                                                     java.lang.String message,
                                                     java.util.Map<java.lang.String,​java.lang.String> systemProperties)
      • 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
        Overrides:
        getNameWithGroup in class SimpleReportEntry
        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
        Overrides:
        getReportNameWithGroup in class SimpleReportEntry
        Returns:
        A string with the test case text and group/category, or just the source text.
      • isNameWithGroup

        private boolean isNameWithGroup()