File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
test/http-client-tests/src/main/java/software/amazon/awssdk/http Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44
44
45
45
/**
46
46
* A set of tests validating that the functionality implemented by a {@link SdkHttpClient}.
47
- *
47
+ * <p>
48
48
* This is used by an HTTP plugin implementation by extending this class and implementing the abstract methods to provide this
49
49
* suite with a testable HTTP client implementation.
50
50
*/
@@ -95,7 +95,7 @@ public void supportsResponseCode500() throws Exception {
95
95
}
96
96
97
97
@ Test
98
- public void validatesHttpsCertificateIssuer () throws Exception {
98
+ public void validatesHttpsCertificateIssuer () {
99
99
SdkHttpClient client = createSdkHttpClient ();
100
100
101
101
SdkHttpFullRequest request = mockSdkRequest ("https://localhost:" + mockServer .httpsPort (), SdkHttpMethod .POST );
Original file line number Diff line number Diff line change 34
34
import com .github .tomakehurst .wiremock .matching .RequestPatternBuilder ;
35
35
import java .io .ByteArrayInputStream ;
36
36
import java .io .IOException ;
37
- import java .io .InputStream ;
38
37
import java .net .HttpURLConnection ;
39
38
import java .net .URI ;
40
39
import java .nio .charset .StandardCharsets ;
51
50
52
51
/**
53
52
* A set of tests validating that the functionality implemented by a {@link SdkHttpClient}.
54
- *
53
+ * <p>
55
54
* This is used by an HTTP plugin implementation by extending this class and implementing the abstract methods to provide this
56
55
* suite with a testable HTTP client implementation.
57
56
*/
@@ -109,7 +108,7 @@ public void supportsResponseCode500() throws Exception {
109
108
}
110
109
111
110
@ Test
112
- public void validatesHttpsCertificateIssuer () throws Exception {
111
+ public void validatesHttpsCertificateIssuer () {
113
112
SdkHttpClient client = createSdkHttpClient ();
114
113
115
114
SdkHttpFullRequest request = mockSdkRequest ("https://localhost:" + mockServer .httpsPort (), SdkHttpMethod .POST );
You can’t perform that action at this time.
0 commit comments