Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 159 for is_true (0.27 seconds)

  1. 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)
  2. 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
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
        assertWithMessage("step3.statusFuture().isCancelled()")
            .that(step3.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is still open.
        assertStillOpen(closeable3);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
        assertThat(firstCallable.called).isTrue();
        assertThat(secondCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isTrue();
      }
    
      public void testCancellationDoesNotViolateSerialization() {
        @SuppressWarnings({"unused", "nullness"})
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

      // Test for EndpointPair class
    
      @Test
      public void testOrderedEndpointPair() {
        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/EndpointPairTest.java

      // Test for EndpointPair class
    
      @Test
      public void testOrderedEndpointPair() {
        EndpointPair<String> ordered = EndpointPair.ordered("source", "target");
        assertThat(ordered.isOrdered()).isTrue();
        assertThat(ordered).containsExactly("source", "target").inOrder();
        assertThat(ordered.source()).isEqualTo("source");
        assertThat(ordered.target()).isEqualTo("target");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top