Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for won (0.14 sec)

  1. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicates.java

       * {@code true}. The components are evaluated in order, and evaluation will be "short-circuited"
       * as soon as a false predicate is found. It defensively copies the iterable passed in, so future
       * changes to it won't alter the behavior of this predicate. If {@code components} is empty, the
       * returned predicate will always evaluate to {@code true}.
       */
      public static <T extends @Nullable Object> Predicate<T> and(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * annotations even on JUnit 3 tests.
     *
     * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
     * soon won't be.
     */
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @Ignore
    public final class MyTester extends AbstractTester<@Nullable Void> {
      static int timesTestClassWasRun = 0;
    
      public void testNothing() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
                   * This won't do any good under JUnit 3, but I'll leave it around in
                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharSinkTester.java

     * Generates tests of all methods on a {@code CharSink} given various inputs written to it.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSinkTester.class);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

        // submit()/join() causes this thread to execute the task instead, so we use a CountDownLatch as
        // a barrier to synchronize.
        // TODO(cpovirk): If some other test already initialized commonPool(), this won't work :(
        // Maybe we should just run this test in its own VM.
        ForkJoinPool.commonPool()
            .execute(
                () -> {
                  try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
        assertThat(removalListener.getCount()).isEqualTo(1);
    
        // 5 won't be cached, won't dump cache
        assertThat(cache.getUnchecked(5)).isEqualTo(5);
        assertThat(cache.asMap().keySet()).containsExactly(2, 4);
    
        CacheTesting.processPendingNotifications(cache);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  8. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    }
                }
                if (idx < tok.length) {
                    qualifier = tok[idx++];
                    fallback = isDigits(qualifier);
                }
    
                // string tokenizer won't detect these and ignores them
                if (part1.contains("..") || part1.startsWith(".") || part1.endsWith(".")) {
                    fallback = true;
                }
    
                if (fallback) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
        GcFinalization.awaitClear(queueReference);
      }
    
      /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    
      public void testThatFinalizerStops() {
        weaklyReferenceQueue();
        GcFinalization.awaitClear(queueReference);
      }
    
      /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
      @Nullable FinalizableWeakReference<Object> reference;
    
      /** Create the FRQ in a method that goes out of scope so that we're sure it will be reclaimed. */
      private void weaklyReferenceQueue() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 10 08:40:05 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top