Browse Source

Polish away public modifier on tests

pull/33545/head
Moritz Halbritter 3 years ago
parent
commit
08659baeba
  1. 2
      spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java
  2. 2
      spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchClientAutoConfigurationTests.java
  3. 2
      spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/graphql/GraphQlTestIntegrationTest.java
  4. 2
      spring-boot-project/spring-boot/src/test/java/org/springframework/boot/info/OsInfoTests.java
  5. 2
      spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowWebServerRuntimeHintsTests.java
  6. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/src/test/java/smoketest/jersey/JerseyActuatorIsolatedObjectMapperFalseTests.java
  7. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/src/test/java/smoketest/jersey/JerseyActuatorIsolatedObjectMapperTrueTests.java
  8. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-mongo/src/test/java/smoketest/session/mongodb/SampleSessionMongoApplicationTests.java
  9. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-redis/src/test/java/smoketest/session/redis/SampleSessionRedisApplicationTests.java

2
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jReactiveHealthIndicatorIntegrationTests.java

@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -44,7 +44,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@SpringBootTest
@Testcontainers(disabledWithoutDocker = true)
public class Neo4jReactiveHealthIndicatorIntegrationTests {
class Neo4jReactiveHealthIndicatorIntegrationTests {
// gh-33428

2
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchClientAutoConfigurationTests.java

@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock; @@ -41,7 +41,7 @@ import static org.mockito.Mockito.mock;
*
* @author Andy Wilkinson
*/
public class ElasticsearchClientAutoConfigurationTests {
class ElasticsearchClientAutoConfigurationTests {
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
.withConfiguration(AutoConfigurations.of(ElasticsearchClientAutoConfiguration.class));

2
spring-boot-project/spring-boot-test-autoconfigure/src/test/java/org/springframework/boot/test/autoconfigure/graphql/GraphQlTestIntegrationTest.java

@ -27,7 +27,7 @@ import org.springframework.graphql.test.tester.GraphQlTester; @@ -27,7 +27,7 @@ import org.springframework.graphql.test.tester.GraphQlTester;
* @author Brian Clozel
*/
@GraphQlTest(BookController.class)
public class GraphQlTestIntegrationTest {
class GraphQlTestIntegrationTest {
@Autowired
private GraphQlTester graphQlTester;

2
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/info/OsInfoTests.java

@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Jonatan Ivanov
*/
public class OsInfoTests {
class OsInfoTests {
@Test
void osInfoIsAvailable() {

2
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/undertow/UndertowWebServerRuntimeHintsTests.java

@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Andy Wilkinson
*/
public class UndertowWebServerRuntimeHintsTests {
class UndertowWebServerRuntimeHintsTests {
@Test
void registersHints() throws ClassNotFoundException {

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/src/test/java/smoketest/jersey/JerseyActuatorIsolatedObjectMapperFalseTests.java

@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
properties = "management.endpoints.jackson.isolated-object-mapper=false")
@ContextConfiguration(loader = ApplicationStartupSpringBootContextLoader.class)
public class JerseyActuatorIsolatedObjectMapperFalseTests {
class JerseyActuatorIsolatedObjectMapperFalseTests {
@LocalServerPort
private int port;

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/src/test/java/smoketest/jersey/JerseyActuatorIsolatedObjectMapperTrueTests.java

@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -39,7 +39,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT,
properties = "management.endpoints.jackson.isolated-object-mapper=true")
@ContextConfiguration(loader = ApplicationStartupSpringBootContextLoader.class)
public class JerseyActuatorIsolatedObjectMapperTrueTests {
class JerseyActuatorIsolatedObjectMapperTrueTests {
@LocalServerPort
private int port;

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-mongo/src/test/java/smoketest/session/mongodb/SampleSessionMongoApplicationTests.java

@ -54,7 +54,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -54,7 +54,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@Testcontainers(disabledWithoutDocker = true)
public class SampleSessionMongoApplicationTests {
class SampleSessionMongoApplicationTests {
@Autowired
private TestRestTemplate restTemplate;

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-redis/src/test/java/smoketest/session/redis/SampleSessionRedisApplicationTests.java

@ -51,7 +51,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -51,7 +51,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@Testcontainers(disabledWithoutDocker = true)
public class SampleSessionRedisApplicationTests {
class SampleSessionRedisApplicationTests {
@Container
static RedisContainer redis = new RedisContainer();

Loading…
Cancel
Save