Class DefaultConverter

java.lang.Object
org.opentest4j.reporting.tooling.converter.DefaultConverter
All Implemented Interfaces:
Converter

public class DefaultConverter extends Object implements Converter
Default implementation of Converter.
  • Constructor Details

    • DefaultConverter

      public DefaultConverter()
  • Method Details

    • convert

      public void convert(Path eventsXmlFile, Path hierarchicalXmlFile) throws Exception
      Description copied from interface: Converter
      Convert the supplied event-based report into the hierarchical format.
      Specified by:
      convert in interface Converter
      Parameters:
      eventsXmlFile - the source file
      hierarchicalXmlFile - the target file
      Throws:
      Exception - if an error occurs converting or writing to the target file