Class FailsafeSummaryXmlUtils


  • public final class FailsafeSummaryXmlUtils
    extends java.lang.Object
    Since:
    2.20
    Author:
    Tibor Digana (tibor17)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void fromRunResultToFile​(org.apache.maven.surefire.api.suite.RunResult fromRunResult, java.io.File toFailsafeSummaryXml)  
      static org.apache.maven.surefire.api.suite.RunResult toRunResult​(java.io.File failsafeSummaryXml)  
      static void writeSummary​(org.apache.maven.surefire.api.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
    • 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