- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for statementStartsAndStops (0.21 sec)
-
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement class MockWebServerRuleTest { @Test fun statementStartsAndStops() { val rule = MockWebServerRule() val called = AtomicBoolean() val statement: Statement = rule.apply( object : Statement() { override fun evaluate() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} @Test fun differentInstancesGetDifferentPorts() { val other = MockWebServer() assertThat(other.port).isNotEqualTo(server.port) other.shutdown() } @Test fun statementStartsAndStops() { val called = AtomicBoolean() val statement = server.apply( object : Statement() { override fun evaluate() { called.set(true)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0)