renaming tests

This commit is contained in:
Eugen Paraschiv 2018-12-18 23:50:20 +02:00
parent 1bb238b908
commit 8411df4e6b
5 changed files with 12 additions and 31 deletions

View File

@ -7,8 +7,7 @@
http://www.springframework.org/schema/data/mongo
http://www.springframework.org/schema/data/mongo/spring-mongo.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd"
>
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<mongo:mongo-client id="mongoClient" host="localhost" />
@ -33,7 +32,7 @@
</bean>
<mongo:mapping-converter id="mongoConverter" base-package="com.baeldung.converter">
<mongo:custom-converters base-package="org.baeldung.converter"/>
<mongo:custom-converters base-package="com.baeldung.converter" />
</mongo:mapping-converter>
</beans>

View File

@ -14,7 +14,7 @@ import com.baeldung.model.User;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MongoReactiveConfig.class)
public class MongoTransactionReactiveIntegrationTest {
public class MongoTransactionReactiveLiveTest {
@Autowired
private ReactiveMongoOperations reactiveOps;

View File

@ -26,7 +26,7 @@ import com.baeldung.model.User;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MongoConfig.class)
public class MongoTransactionTemplateIntegrationTest {
public class MongoTransactionTemplateLiveTest {
@Autowired
private MongoTemplate mongoTemplate;

View File

@ -27,7 +27,7 @@ import com.mongodb.MongoCommandException;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = MongoConfig.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class MongoTransactionalIntegrationTest {
public class MongoTransactionalLiveTest {
@Autowired
private MongoTemplate mongoTemplate;

View File

@ -1,18 +0,0 @@
package org.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import com.baeldung.config.MongoConfig;
import com.baeldung.config.SimpleMongoConfig;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { MongoConfig.class, SimpleMongoConfig.class })
public class SpringContextIntegrationTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}