@@ -21,7 +21,7 @@ public class OkHttpTimeoutLiveTest {
21
21
private static final String HTTPS_ADDRESS_DELAY_2 = "https://httpbin.org/delay/2" ;
22
22
23
23
@ Test
24
- public void whenConnectTimeoutExceededThenSocketTimeoutException () {
24
+ public void whenConnectTimeoutExceeded_thenSocketTimeoutException () {
25
25
// Given
26
26
OkHttpClient client = new OkHttpClient .Builder ()
27
27
.connectTimeout (10 , TimeUnit .MILLISECONDS )
@@ -41,7 +41,7 @@ public void whenConnectTimeoutExceededThenSocketTimeoutException() {
41
41
}
42
42
43
43
@ Test
44
- public void whenReadTimeoutExceededThenSocketTimeoutException () {
44
+ public void whenReadTimeoutExceeded_thenSocketTimeoutException () {
45
45
// Given
46
46
OkHttpClient client = new OkHttpClient .Builder ()
47
47
.readTimeout (10 , TimeUnit .MILLISECONDS )
@@ -61,7 +61,7 @@ public void whenReadTimeoutExceededThenSocketTimeoutException() {
61
61
}
62
62
63
63
@ Test
64
- public void whenWriteTimeoutExceededThenSocketTimeoutException () {
64
+ public void whenWriteTimeoutExceeded_thenSocketTimeoutException () {
65
65
// Given
66
66
OkHttpClient client = new OkHttpClient .Builder ()
67
67
.writeTimeout (10 , TimeUnit .MILLISECONDS )
@@ -82,7 +82,7 @@ public void whenWriteTimeoutExceededThenSocketTimeoutException() {
82
82
}
83
83
84
84
@ Test
85
- public void whenCallTimeoutExceededThenInterruptedIOException () {
85
+ public void whenCallTimeoutExceeded_thenInterruptedIOException () {
86
86
// Given
87
87
OkHttpClient client = new OkHttpClient .Builder ()
88
88
.callTimeout (1 , TimeUnit .SECONDS )
@@ -102,7 +102,7 @@ public void whenCallTimeoutExceededThenInterruptedIOException() {
102
102
}
103
103
104
104
@ Test
105
- public void whenPerRequestTimeoutExtendedThenResponseSuccess () throws IOException {
105
+ public void whenPerRequestTimeoutExtended_thenResponseSuccess () throws IOException {
106
106
// Given
107
107
OkHttpClient defaultClient = new OkHttpClient .Builder ()
108
108
.readTimeout (1 , TimeUnit .SECONDS )
0 commit comments