1919 */
2020package org .sonar .plugins .jacoco ;
2121
22- import java .io .FileNotFoundException ;
2322import java .io .IOException ;
2423import java .nio .file .Files ;
2524import java .nio .file .Path ;
@@ -90,7 +89,7 @@ void should_return_multiple_paths_when_aggregate_paths_property_is_provided() th
9089 }
9190
9291 @ Test
93- void should_return_null_if_the_aggregate_report_property_is_not_defined () throws FileNotFoundException {
92+ void should_return_null_if_the_aggregate_report_property_is_not_defined () {
9493 assertThat (provider .getAggregateReportPaths ()).isEmpty ();
9594 }
9695
@@ -198,7 +197,7 @@ void should_resolve_absolute_path_pattern() throws IOException {
198197 }
199198
200199 @ Test
201- void should_return_empty_if_provided_and_default_does_not_exist () throws IOException {
200+ void should_return_empty_if_provided_and_default_does_not_exist () {
202201 settings .setProperty (ReportPathsProvider .REPORT_PATHS_PROPERTY_KEY , "mypath1" );
203202
204203 Collection <Path > paths = provider .getPaths ();
@@ -210,7 +209,7 @@ void should_return_empty_if_provided_and_default_does_not_exist() throws IOExcep
210209 }
211210
212211 @ Test
213- void should_return_empty_with_log_details_if_several_provided_paths_does_not_exist () throws IOException {
212+ void should_return_empty_with_log_details_if_several_provided_paths_does_not_exist () {
214213 settings .setProperty (ReportPathsProvider .REPORT_PATHS_PROPERTY_KEY , "mypath1,mypath2," );
215214
216215 Collection <Path > paths = provider .getPaths ();
@@ -236,7 +235,7 @@ void should_fallback_to_defaults_if_exist() throws IOException {
236235 }
237236
238237 @ Test
239- void should_return_empty_if_nothing_specified_and_default_doesnt_exist () throws IOException {
238+ void should_return_empty_if_nothing_specified_and_default_doesnt_exist () {
240239 Collection <Path > paths = provider .getPaths ();
241240 assertThat (paths ).isEmpty ();
242241 assertThat (logTester .logs ()).hasSize (1 );
0 commit comments