Browse Source

Rename to AbstractReactiveWebSocketIntegrationTests to avoid duplicate class names

pull/29602/head
Sam Brannen 2 years ago
parent
commit
1bb723b9e0
  1. 4
      spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractReactiveWebSocketIntegrationTests.java
  2. 2
      spring-webflux/src/test/java/org/springframework/web/reactive/socket/WebSocketIntegrationTests.java

4
spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractWebSocketIntegrationTests.java → spring-webflux/src/test/java/org/springframework/web/reactive/socket/AbstractReactiveWebSocketIntegrationTests.java

@ -69,7 +69,7 @@ import org.springframework.web.testfixture.http.server.reactive.bootstrap.Tomcat @@ -69,7 +69,7 @@ import org.springframework.web.testfixture.http.server.reactive.bootstrap.Tomcat
import org.springframework.web.testfixture.http.server.reactive.bootstrap.UndertowHttpServer;
/**
* Base class for WebSocket integration tests. Subclasses must implement
* Base class for reactive WebSocket integration tests. Subclasses must implement
* {@link #getWebConfigClass()} to return Spring config class with (server-side)
* handler mappings to {@code WebSocketHandler}'s.
*
@ -77,7 +77,7 @@ import org.springframework.web.testfixture.http.server.reactive.bootstrap.Undert @@ -77,7 +77,7 @@ import org.springframework.web.testfixture.http.server.reactive.bootstrap.Undert
* @author Sam Brannen
*/
@SuppressWarnings({"unused", "WeakerAccess"})
abstract class AbstractWebSocketIntegrationTests {
abstract class AbstractReactiveWebSocketIntegrationTests {
private static final File TMP_DIR = new File(System.getProperty("java.io.tmpdir"));

2
spring-webflux/src/test/java/org/springframework/web/reactive/socket/WebSocketIntegrationTests.java

@ -50,7 +50,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -50,7 +50,7 @@ import static org.assertj.core.api.Assertions.assertThat;
* @author Sam Brannen
* @author Brian Clozel
*/
class WebSocketIntegrationTests extends AbstractWebSocketIntegrationTests {
class WebSocketIntegrationTests extends AbstractReactiveWebSocketIntegrationTests {
private static final Log logger = LogFactory.getLog(WebSocketIntegrationTests.class);

Loading…
Cancel
Save