JaCoCoConfiguration { public String getItReportPath() { return settings.getString(IT_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 shouldReturnItReportPathWhenModified() { settings.setProperty(JaCoCoConfiguration.IT_REPORT_PATH_PROPERTY, "target/it-jacoco-test.exec"); assertThat(jacocoSettings.getItReportPath()).isEqualTo("target/it-jacoco-test.exec"); }