Browse Source

Rename WebTestClientConnectorTests to match class name

pull/1991/head
Rossen Stoyanchev 8 years ago
parent
commit
050f44d75b
  1. 2
      spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java
  2. 2
      spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionTests.java
  3. 2
      spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java
  4. 2
      spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java
  5. 2
      spring-test/src/test/java/org/springframework/test/web/reactive/server/WiretapConnectorTests.java
  6. 6
      spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java

2
spring-test/src/test/java/org/springframework/test/web/reactive/server/DefaultControllerSpecTests.java

@ -37,9 +37,7 @@ import static org.junit.Assert.*; @@ -37,9 +37,7 @@ import static org.junit.Assert.*;
/**
* Unit tests for {@link DefaultControllerSpec}.
*
* @author Rossen Stoyanchev
* @since 5.0
*/
public class DefaultControllerSpecTests {

2
spring-test/src/test/java/org/springframework/test/web/reactive/server/HeaderAssertionTests.java

@ -38,10 +38,8 @@ import static org.mockito.Mockito.*; @@ -38,10 +38,8 @@ import static org.mockito.Mockito.*;
/**
* Unit tests for {@link HeaderAssertions}.
*
* @author Rossen Stoyanchev
* @author Sam Brannen
* @since 5.0
*/
public class HeaderAssertionTests {

2
spring-test/src/test/java/org/springframework/test/web/reactive/server/HttpHandlerConnectorTests.java

@ -45,9 +45,7 @@ import static org.junit.Assert.assertEquals; @@ -45,9 +45,7 @@ import static org.junit.Assert.assertEquals;
/**
* Unit tests for {@link HttpHandlerConnector}.
*
* @author Rossen Stoyanchev
* @since 5.0
*/
public class HttpHandlerConnectorTests {

2
spring-test/src/test/java/org/springframework/test/web/reactive/server/StatusAssertionTests.java

@ -32,9 +32,7 @@ import static org.mockito.Mockito.*; @@ -32,9 +32,7 @@ import static org.mockito.Mockito.*;
/**
* Unit tests for {@link StatusAssertions}.
*
* @author Rossen Stoyanchev
* @since 5.0
*/
public class StatusAssertionTests {

2
spring-test/src/test/java/org/springframework/test/web/reactive/server/WebTestClientConnectorTests.java → spring-test/src/test/java/org/springframework/test/web/reactive/server/WiretapConnectorTests.java

@ -41,7 +41,7 @@ import static org.junit.Assert.*; @@ -41,7 +41,7 @@ import static org.junit.Assert.*;
* @author Rossen Stoyanchev
* @since 5.0
*/
public class WebTestClientConnectorTests {
public class WiretapConnectorTests {
@Test
public void captureAndClaim() {

6
spring-test/src/test/java/org/springframework/test/web/reactive/server/samples/bind/HttpServerTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -60,13 +60,13 @@ public class HttpServerTests { @@ -60,13 +60,13 @@ public class HttpServerTests {
}
@After
public void tearDown() throws Exception {
public void tearDown() {
this.server.stop();
}
@Test
public void test() throws Exception {
public void test() {
this.client.get().uri("/test")
.exchange()
.expectStatus().isOk()

Loading…
Cancel
Save