|
|
|
@ -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() |
|
|
|
|