- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 523 for isTrue (0.06 sec)
-
android/guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(1, 2, "A"); assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isTrue(); } @Test public void hasEdgeConnecting_undirected_backwards() { graph = ValueGraphBuilder.undirected().build(); graph.putEdgeValue(1, 2, "A"); assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(2, 1))).isTrue(); } @Test public void hasEdgeConnecting_undirected_mismatch() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 17.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isSameAs import assertk.assertions.isTrue import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.RequestBody.Companion.toRequestBody
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
// returned by SequentialExecutor. Clear the bit while checking so that the test doesn't hose // JUnit or some other test case. assertThat(Thread.interrupted()).isTrue(); } public void testInterrupt_doesNotInterruptSubsequentTask() throws Exception { // Run a task that interrupts its thread (i.e. this thread). e.execute( new Runnable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java
* * @author Kevin Bourrillion */ @GwtCompatible(emulated = true) public class PrimitivesTest extends TestCase { public void testIsWrapperType() { assertThat(Primitives.isWrapperType(Void.class)).isTrue(); assertThat(Primitives.isWrapperType(void.class)).isFalse(); } public void testWrap() { assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestTest.kt
import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isSameAs import assertk.assertions.isTrue import java.io.File import java.io.FileWriter import java.net.URI import java.util.UUID import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.contains(ARRAY234, (int) 1)).isFalse(); assertThat(Ints.contains(new int[] {(int) -1}, (int) -1)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 2)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 3)).isTrue(); assertThat(Ints.contains(ARRAY234, (int) 4)).isTrue(); } public void testIndexOf() { assertThat(Ints.indexOf(EMPTY, (int) 1)).isEqualTo(-1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
*/ package okhttp3.tls.internal.der import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isTrue import java.math.BigInteger import java.security.KeyFactory import java.security.spec.PKCS8EncodedKeySpec import java.security.spec.X509EncodedKeySpec import java.text.SimpleDateFormat import java.util.Date
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 43.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
graph.putEdgeValue(1, 2, "A"); assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(1, 2))).isTrue(); } @Test public void hasEdgeConnecting_undirected_backwards() { graph = ValueGraphBuilder.undirected().build(); graph.putEdgeValue(1, 2, "A"); assertThat(graph.hasEdgeConnecting(EndpointPair.unordered(2, 1))).isTrue(); } @Test public void hasEdgeConnecting_undirected_mismatch() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 06 18:35:19 UTC 2024 - 20K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8)); } private static void testDecodesByBytes(BaseEncoding encoding, String encoded, byte[] decoded) { assertThat(encoding.canDecode(encoded)).isTrue(); assertThat(encoding.decode(encoded)).isEqualTo(decoded); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 16:27:30 UTC 2024 - 24.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java
String result = proxy.sleepThenReturnInput("x"); assertThat(result).isEqualTo("x"); assertThat(stopwatch.elapsed(MILLISECONDS)).isIn(Range.closed(DELAY_MS, ENOUGH_MS)); assertThat(target.finished).isTrue(); } public void testNewProxy_goodMethodWithNotEnoughTime() throws Exception { SampleImpl target = new SampleImpl(9999); Sample proxy = service.newProxy(target, Sample.class, NOT_ENOUGH_MS, MILLISECONDS);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.5K bytes - Viewed (0)