JaCoCoConfiguration { public String getReportPath() { return settings.getString(REPORT_PATH_PROPERTY); } JaCoCoConfiguration(Settings settings, FileSystem fileSystem); boolean shouldExecuteOnProject(boolean reportFound); String getReportPath(); String getItReportPath(); static List<PropertyDefinition> getPropertyDefinitions(); static final String REPORT_PATH_PROPERTY; static final String REPORT_PATH_DEFAULT_VALUE; static final String IT_REPORT_PATH_PROPERTY; static final String IT_REPORT_PATH_DEFAULT_VALUE; static final String REPORT_MISSING_FORCE_ZERO; static final boolean REPORT_MISSING_FORCE_ZERO_DEFAULT_VALUE; }
@Test public void shouldReturnReportPathWhenModified() { settings.setProperty(JaCoCoConfiguration.REPORT_PATH_PROPERTY, "jacoco.exec"); assertThat(jacocoSettings.getReportPath()).isEqualTo("jacoco.exec"); }