com.ats.tools.report.utils.AtsReportXmlGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ats-automated-testing Show documentation
Show all versions of ats-automated-testing Show documentation
Code generator library to create and execute GUI automated tests
The newest version!
package com.ats.tools.report.utils;
import com.ats.generator.ATS;
import com.ats.tools.logger.levels.AtsLogger;
import com.ats.tools.report.models.*;
import javax.xml.stream.*;
import javax.xml.stream.events.Attribute;
import javax.xml.stream.events.StartElement;
import javax.xml.stream.events.XMLEvent;
import java.io.*;
import java.nio.file.Path;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import static com.ats.tools.report.HtmlCampaignReportGenerator.ATS_TEST_REPORT_HTML_DATA_FILE_NAME;
public class AtsReportXmlGenerator {
private XMLStreamWriter xmlStreamWriter;
private FileOutputStream fileOutputStream;
private XMLOutputFactory outputFactory;
private List testSummaries;
private Project project;
private Results results;
private List