Skip to content

Commit

Permalink
Stop using deprecated surefire StartupReportConfiguration constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
akurtakov committed Oct 9, 2024
1 parent 541bc3c commit d084b0d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ public static int run(String[] args, Properties testProps) throws Exception {
extractProviderProperties(testProps), null, false, Collections.emptyList(), skipAfterFailureCount,
Shutdown.DEFAULT, 30);
StartupReportConfiguration startupReportConfig = new StartupReportConfiguration(useFile, printSummary,
ConsoleReporter.PLAIN, redirectTestOutputToFile, reportsDir, trimStackTrace, null, new File(reportsDir, "TESTHASH"), false,
rerunFailingTestsCount, XSD, StandardCharsets.UTF_8.toString(), false,
getSurefireStatelessReporter(provider, disableXmlReport, null),
ConsoleReporter.PLAIN, redirectTestOutputToFile, reportsDir, trimStackTrace, null,
new File(reportsDir, "TESTHASH"), false, rerunFailingTestsCount, XSD, StandardCharsets.UTF_8.toString(),
false, true, true, getSurefireStatelessReporter(provider, disableXmlReport, null),
getSurefireConsoleOutputReporter(provider), getSurefireStatelessTestsetInfoReporter(provider));
ReporterFactory reporterFactory = new DefaultReporterFactory(startupReportConfig,
new PrintStreamLogger(System.out));
Expand Down

0 comments on commit d084b0d

Please sign in to comment.