BAEL-6910, Renamed to LiveTest
This commit is contained in:
parent
155389fbc2
commit
b6f45db73d
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.CustomCassandraConnectionDetailsConfiguration;
|
||||
|
@ -22,8 +27,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-cassandra.properties"})
|
||||
@ActiveProfiles("cassandra")
|
||||
public class CassandraConnectionDetailsIntegrationTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(CassandraConnectionDetailsIntegrationTest.class);
|
||||
public class CassandraConnectionDetailsLiveTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(CassandraConnectionDetailsLiveTest.class);
|
||||
@Autowired
|
||||
private CassandraTemplate cassandraTemplate;
|
||||
@Test
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.CustomCouchBaseConnectionDetailsConfiguration;
|
||||
|
@ -20,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-couch.properties"})
|
||||
@ActiveProfiles("couch")
|
||||
public class CouchbaseConnectionDetailsIntegrationTest {
|
||||
public class CouchbaseConnectionDetailsLiveTest {
|
||||
@Autowired
|
||||
private Cluster cluster;
|
||||
@Test
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.CustomElasticsearchConnectionDetailsConfiguration;
|
||||
|
@ -24,8 +29,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-elastic.properties"})
|
||||
@ActiveProfiles("elastic")
|
||||
public class ElasticsearchConnectionDetailsIntegrationTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ElasticsearchConnectionDetailsIntegrationTest.class);
|
||||
public class ElasticsearchConnectionDetailsLiveTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ElasticsearchConnectionDetailsLiveTest.class);
|
||||
@Autowired
|
||||
private ElasticsearchTemplate elasticsearchTemplate;
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.JdbcConnectionDetailsConfiguration;
|
||||
|
@ -25,8 +30,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-jdbc.properties"})
|
||||
@ActiveProfiles("jdbc")
|
||||
public class JdbcConnectionDetailsIntegrationTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(JdbcConnectionDetailsIntegrationTest.class);
|
||||
public class JdbcConnectionDetailsLiveTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(JdbcConnectionDetailsLiveTest.class);
|
||||
@Autowired
|
||||
private JdbcTemplate jdbcTemplate;
|
||||
@Test
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.CustomKafkaConnectionDetailsConfiguration;
|
||||
|
@ -21,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-kafka.properties"})
|
||||
@ActiveProfiles("kafka")
|
||||
public class KafkaConnectionDetailsIntegrationTest {
|
||||
public class KafkaConnectionDetailsLiveTest {
|
||||
@Autowired
|
||||
private KafkaTemplate<String, String> kafkaTemplate;
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.MongoDBConnectionDetailsConfiguration;
|
||||
|
@ -26,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-mongo.properties"})
|
||||
@ActiveProfiles("mongo")
|
||||
public class MongoDBConnectionDetailsIntegrationTest {
|
||||
public class MongoDBConnectionDetailsLiveTest {
|
||||
|
||||
@Autowired
|
||||
private MongoTemplate mongoTemplate;
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.CustomNeo4jConnectionDetailsConfiguration;
|
||||
|
@ -22,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
@ComponentScan(basePackages = "com.baeldung.connectiondetails")
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-neo4j.properties"})
|
||||
@ActiveProfiles("neo4j")
|
||||
public class Neo4jConnectionDetailsIntegrationTest {
|
||||
public class Neo4jConnectionDetailsLiveTest {
|
||||
@Autowired
|
||||
private Neo4jTemplate neo4jTemplate;
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.R2dbcPostgresConnectionDetailsConfiguration;
|
||||
|
@ -20,8 +25,8 @@ import java.util.List;
|
|||
@Import(R2dbcPostgresConnectionDetailsConfiguration.class)
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-r2dbc.properties"})
|
||||
@ActiveProfiles("r2dbc")
|
||||
public class R2dbcConnectionDetailsIntegrationTest {
|
||||
Logger logger = LoggerFactory.getLogger(R2dbcConnectionDetailsIntegrationTest.class);
|
||||
public class R2dbcConnectionDetailsLiveTest {
|
||||
Logger logger = LoggerFactory.getLogger(R2dbcConnectionDetailsLiveTest.class);
|
||||
@Autowired
|
||||
private R2dbcEntityTemplate r2dbcEntityTemplate;
|
||||
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.RabbitMQConnectionDetailsConfiguration;
|
||||
|
@ -25,9 +30,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
@Import(RabbitMQConnectionDetailsConfiguration.class)
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-rabbitmq.properties"})
|
||||
@ActiveProfiles("rabbitmq")
|
||||
public class RabbitmqConnectionDetailsIntegrationTest {
|
||||
public class RabbitmqConnectionDetailsLiveTest {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(RabbitmqConnectionDetailsIntegrationTest.class);
|
||||
private static final Logger logger = LoggerFactory.getLogger(RabbitmqConnectionDetailsLiveTest.class);
|
||||
|
||||
@Autowired
|
||||
private RabbitTemplate rabbitTemplate;
|
|
@ -1,3 +1,8 @@
|
|||
/**
|
||||
* These test cases have dependency with docker because they pull the docker images from docker hub
|
||||
* and run the container. So, please make sure to install docker before running the tests.
|
||||
* For the image details please look into the docker-compose files under resources/connectiondetails/docker
|
||||
**/
|
||||
package com.baeldung.connectiondetails;
|
||||
|
||||
import com.baeldung.connectiondetails.configuration.RedisConnectionDetailsConfiguration;
|
||||
|
@ -20,8 +25,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
|||
@Import(RedisConnectionDetailsConfiguration.class)
|
||||
@TestPropertySource(locations = {"classpath:connectiondetails/application-redis.properties"})
|
||||
@ActiveProfiles("redis")
|
||||
public class RedisCacheConnnectionDetailsIntegrationTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(RedisCacheConnnectionDetailsIntegrationTest.class);
|
||||
public class RedisCacheConnnectionDetailsLiveTest {
|
||||
private static final Logger logger = LoggerFactory.getLogger(RedisCacheConnnectionDetailsLiveTest.class);
|
||||
|
||||
@Autowired
|
||||
RedisTemplate<String, String> redisTemplate;
|
Loading…
Reference in New Issue