mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Remove obsolete "test" prefix from test method names
Although this commit also changes the visibility of some test methods to package-private, the remainder of that task will be addressed in conjunction with gh-36496. Closes gh-36495
This commit is contained in:
+1
-1
@@ -384,7 +384,7 @@ class MessageBrokerBeanDefinitionParserTests {
|
||||
}
|
||||
|
||||
@Test // SPR-11623
|
||||
public void customChannelsWithDefaultExecutor() {
|
||||
void customChannelsWithDefaultExecutor() {
|
||||
loadBeanDefinitions("websocket-config-broker-customchannels-default-executor.xml");
|
||||
|
||||
testExecutor("clientInboundChannel", Runtime.getRuntime().availableProcessors() * 2, Integer.MAX_VALUE, 60);
|
||||
|
||||
+1
-1
@@ -129,7 +129,7 @@ class ConcurrentWebSocketSessionDecoratorTests {
|
||||
}
|
||||
|
||||
@Test // SPR-17140
|
||||
public void overflowStrategyDrop() throws IOException, InterruptedException {
|
||||
void overflowStrategyDrop() throws IOException, InterruptedException {
|
||||
|
||||
BlockingWebSocketSession session = new BlockingWebSocketSession();
|
||||
session.setId("123");
|
||||
|
||||
+1
-1
@@ -157,7 +157,7 @@ public class SubProtocolWebSocketHandlerTests {
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
public void checkSession() throws Exception {
|
||||
void checkSession() throws Exception {
|
||||
TestWebSocketSession session1 = new TestWebSocketSession("id1");
|
||||
TestWebSocketSession session2 = new TestWebSocketSession("id2");
|
||||
session1.setOpen(true);
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
class TransportTypeTests {
|
||||
|
||||
@Test
|
||||
void testFromValue() {
|
||||
void fromValue() {
|
||||
assertThat(TransportType.fromValue("websocket")).isEqualTo(TransportType.WEBSOCKET);
|
||||
assertThat(TransportType.fromValue("xhr")).isEqualTo(TransportType.XHR);
|
||||
assertThat(TransportType.fromValue("xhr_send")).isEqualTo(TransportType.XHR_SEND);
|
||||
|
||||
Reference in New Issue
Block a user