Class XmlTestsSuiteWriter


  • public class XmlTestsSuiteWriter
    extends java.lang.Object
    Writer class to generate XML tests suite.
    Author:
    Cristina Diaconu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void generateXmlFile​(java.lang.String filePath, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> testClasses, java.lang.String testGroup)
      Generate the XML file suite and write it to the disk.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        public static org.slf4j.Logger LOG
    • Constructor Detail

      • XmlTestsSuiteWriter

        public XmlTestsSuiteWriter()
    • Method Detail

      • generateXmlFile

        public void generateXmlFile​(java.lang.String filePath,
                                    java.util.Map<java.lang.String,​java.util.List<java.lang.String>> testClasses,
                                    java.lang.String testGroup)
        Generate the XML file suite and write it to the disk.
        Parameters:
        filePath - The file path where to save the file.
        testClasses - The map containing the classes and methods to be write on the XML file.