Merge pull request #8280 from kwoyke/BAEL-11410

BAEL-11410: Fix test methods' names
This commit is contained in:
Josh Cummings 2019-11-30 17:34:33 -07:00 committed by GitHub
commit b83316d625
1 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ public class OkHttpTimeoutLiveTest {
private static final String HTTPS_ADDRESS_DELAY_2 = "https://httpbin.org/delay/2";
@Test
public void whenConnectTimeoutExceededThenSocketTimeoutException() {
public void whenConnectTimeoutExceeded_thenSocketTimeoutException() {
// Given
OkHttpClient client = new OkHttpClient.Builder()
.connectTimeout(10, TimeUnit.MILLISECONDS)
@ -41,7 +41,7 @@ public class OkHttpTimeoutLiveTest {
}
@Test
public void whenReadTimeoutExceededThenSocketTimeoutException() {
public void whenReadTimeoutExceeded_thenSocketTimeoutException() {
// Given
OkHttpClient client = new OkHttpClient.Builder()
.readTimeout(10, TimeUnit.MILLISECONDS)
@ -61,7 +61,7 @@ public class OkHttpTimeoutLiveTest {
}
@Test
public void whenWriteTimeoutExceededThenSocketTimeoutException() {
public void whenWriteTimeoutExceeded_thenSocketTimeoutException() {
// Given
OkHttpClient client = new OkHttpClient.Builder()
.writeTimeout(10, TimeUnit.MILLISECONDS)
@ -82,7 +82,7 @@ public class OkHttpTimeoutLiveTest {
}
@Test
public void whenCallTimeoutExceededThenInterruptedIOException() {
public void whenCallTimeoutExceeded_thenInterruptedIOException() {
// Given
OkHttpClient client = new OkHttpClient.Builder()
.callTimeout(1, TimeUnit.SECONDS)
@ -102,7 +102,7 @@ public class OkHttpTimeoutLiveTest {
}
@Test
public void whenPerRequestTimeoutExtendedThenResponseSuccess() throws IOException {
public void whenPerRequestTimeoutExtended_thenResponseSuccess() throws IOException {
// Given
OkHttpClient defaultClient = new OkHttpClient.Builder()
.readTimeout(1, TimeUnit.SECONDS)