Polish
This commit is contained in:
@@ -53,7 +53,7 @@ class SpringBootDependencyInjectionTestExecutionListenerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
void prepareFailingTestInstanceShouldPrintReport(CapturedOutput output) throws Exception {
|
||||
TestContext testContext = mock(TestContext.class);
|
||||
given(testContext.getTestClass()).willReturn((Class) Config.class);
|
||||
@@ -73,7 +73,7 @@ class SpringBootDependencyInjectionTestExecutionListenerTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
void originalFailureIsThrownWhenReportGenerationFails() {
|
||||
TestContext testContext = mock(TestContext.class);
|
||||
given(testContext.getTestClass()).willReturn((Class) Config.class);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.boot.test.autoconfigure.web.client;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.boot.context.properties.ConstructorBinding;
|
||||
import org.springframework.boot.context.properties.bind.ConstructorBinding;
|
||||
import org.springframework.boot.context.properties.bind.DefaultValue;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user