Files
spring-boot-rest/spring-remoting/remoting-jms/remoting-jms-server/src/test/java/com/baeldung/SpringContextLiveTest.java
Ger Roza b6183e9315 [BAEL-9498] Fix failing context tests - part 2 (#7738)
* fixed Spring Context Test in spring-data-rest-querydsl module

* fixed spring-ejb/spring-ejb-client Context tests, removed ContextIntegrationTest and added a note to the ContextLiveTest. Plus, redefined spring-ejb-remote url in pom, it was not working properly'

* Fixed Context test in spring-remoting/remoting-jms/remoting-jms-server, added notes for Live Test

* Fixed Context test in spring-remoting/remoting-rmi\remoting-rmi-server, added notes for Live Test

* Fixed Context test in spring-rest-query-language, added note for ContextTest and deleter ContextIntegrationTest

* renamed SpringContextIntegrationTest to SpringContextTest, as per comment in BAEL-14304
2019-09-09 12:16:40 +01:00

24 lines
780 B
Java

package com.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.baeldung.server.JmsServer;
/**
* This Live Test requires:
* * the `com.baeldung:remoting-http-api:jar:1.0-SNAPSHOT` artifact accessible. For that we can run `mvn clean install` in the 'spring-remoting/remoting-http/remoting-http-api' module.
* * an ActiveMQ instance running (e.g. `docker run -p 61616:61616 -p 8161:8161 --name bael-activemq rmohr/activemq`)
*
*/
@SpringBootTest(classes = JmsServer.class)
@RunWith(SpringRunner.class)
public class SpringContextLiveTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}