rename *SpringBootTest to *IntegrationTests or just *Tests (#416)
* intial change *SpringBootTests to *Tests Fixes gh-415 * change to *Tests module/spring-cloud-kubernetes-config * change to *Tests module/spring-cloud-kubernetes-config * change *SpringBootTests to *Tests Fixes gh-415
This commit is contained in:
committed by
Ryan Baxter
parent
822abfcfd4
commit
35f4e1f94e
@@ -44,10 +44,10 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.crea
|
|||||||
properties = { "spring.application.name=configmap-path-example",
|
properties = { "spring.application.name=configmap-path-example",
|
||||||
"spring.cloud.kubernetes.config.enableApi=false",
|
"spring.cloud.kubernetes.config.enableApi=false",
|
||||||
"spring.cloud.kubernetes.config.paths="
|
"spring.cloud.kubernetes.config.paths="
|
||||||
+ ConfigMapsFromFilePathsSpringBootTest.FIRST_FILE_NAME_FULL_PATH
|
+ ConfigMapsFromFilePathsTests.FIRST_FILE_NAME_FULL_PATH
|
||||||
+ ","
|
+ ","
|
||||||
+ ConfigMapsFromFilePathsSpringBootTest.SECOND_FILE_NAME_FULL_PATH })
|
+ ConfigMapsFromFilePathsTests.SECOND_FILE_NAME_FULL_PATH })
|
||||||
public class ConfigMapsFromFilePathsSpringBootTest {
|
public class ConfigMapsFromFilePathsTests {
|
||||||
|
|
||||||
protected static final String FILES_ROOT_PATH = "/tmp/scktests";
|
protected static final String FILES_ROOT_PATH = "/tmp/scktests";
|
||||||
|
|
||||||
@@ -45,11 +45,11 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
classes = App.class,
|
classes = App.class,
|
||||||
properties = {
|
properties = {
|
||||||
"spring.application.name="
|
"spring.application.name="
|
||||||
+ ConfigMapsMixedSpringBootTest.APPLICATION_NAME,
|
+ ConfigMapsMixedTests.APPLICATION_NAME,
|
||||||
"spring.cloud.kubernetes.config.enableApi=true",
|
"spring.cloud.kubernetes.config.enableApi=true",
|
||||||
"spring.cloud.kubernetes.config.paths="
|
"spring.cloud.kubernetes.config.paths="
|
||||||
+ ConfigMapsMixedSpringBootTest.FILE_NAME_FULL_PATH })
|
+ ConfigMapsMixedTests.FILE_NAME_FULL_PATH })
|
||||||
public class ConfigMapsMixedSpringBootTest {
|
public class ConfigMapsMixedTests {
|
||||||
|
|
||||||
protected static final String FILES_ROOT_PATH = "/tmp/scktests";
|
protected static final String FILES_ROOT_PATH = "/tmp/scktests";
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
classes = App.class, properties = { "spring.application.name=configmap-example",
|
classes = App.class, properties = { "spring.application.name=configmap-example",
|
||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsSpringBootTest {
|
public class ConfigMapsTests {
|
||||||
|
|
||||||
private static final String APPLICATION_NAME = "configmap-example";
|
private static final String APPLICATION_NAME = "configmap-example";
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@ActiveProfiles("development")
|
@ActiveProfiles("development")
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsWithActiveProfilesNameSpringBootTest {
|
public class ConfigMapsWithActiveProfilesNameTests {
|
||||||
|
|
||||||
private static final String APPLICATION_NAME = "configmap-with-active-profile-name-example";
|
private static final String APPLICATION_NAME = "configmap-with-active-profile-name-example";
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@ActiveProfiles({ "production", "us-east" })
|
@ActiveProfiles({ "production", "us-east" })
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsWithProfileExpressionSpringBootTest {
|
public class ConfigMapsWithProfileExpressionTests {
|
||||||
|
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static KubernetesServer server = new KubernetesServer();
|
public static KubernetesServer server = new KubernetesServer();
|
||||||
@@ -46,7 +46,7 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
"spring.application.name=configmap-with-profile-no-active-profiles-example",
|
"spring.application.name=configmap-with-profile-no-active-profiles-example",
|
||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsWithProfilesNoActiveProfileSpringBootTest {
|
public class ConfigMapsWithProfilesNoActiveProfileTests {
|
||||||
|
|
||||||
private static final String APPLICATION_NAME = "configmap-with-profile-no-active-profiles-example";
|
private static final String APPLICATION_NAME = "configmap-with-profile-no-active-profiles-example";
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@ActiveProfiles("development")
|
@ActiveProfiles("development")
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsWithProfilesSpringBootTest {
|
public class ConfigMapsWithProfilesTests {
|
||||||
|
|
||||||
private static final String APPLICATION_NAME = "configmap-with-profile-example";
|
private static final String APPLICATION_NAME = "configmap-with-profile-example";
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ import static org.springframework.cloud.kubernetes.config.ConfigMapTestUtil.read
|
|||||||
"spring.cloud.kubernetes.reload.enabled=false" })
|
"spring.cloud.kubernetes.reload.enabled=false" })
|
||||||
@ActiveProfiles("development")
|
@ActiveProfiles("development")
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class ConfigMapsWithoutProfilesSpringBootTest {
|
public class ConfigMapsWithoutProfilesTests {
|
||||||
|
|
||||||
private static final String APPLICATION_NAME = "configmap-without-profile-example";
|
private static final String APPLICATION_NAME = "configmap-without-profile-example";
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ import org.springframework.test.web.reactive.server.WebTestClient;
|
|||||||
classes = ExampleApp.class,
|
classes = ExampleApp.class,
|
||||||
properties = { "spring.cloud.bootstrap.name=multiplecms" })
|
properties = { "spring.cloud.bootstrap.name=multiplecms" })
|
||||||
@AutoConfigureWebTestClient
|
@AutoConfigureWebTestClient
|
||||||
public class MultipleConfigMapsSpringBootTest {
|
public class MultipleConfigMapsTests {
|
||||||
|
|
||||||
@ClassRule
|
@ClassRule
|
||||||
public static KubernetesServer server = new KubernetesServer();
|
public static KubernetesServer server = new KubernetesServer();
|
||||||
Reference in New Issue
Block a user