/** * Disables the HTML test report. * * @deprecated Replaced by {@code getReports().getHtml().setEnabled()} */ @SuppressWarnings("UnusedDeclaration") @Deprecated public void disableTestReport() { DeprecationLogger.nagUserOfReplacedProperty( "Test.testReport", "Test.getReports().getHtml().setEnabled()"); reports.getHtml().setEnabled(false); }
/** * Sets whether the test HTML report should be generated. * * @deprecated Replaced by {@code getReports().getHtml().setEnabled()} */ @Deprecated public void setTestReport(boolean testReport) { DeprecationLogger.nagUserOfReplacedProperty( "Test.testReport", "Test.getReports().getHtml().setEnabled()"); reports.getHtml().setEnabled(testReport); }
/** * Sets the root folder for the test reports. * * @param testReportDir The root folder * @deprecated Replaced by {@code getReports().getHtml().setDestination()} */ @Deprecated public void setTestReportDir(File testReportDir) { DeprecationLogger.nagUserOfReplacedProperty( "Test.testReportDir", "Test.getReports().getHtml().getDestination()"); reports.getHtml().setDestination(testReportDir); }
/** * Specifies whether the test HTML report should be generated. * * @deprecated Replaced by {@code getReports().getHtml().isEnabled()} */ @Deprecated public boolean isTestReport() { DeprecationLogger.nagUserOfReplacedProperty( "Test.testReport", "Test.getReports().getHtml().isEnabled()"); return reports.getHtml().isEnabled(); }
/** * Returns the root folder for the test reports. * * @return the test report directory, containing the test report mostly in HTML form. * @deprecated Replaced by {@code getReports().getHtml().getDestination()} */ @Deprecated public File getTestReportDir() { DeprecationLogger.nagUserOfReplacedProperty( "Test.testReportDir", "Test.getReports().getHtml().getDestination()"); return reports.getHtml().getDestination(); }