Add the live test to spring-exceptions module
This commit is contained in:
parent
693d9d9947
commit
2983e1c26a
|
@ -1,16 +1,15 @@
|
|||
package org.baeldung;
|
||||
|
||||
import org.baeldung.spring.config.CoreConfig;
|
||||
import org.baeldung.spring.config.MvcConfig;
|
||||
import org.baeldung.spring.config.PersistenceConfig;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
import org.springframework.test.context.support.AnnotationConfigContextLoader;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = { CoreConfig.class, MvcConfig.class, PersistenceConfig.class})
|
||||
public class SpringContextIntegrationTest {
|
||||
@ContextConfiguration(classes = { PersistenceConfig.class }, loader = AnnotationConfigContextLoader.class)
|
||||
public class SpringContextLiveTest {
|
||||
|
||||
@Test
|
||||
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
Loading…
Reference in New Issue