1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-14 07:22:20 +03:00

Move concurrent tests to Junit 5 (#6375)

This commit is contained in:
Yuri Schimke
2020-11-01 14:12:22 +00:00
committed by GitHub
parent 25814afb80
commit cd2eea07cc
2 changed files with 4 additions and 4 deletions

View File

@@ -16,7 +16,7 @@
package okhttp3.internal.concurrent
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.jupiter.api.Test
class TaskLoggerTest {
@Test fun formatTime() {

View File

@@ -21,8 +21,8 @@ import java.util.concurrent.ThreadFactory
import java.util.concurrent.TimeUnit
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.data.Offset
import org.junit.After
import org.junit.Test
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Test
/**
* Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all
@@ -49,7 +49,7 @@ class TaskRunnerRealBackendTest {
private val taskRunner = TaskRunner(backend)
private val queue = taskRunner.newQueue()
@After fun tearDown() {
@AfterEach fun tearDown() {
backend.shutdown()
}