Move server testing infrastructure to test sources

This commit is contained in:
Brian Clozel 2016-07-12 17:36:30 +02:00
parent d736245f28
commit e906a78e0f
12 changed files with 18 additions and 18 deletions

View File

@ -6,5 +6,5 @@ target
/.idea/
bin
.gradle
tomcat*
/tomcat.*/
build

View File

@ -23,12 +23,12 @@ import org.junit.Before;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.springframework.http.server.reactive.boot.HttpServer;
import org.springframework.http.server.reactive.boot.JettyHttpServer;
import org.springframework.http.server.reactive.boot.ReactorHttpServer;
import org.springframework.http.server.reactive.boot.RxNettyHttpServer;
import org.springframework.http.server.reactive.boot.TomcatHttpServer;
import org.springframework.http.server.reactive.boot.UndertowHttpServer;
import org.springframework.http.server.reactive.bootstrap.HttpServer;
import org.springframework.http.server.reactive.bootstrap.JettyHttpServer;
import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.http.server.reactive.bootstrap.RxNettyHttpServer;
import org.springframework.http.server.reactive.bootstrap.TomcatHttpServer;
import org.springframework.http.server.reactive.bootstrap.UndertowHttpServer;
import org.springframework.util.SocketUtils;

View File

@ -25,7 +25,7 @@ import reactor.core.publisher.Mono;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.http.client.ClientHttpResponse;
import org.springframework.http.server.reactive.boot.ReactorHttpServer;
import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.web.client.ResponseErrorHandler;
import org.springframework.web.client.RestTemplate;

View File

@ -28,8 +28,8 @@ import org.springframework.http.MediaType;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.http.ZeroCopyHttpOutputMessage;
import org.springframework.http.server.reactive.boot.ReactorHttpServer;
import org.springframework.http.server.reactive.boot.UndertowHttpServer;
import org.springframework.http.server.reactive.bootstrap.ReactorHttpServer;
import org.springframework.http.server.reactive.bootstrap.UndertowHttpServer;
import org.springframework.web.client.RestTemplate;
import static org.junit.Assert.assertEquals;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import org.springframework.beans.factory.InitializingBean;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import org.springframework.http.server.reactive.HttpHandler;
import org.springframework.util.SocketUtils;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import reactor.core.flow.Loopback;
import reactor.core.state.Completable;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import java.net.InetSocketAddress;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import java.io.File;

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;
import io.undertow.Undertow;
import io.undertow.server.HttpHandler;

View File

@ -2,4 +2,4 @@
* This package contains temporary interfaces and classes for running embedded servers.
* They are expected to be replaced by an upcoming Spring Boot support.
*/
package org.springframework.http.server.reactive.boot;
package org.springframework.http.server.reactive.bootstrap;