- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 156 for IsTrue (0.42 seconds)
-
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue(); assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath))) .isTrue(); Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy")); assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse(); assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue(); MoreFiles.asCharSink(fooCopy, UTF_8).write("boo");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.contains(ARRAY234, 2.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 3.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 4.0)).isTrue(); for (double value : NUMBERS) { assertWithMessage("%s", value) .that(Doubles.contains(new double[] {5.0, value}, value)) .isTrue(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(Bytes.contains(ARRAY234, (byte) 1)).isFalse(); assertThat(Bytes.contains(new byte[] {(byte) -1}, (byte) -1)).isTrue(); assertThat(Bytes.contains(ARRAY234, (byte) 2)).isTrue(); assertThat(Bytes.contains(ARRAY234, (byte) 3)).isTrue(); assertThat(Bytes.contains(ARRAY234, (byte) 4)).isTrue(); } public void testIndexOf() { assertThat(Bytes.indexOf(EMPTY, (byte) 1)).isEqualTo(-1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); } private WeakReference<ClosingFuture<String>> leakClosingFuture(TestCloseable closeable) { ClosingFuture<String> willCloseCloseable = ClosingFuture.submit( closer -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureLeakTest.java
public class ClosingFutureLeakTest extends TestCase { public void testLeak() { TestCloseable closeable = new TestCloseable("closeable"); awaitClear(leakClosingFuture(closeable)); assertThat(closeable.awaitClosed()).isTrue(); } private WeakReference<ClosingFuture<String>> leakClosingFuture(TestCloseable closeable) { ClosingFuture<String> willCloseCloseable = ClosingFuture.submit( closer -> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isTrue import java.util.concurrent.ExecutorService import java.util.concurrent.Executors import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2K bytes - Click Count (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();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 25.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue(); assertThat(MoreFiles.asByteSource(fooPath).contentEquals(MoreFiles.asByteSource(fooPath))) .isTrue(); Path fooCopy = Files.copy(fooPath, fs.getPath("fooCopy")); assertThat(Files.isSameFile(fooPath, fooCopy)).isFalse(); assertThat(MoreFiles.equal(fooPath, fooCopy)).isTrue(); MoreFiles.asCharSink(fooCopy, UTF_8).write("boo");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/GraphsTest.java
NetworkBuilder.undirected().allowsParallelEdges(true).build(); assertThat(undirectedMultigraph.addEdge(N1, N2, E12)).isTrue(); assertThat(undirectedMultigraph.addEdge(N1, N2, E12_A)).isTrue(); assertThat(undirectedMultigraph.addEdge(N2, N1, E21)).isTrue(); assertThat(undirectedMultigraph.edgesConnecting(N1, N2)) .isEqualTo(ImmutableSet.of(E12, E12_A, E21)); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 09 23:46:06 GMT 2026 - 30.1K bytes - Click Count (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(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0)