Remove redundant throws declarations from internal APIs
Closes gh-31176
This commit is contained in:
@@ -45,7 +45,7 @@ class BomPluginIntegrationTests {
|
||||
private File buildFile;
|
||||
|
||||
@BeforeEach
|
||||
void setup(@TempDir File projectDir) throws IOException {
|
||||
void setup(@TempDir File projectDir) {
|
||||
this.projectDir = projectDir;
|
||||
this.buildFile = new File(this.projectDir, "build.gradle");
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ class OptionalDependenciesPluginIntegrationTests {
|
||||
private File buildFile;
|
||||
|
||||
@BeforeEach
|
||||
void setup(@TempDir File projectDir) throws IOException {
|
||||
void setup(@TempDir File projectDir) {
|
||||
this.projectDir = projectDir;
|
||||
this.buildFile = new File(this.projectDir, "build.gradle");
|
||||
}
|
||||
|
||||
@@ -44,12 +44,12 @@ class TestFailuresPluginIntegrationTests {
|
||||
private File projectDir;
|
||||
|
||||
@BeforeEach
|
||||
void setup(@TempDir File projectDir) throws IOException {
|
||||
void setup(@TempDir File projectDir) {
|
||||
this.projectDir = projectDir;
|
||||
}
|
||||
|
||||
@Test
|
||||
void singleProject() throws IOException {
|
||||
void singleProject() {
|
||||
createProject(this.projectDir);
|
||||
BuildResult result = GradleRunner.create().withDebug(true).withProjectDir(this.projectDir)
|
||||
.withArguments("build").withPluginClasspath().buildAndFail();
|
||||
@@ -59,7 +59,7 @@ class TestFailuresPluginIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void multiProject() throws IOException {
|
||||
void multiProject() {
|
||||
createMultiProjectBuild();
|
||||
BuildResult result = GradleRunner.create().withDebug(true).withProjectDir(this.projectDir)
|
||||
.withArguments("build").withPluginClasspath().buildAndFail();
|
||||
@@ -69,7 +69,7 @@ class TestFailuresPluginIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void multiProjectContinue() throws IOException {
|
||||
void multiProjectContinue() {
|
||||
createMultiProjectBuild();
|
||||
BuildResult result = GradleRunner.create().withDebug(true).withProjectDir(this.projectDir)
|
||||
.withArguments("build", "--continue").withPluginClasspath().buildAndFail();
|
||||
@@ -81,7 +81,7 @@ class TestFailuresPluginIntegrationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
void multiProjectParallel() throws IOException {
|
||||
void multiProjectParallel() {
|
||||
createMultiProjectBuild();
|
||||
BuildResult result = GradleRunner.create().withDebug(true).withProjectDir(this.projectDir)
|
||||
.withArguments("build", "--parallel", "--stacktrace").withPluginClasspath().buildAndFail();
|
||||
|
||||
Reference in New Issue
Block a user