Rename WebTestClientConnectorTests to match class name
This commit is contained in:
parent
60b5161fbe
commit
050f44d75b
|
@ -37,9 +37,7 @@ import static org.junit.Assert.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for {@link DefaultControllerSpec}.
|
* Unit tests for {@link DefaultControllerSpec}.
|
||||||
*
|
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @since 5.0
|
|
||||||
*/
|
*/
|
||||||
public class DefaultControllerSpecTests {
|
public class DefaultControllerSpecTests {
|
||||||
|
|
||||||
|
|
|
@ -38,10 +38,8 @@ import static org.mockito.Mockito.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for {@link HeaderAssertions}.
|
* Unit tests for {@link HeaderAssertions}.
|
||||||
*
|
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @author Sam Brannen
|
* @author Sam Brannen
|
||||||
* @since 5.0
|
|
||||||
*/
|
*/
|
||||||
public class HeaderAssertionTests {
|
public class HeaderAssertionTests {
|
||||||
|
|
||||||
|
|
|
@ -45,9 +45,7 @@ import static org.junit.Assert.assertEquals;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for {@link HttpHandlerConnector}.
|
* Unit tests for {@link HttpHandlerConnector}.
|
||||||
*
|
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @since 5.0
|
|
||||||
*/
|
*/
|
||||||
public class HttpHandlerConnectorTests {
|
public class HttpHandlerConnectorTests {
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,7 @@ import static org.mockito.Mockito.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Unit tests for {@link StatusAssertions}.
|
* Unit tests for {@link StatusAssertions}.
|
||||||
*
|
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @since 5.0
|
|
||||||
*/
|
*/
|
||||||
public class StatusAssertionTests {
|
public class StatusAssertionTests {
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ import static org.junit.Assert.*;
|
||||||
* @author Rossen Stoyanchev
|
* @author Rossen Stoyanchev
|
||||||
* @since 5.0
|
* @since 5.0
|
||||||
*/
|
*/
|
||||||
public class WebTestClientConnectorTests {
|
public class WiretapConnectorTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void captureAndClaim() {
|
public void captureAndClaim() {
|
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -60,13 +60,13 @@ public class HttpServerTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
@After
|
@After
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() {
|
||||||
this.server.stop();
|
this.server.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() throws Exception {
|
public void test() {
|
||||||
this.client.get().uri("/test")
|
this.client.get().uri("/test")
|
||||||
.exchange()
|
.exchange()
|
||||||
.expectStatus().isOk()
|
.expectStatus().isOk()
|
||||||
|
|
Loading…
Reference in New Issue