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:
Sam Brannen
2026-03-18 18:16:15 +01:00
parent a81367f686
commit 4c14abf0cd
591 changed files with 3284 additions and 3306 deletions
@@ -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);
@@ -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");
@@ -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);
@@ -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);