Story/bael 14304 (#7311)

* BAEL-15951 Moved vavr, JHipster to default profiles

* BAEL-14304 Include the SpringContextIntegrationTest in the default build

- Added SpringContextTest.java in all the modules where SpringContextIntegrationTest already exists

* BAEL-14304 Changes in pmd rule and pom.xml to run UnitTest and SpringContextTest additionally in default profiles

* BAEL-14304 Minor changes
This commit is contained in:
Dhawal Kapil
2019-07-20 17:03:56 +05:30
committed by Eugen
parent 7755f11bb5
commit b6ae9ec3b4
182 changed files with 3128 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
package com.baeldung;
import org.baeldung.spring.SecSecurityConfig;
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;
import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = { SecSecurityConfig.class }, loader = AnnotationConfigContextLoader.class)
@WebAppConfiguration
public class SpringContextTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}