Index

A C D E F G H I J M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addFailure(TestFailure) - Method in class rife.bld.extension.junitreporter.TestClassFailures
Adds a failure to this class group.

C

className() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the className record component.
compareTo(TestFailure) - Method in record class rife.bld.extension.junitreporter.TestFailure
Compares this failure to another by class name, then test name.
createTestFailure(Element, Element, String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Creates a TestFailure from a test case and failure element.

D

displayName() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the displayName record component.

E

equals(Object) - Method in record class rife.bld.extension.junitreporter.TestFailure
Indicates whether some other object is "equal to" this one.
execute() - Method in class rife.bld.extension.JUnitReporterOperation
Performs the operation.
extractDisplayName(Element) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Extracts the JUnit display name from a test case's system-out element.
extractTestFailuresGrouped(String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Parses a JUnit XML report and groups test failures by class name.

F

failOnSummary() - Method in class rife.bld.extension.JUnitReporterOperation
Returns whether the operation should fail if test failures are found.
failOnSummary(boolean) - Method in class rife.bld.extension.JUnitReporterOperation
Configures whether the operation should fail if test failures are found.
failureMessage() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the failureMessage record component.
failureType() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the failureType record component.
fromProject(BaseProject) - Method in class rife.bld.extension.JUnitReporterOperation
Configures the operation from a BaseProject.

G

getAttributeOrDefault(Element, String, String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Returns an attribute value from an element, or a default if blank or missing.
getClassName() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Returns the fully qualified test class name.
getFailures() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Returns an unmodifiable list of failures in insertion order.
getFailuresByIndex(Map<String, TestClassFailures>, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Returns the TestClassFailures at the given 0-based index.
getTextContentTrimmed(Element) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Returns the trimmed text content of an element.
getTotalFailures() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Returns the total number of failures in this class.
getTotalTime() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Returns the sum of execution times for all failures in this class.

H

hashCode() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns a hash code value for this object.
hasIndex(String, Map<String, TestClassFailures>) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Checks whether the given index string refers to a valid test or failure.

I

indent(String) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Indents each line of the input text by 8 spaces.
indent(String, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Indents each line of the input text by the specified number of spaces.

J

JUnitReporterOperation - Class in rife.bld.extension
An operation that parses JUnit XML reports and prints test failure information grouped by test class.
JUnitReporterOperation() - Constructor for class rife.bld.extension.JUnitReporterOperation
 
JUnitXmlParser - Class in rife.bld.extension.junitreporter
Utility class for parsing JUnit XML test reports.
JUnitXmlParserException - Exception in rife.bld.extension.junitreporter
Unchecked exception thrown when JUnit XML parsing fails.
JUnitXmlParserException(String) - Constructor for exception rife.bld.extension.junitreporter.JUnitXmlParserException
Constructs a new JUnitXmlParserException with the specified detail message.
JUnitXmlParserException(String, Throwable) - Constructor for exception rife.bld.extension.junitreporter.JUnitXmlParserException
Constructs a new JUnitXmlParserException with the specified detail message and cause.
JUnitXmlParserException(Throwable) - Constructor for exception rife.bld.extension.junitreporter.JUnitXmlParserException
Constructs a new JUnitXmlParserException with the specified cause.

M

MESSAGE_ATTR - Static variable in class rife.bld.extension.junitreporter.JUnitXmlParser
XML attribute name for failure messages.

N

NAME_ATTR - Static variable in class rife.bld.extension.junitreporter.JUnitXmlParser
XML attribute name for test case names.

P

parseTestCases(NodeList) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Parses test case nodes and groups failures by class name.
parseTime(String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Parses a time value from a string.
printDetails(String, Map<String, TestClassFailures>) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints the details of test failures based on 1-based CLI argument.
printFailure(TestFailure, Integer, Integer) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints details of a single test failure with optional indices.
printFailures(TestClassFailures, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints all failures for a test class using 0-based group index.
printFailureWithStackTrace(TestFailure, int, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints failure details with header and stack trace using 0-based indices.
printHeader(String) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints a header with the specified title.
printStackTrace(TestFailure) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints the stack trace of the provided test failure, if available.
printSummary(Map<String, TestClassFailures>) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints a summary of JUnit test failures grouped by test class.

R

reportFile() - Method in class rife.bld.extension.JUnitReporterOperation
Returns the path to the report file.
reportFile(File) - Method in class rife.bld.extension.JUnitReporterOperation
Specifies the XML report file.
reportFile(String) - Method in class rife.bld.extension.JUnitReporterOperation
Specifies the XML report file.
reportFile(Path) - Method in class rife.bld.extension.JUnitReporterOperation
Specifies the XML report file.
ReportPrinter - Class in rife.bld.extension.junitreporter
Utility class for printing detailed and structured reports of test failures.
rife.bld.extension - package rife.bld.extension
Provides a bld extension to display various JUnit failure reports.
rife.bld.extension.junitreporter - package rife.bld.extension.junitreporter
Provides classes for parsing and displaying JUnit XML reports.

S

stackTrace() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the stackTrace record component.

T

TESTCASE_TAG - Static variable in class rife.bld.extension.junitreporter.JUnitXmlParser
XML tag name for test case elements.
TestClassFailures - Class in rife.bld.extension.junitreporter
Groups test failures by class name, preserving insertion order.
TestClassFailures(String) - Constructor for class rife.bld.extension.junitreporter.TestClassFailures
Constructs a new TestClassFailures for the specified class.
TestFailure - Record Class in rife.bld.extension.junitreporter
Immutable record representing a test case failure extracted from JUnit XML.
TestFailure(String, String, String, String, String, String, double) - Constructor for record class rife.bld.extension.junitreporter.TestFailure
Constructs a new TestFailure instance.
testName() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the testName record component.
time() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns the value of the time record component.
toString() - Method in class rife.bld.extension.junitreporter.TestClassFailures
 
toString() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns a string representation of this record class.

V

validateFile(Path) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Validates that a file exists and is readable.
A C D E F G H I J M N P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form