Skip to content

Commit

Permalink
testng-team#1673 enable generateTestResultAttributes using Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
AnTopch committed Feb 2, 2018
1 parent 516954c commit 16b5173
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/testng/reporters/jq/Main.java
Expand Up @@ -3,6 +3,7 @@
import static org.testng.reporters.jq.BasePanel.C;
import static org.testng.reporters.jq.BasePanel.D;

import org.testng.IAttributes;
import org.testng.IReporter;
import org.testng.ISuite;
import org.testng.internal.Utils;
Expand Down Expand Up @@ -30,9 +31,9 @@ public class Main implements IReporter {

@Override
public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites,
String outputDirectory) {
IAttributes attributes) {
m_model = new Model(suites);
m_outputDirectory = outputDirectory;
m_outputDirectory = (String)attributes.getAttribute("defaultOutputDirectory");

XMLStringBuffer xsb = new XMLStringBuffer(" ");

Expand Down

0 comments on commit 16b5173

Please sign in to comment.