Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 640 for assertTrue (0.09 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        assertThat(resultFuture.toString()).contains(outputFuture.toString());
      }
    
      public void testFutureCancelBeforeInputCompletion() throws Exception {
        assertTrue(resultFuture.cancel(true));
        assertTrue(resultFuture.isCancelled());
        assertTrue(inputFuture.isCancelled());
        assertFalse(outputFuture.isCancelled());
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            assertTrue(artifact1.compareTo(artifact2) < 0);
            assertTrue(artifact2.compareTo(artifact1) > 0);
    
            Artifact artifact = new DefaultArtifact(
                    groupId, artifactId, VersionRange.createFromVersion("5.0"), scope, type, classifier, artifactHandler);
            assertTrue(artifact.compareTo(artifact1) == 0);
            assertTrue(artifact1.compareTo(artifact) == 0);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

            }
            assertTrue(desc, isTimed(method));
            break;
          case 3:
            assertTrue(desc, isGuarded(method));
            assertTrue(desc, isTimed(method));
            break;
          default:
            fail(desc);
        }
    
        if (method.getReturnType() == void.class) {
          assertFalse(desc, isBoolean(method));
        } else {
          assertTrue(desc, isBoolean(method));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat");
            ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat");
            assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
            assertTrue(f.compareTo(sp2) < 0, "expected " + f + " < " + sp2);
            assertTrue(f.compareTo(sp3) < 0, "expected " + f + " < " + sp3);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasNoError() {
                assertTrue("Has no error (${richReport.errors})", richReport.errors.isEmpty())
            }
    
            fun assertHasNoWarning() {
                assertTrue("Has no warning (${richReport.warnings})", richReport.warnings.isEmpty())
            }
    
            fun assertHasNoInformation() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        assertFalse(isInOrder(asList(0, 5, 3, 9), Ordering.natural()));
        assertTrue(isInOrder(asList(0, 3, 5, 9), Ordering.natural()));
        assertTrue(isInOrder(asList(0, 0, 3, 3), Ordering.natural()));
        assertTrue(isInOrder(asList(0, 3), Ordering.natural()));
        assertTrue(isInOrder(singleton(1), Ordering.natural()));
        assertTrue(isInOrder(Collections.<Integer>emptyList(), Ordering.natural()));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

                  successLatch.countDown();
                })
            .start();
    
        future.cancel(true);
    
        assertTrue(future.isCancelled());
        assertTrue(future.isDone());
    
        assertTrue(successLatch.await(200, MILLISECONDS));
        assertTrue(listenerLatch.await(200, MILLISECONDS));
    
        latch.countDown();
    
        exec.shutdown();
        exec.awaitTermination(100, MILLISECONDS);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

        Multimap<String, Integer> filtered = filterValues(keyFiltered, VALUE_PREDICATE);
        assertEquals(1, filtered.size());
        assertTrue(filtered.containsEntry("foo", 1));
        assertTrue(filtered.keySet().retainAll(asList("cat", "dog")));
        assertEquals(0, filtered.size());
      }
    
      // TODO(jlevy): Many more tests needed.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertTrue(dataConfig instanceof DataConfig);
        }
    
        public void test_getPipeline() {
            crawlingConfigHelper.refresh();
            assertTrue(crawlingConfigHelper.getPipeline(null).isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("XXX").isEmpty());
            assertTrue(crawlingConfigHelper.getPipeline("W1").isEmpty());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testCartesianProduct_contains() {
        List<List<Integer>> actual = cartesianProduct(list(1, 2), list(3, 4));
        assertTrue(actual.contains(list(1, 3)));
        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_indexOf() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top