mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.1.x'
This commit is contained in:
+7
@@ -20,6 +20,7 @@ import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.TestTemplate;
|
||||
|
||||
import org.springframework.boot.gradle.junit.GradleCompatibility;
|
||||
@@ -39,6 +40,12 @@ class ProtobufPluginActionIntegrationTests {
|
||||
@SuppressWarnings("NullAway.Init")
|
||||
GradleBuild gradleBuild;
|
||||
|
||||
@BeforeEach
|
||||
void prepareGradleBuild() {
|
||||
this.gradleBuild.expectDeprecationWarningsWithAtLeastVersion("9.7.0")
|
||||
.expectDeprecationMessages("The Configuration.setVisible(boolean) method has been deprecated");
|
||||
}
|
||||
|
||||
@TestTemplate
|
||||
void configuresProtocArtifact() {
|
||||
assertThat(this.gradleBuild.build("protocArtifact").getOutput())
|
||||
|
||||
Reference in New Issue
Block a user