Class FailsafeSummaryXmlUtils
- java.lang.Object
-
- org.apache.maven.plugin.failsafe.util.FailsafeSummaryXmlUtils
-
public final class FailsafeSummaryXmlUtils extends java.lang.Object- Since:
- 2.20
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringFAILSAFE_SUMMARY_XML_SCHEMA_LOCATIONprivate static java.lang.StringFAILSAFE_SUMMARY_XML_TEMPLATEprivate static java.lang.StringMESSAGE_ELEMENTprivate static java.lang.StringMESSAGE_NIL_ELEMENT
-
Constructor Summary
Constructors Modifier Constructor Description privateFailsafeSummaryXmlUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidfromRunResultToFile(org.apache.maven.surefire.api.suite.RunResult fromRunResult, java.io.File toFailsafeSummaryXml)static org.apache.maven.surefire.api.suite.RunResulttoRunResult(java.io.File failsafeSummaryXml)static voidwriteSummary(org.apache.maven.surefire.api.suite.RunResult mergedSummary, java.io.File mergedSummaryFile, boolean inProgress)
-
-
-
Field Detail
-
FAILSAFE_SUMMARY_XML_SCHEMA_LOCATION
private static final java.lang.String FAILSAFE_SUMMARY_XML_SCHEMA_LOCATION
- See Also:
- Constant Field Values
-
MESSAGE_NIL_ELEMENT
private static final java.lang.String MESSAGE_NIL_ELEMENT
- See Also:
- Constant Field Values
-
MESSAGE_ELEMENT
private static final java.lang.String MESSAGE_ELEMENT
- See Also:
- Constant Field Values
-
FAILSAFE_SUMMARY_XML_TEMPLATE
private static final java.lang.String FAILSAFE_SUMMARY_XML_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
toRunResult
public static org.apache.maven.surefire.api.suite.RunResult toRunResult(java.io.File failsafeSummaryXml) throws java.io.IOException- Throws:
java.io.IOException
-
fromRunResultToFile
public static void fromRunResultToFile(org.apache.maven.surefire.api.suite.RunResult fromRunResult, java.io.File toFailsafeSummaryXml) throws java.io.IOException- Throws:
java.io.IOException
-
writeSummary
public static void writeSummary(org.apache.maven.surefire.api.suite.RunResult mergedSummary, java.io.File mergedSummaryFile, boolean inProgress) throws java.lang.Exception- Throws:
java.lang.Exception
-
-