Example #1
0
 /**
  * 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);
 }
Example #2
0
 /**
  * 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);
 }
Example #3
0
 /**
  * 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);
 }
Example #4
0
 /**
  * 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();
 }
Example #5
0
 /**
  * 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();
 }