Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 513 for test_case (0.15 sec)

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

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Uninterruptibles}.
     *
     * @author Anthony Zana
     */
    @NullUnmarked
    public class UninterruptiblesTest extends TestCase {
      private static final String EXPECTED_TAKE = "expectedTake";
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

    import java.util.ArrayList;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Locale;
    import java.util.TreeMap;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.junit.Test;
    
    /**
     * Automatically runs sanity checks against top level classes in the same package of the test that
     * extends {@code AbstractPackageSanityTests}. Currently sanity checks include {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @NullUnmarked
    public class LocalLoadingCacheTest extends TestCase {
    
      private static <K, V> LocalLoadingCache<K, V> makeCache(
          CacheBuilder<K, V> builder, CacheLoader<? super K, V> loader) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashCodeTest.java

    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit tests for {@link HashCode}.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class HashCodeTest extends TestCase {
      // note: asInt(), asLong() are in little endian
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import java.util.Comparator;
    import java.util.Optional;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
        Comparator<String> comparator = Ordering.natural();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    @NullUnmarked
    public class GcFinalizationTest extends TestCase {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test for {@link WrappingScheduledExecutorService}
     *
     * @author Luke Sandberg
     */
    @NullUnmarked
    public class WrappingScheduledExecutorServiceTest extends TestCase {
      private static final Runnable DO_NOTHING =
          new Runnable() {
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top