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 test failure to the collection of failures for this specific test class.

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 object to another object.
createTestFailure(Element, Element, String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Creates a TestFailure instance by extracting relevant failure information from a JUnit XML test case element and its associated 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 class rife.bld.extension.junitreporter.TestClassFailures
Determines if this object is equal to another object.
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
Preforms the operation.
executeConstructProcessCommandList() - Method in class rife.bld.extension.JUnitReporterOperation
Constructs the command list to use for the operation.
extractDisplayName(Element) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Extracts the display-name from the system-out element within a test case.
extractTestFailuresGrouped(String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Extracts test failure information from a JUnit XML report and groups by class name.

F

failOnSummary() - Method in class rife.bld.extension.JUnitReporterOperation
Returns whether the operation should fail if the summary is printed.
failOnSummary(boolean) - Method in class rife.bld.extension.JUnitReporterOperation
Configures whether the operation should fail if the summary is printed.
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
Retrieves the value of a specified attribute from the provided XML element.
getClassName() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Retrieves the name of the test class associated with the test failures.
getFailures() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Retrieves a sorted list of all test failures associated with this test class.
getFailuresByGroupIndex(Map<String, TestClassFailures>, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Retrieves the test class failures associated with a specific group index from the provided map.
getTextContentTrimmed(Element) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Retrieves the trimmed text content of the specified XML element.
getTotalFailures() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Retrieves the total number of test failures associated with a specific test class.
getTotalTime() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Retrieves the total execution time of the test failures associated with a specific test class.

H

hashCode() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Calculates the hash code for this object.
hashCode() - Method in record class rife.bld.extension.junitreporter.TestFailure
Returns a hash code value for this object.

I

indent(String) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Indents each line of the input text by 8 spaces (default indentation).
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 to parse JUnit XML reports.
JUnitXmlParserException - Exception in rife.bld.extension.junitreporter
Custom exception for XML parsing errors.
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.

M

MESSAGE_ATTR - Static variable in class rife.bld.extension.junitreporter.JUnitXmlParser
 

N

NAME_ATTR - Static variable in class rife.bld.extension.junitreporter.JUnitXmlParser
 

P

parseTestCases(NodeList) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Parses a list of test case nodes from a JUnit XML report and groups the failures by their respective test class names.
parseTime(String) - Static method in class rife.bld.extension.junitreporter.JUnitXmlParser
Parses a time value represented as a String and returns its numeric equivalent.
printDetails(String, Map<String, TestClassFailures>) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints the details of test failures based on the given argument and grouped failures.
printFailure(TestFailure, Integer, Integer) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints details of a single test failure, including optional group and failure indices.
printFailures(TestClassFailures, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints the failures of a specific test class along with their group and failure indices.
printFailureWithStackTrace(TestFailure, int, int) - Static method in class rife.bld.extension.junitreporter.ReportPrinter
Prints the failure details, including its formatted group and failure indices, and displays the associated stack trace.
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

sortFailures() - Method in class rife.bld.extension.junitreporter.TestClassFailures
Sorts the failures in-place.
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
 
TestClassFailures - Class in rife.bld.extension.junitreporter
Represents the aggregated test failures for a specific test class.
TestClassFailures(String) - Constructor for class rife.bld.extension.junitreporter.TestClassFailures
Constructs a new TestClassFailures object for a specific test class.
TestFailure - Record Class in rife.bld.extension.junitreporter
Represents a failure that occurred during the execution of a specific test case in a test suite.
TestFailure(String, String, String, String, String, String, double) - Constructor for record class rife.bld.extension.junitreporter.TestFailure
Constructs a new TestFailure object.
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
Returns a string representation of this object.
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 file existence and readability.
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