Class FailsafeSummaryXmlUtils


  • public final class FailsafeSummaryXmlUtils
    extends java.lang.Object
    Since:
    2.20
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fromRunResultToFile​(org.apache.maven.surefire.suite.RunResult fromRunResult, java.io.File toFailsafeSummaryXml)  
      static org.apache.maven.surefire.suite.RunResult toRunResult​(java.io.File failsafeSummaryXml)  
      static void writeSummary​(org.apache.maven.surefire.suite.RunResult mergedSummary, java.io.File mergedSummaryFile, boolean inProgress)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • FAILSAFE_SUMMARY_XML_TEMPLATE

        private static final java.lang.String FAILSAFE_SUMMARY_XML_TEMPLATE
        See Also:
        Constant Field Values
    • Constructor Detail

      • FailsafeSummaryXmlUtils

        private FailsafeSummaryXmlUtils()
    • Method Detail

      • toRunResult

        public static org.apache.maven.surefire.suite.RunResult toRunResult​(java.io.File failsafeSummaryXml)
                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • fromRunResultToFile

        public static void fromRunResultToFile​(org.apache.maven.surefire.suite.RunResult fromRunResult,
                                               java.io.File toFailsafeSummaryXml)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • writeSummary

        public static void writeSummary​(org.apache.maven.surefire.suite.RunResult mergedSummary,
                                        java.io.File mergedSummaryFile,
                                        boolean inProgress)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception