- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 106 for IsTrue (0.58 sec)
-
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
coroutineContext.job.cancel() } call.executeAsync() } } } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */ private class ClosableCall : FailingCall() { private val response = Response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
toClose.add(it) } set("a", "a", "a") assertThat(filesystem.exists(dir / "a.0")).isTrue() assertThat(filesystem.exists(dir / "a.1")).isTrue() assertThat(filesystem.exists(dir / "journal")).isTrue() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun fileDeletedExternally(parameters: Pair<FileSystem, Boolean>) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java
.nodeOrder(ElementOrder.<String>natural()) .<String, Integer>immutable() .build(); assertThat(emptyNetwork.isDirected()).isTrue(); assertThat(emptyNetwork.allowsSelfLoops()).isTrue(); assertThat(emptyNetwork.nodeOrder()).isEqualTo(ElementOrder.<String>natural()); } /** * Tests that the ImmutableNetwork.Builder doesn't change when the creating NetworkBuilder
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt
val settings = Settings() settings[Settings.HEADER_TABLE_SIZE] = 8096 assertThat(settings.headerTableSize).isEqualTo(8096) assertThat(settings.getEnablePush(true)).isTrue() settings[Settings.ENABLE_PUSH] = 1 assertThat(settings.getEnablePush(false)).isTrue() settings.clear() assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE) settings[Settings.MAX_CONCURRENT_STREAMS] = 75
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
* limitations under the License. */ package okhttp3.internal.publicsuffix import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE import okhttp3.internal.toCanonicalHost
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt
assertThat(dispatcher.queuedCalls()).isEmpty() assertThat(a1.isExecuted()).isTrue() assertThat(a1.isCanceled()).isFalse() assertThat(a2.isExecuted()).isTrue() assertThat(a2.isCanceled()).isTrue() assertThat(a3.isExecuted()).isFalse() assertThat(a3.isCanceled()).isTrue() assertThat(a4.isExecuted()).isFalse() assertThat(a4.isCanceled()).isFalse() } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
import assertk.assertions.isBetween import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.text.SimpleDateFormat import java.util.Date /** * A received response or failure recorded by the response recorder. */ class RecordedResponse(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(false)).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE_TRUE).contains(true)).isTrue(); } public void testAsListEquals() { assertThat(Booleans.asList(EMPTY).equals(ImmutableList.of())).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE).equals(Booleans.asList(ARRAY_FALSE))).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package mockwebserver3.junit4 import assertk.assertThat import assertk.assertions.isTrue import java.net.ConnectException import java.util.concurrent.atomic.AtomicBoolean import org.junit.Assert.fail import org.junit.Test import org.junit.runner.Description import org.junit.runners.model.Statement
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
assertThat(Chars.contains(ARRAY234, (char) 1)).isFalse(); assertThat(Chars.contains(new char[] {(char) -1}, (char) -1)).isTrue(); assertThat(Chars.contains(ARRAY234, (char) 2)).isTrue(); assertThat(Chars.contains(ARRAY234, (char) 3)).isTrue(); assertThat(Chars.contains(ARRAY234, (char) 4)).isTrue(); } public void testIndexOf() { assertThat(Chars.indexOf(EMPTY, (char) 1)).isEqualTo(-1);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0)