Skip to content

Commit 3d2198f

Browse files
committed
added an overload to ReportBuilder
1 parent 35cc5c0 commit 3d2198f

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

TestStack.BDDfy/Reporters/Html/HtmlReporter.cs

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,21 @@ public class HtmlReporter : IBatchProcessor
1515
readonly IHtmlReportConfiguration _configuration;
1616
public HtmlReportViewModel Model { get; private set; }
1717

18-
public HtmlReporter(IHtmlReportConfiguration configuration)
19-
: this(configuration, new HtmlReportBuilder(), new FileWriter(), new FileReader()) { }
18+
public HtmlReporter(IHtmlReportConfiguration configuration)
19+
: this(configuration, new HtmlReportBuilder(), new FileWriter(), new FileReader())
20+
{
21+
}
22+
23+
public HtmlReporter(IHtmlReportConfiguration configuration, IReportBuilder htmlReportBuilder)
24+
: this(configuration, htmlReportBuilder, new FileWriter(), new FileReader())
25+
{
26+
}
2027

21-
public HtmlReporter(IHtmlReportConfiguration configuration, IReportBuilder builder,
22-
IReportWriter writer, IFileReader reader)
28+
public HtmlReporter(
29+
IHtmlReportConfiguration configuration,
30+
IReportBuilder builder,
31+
IReportWriter writer,
32+
IFileReader reader)
2333
{
2434
_configuration = configuration;
2535
_builder = builder;

0 commit comments

Comments
 (0)