Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 522 for units (0.07 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    import okhttp3.FakeRoutePlanner
    import okhttp3.FakeRoutePlanner.ConnectState.TLS_CONNECTED
    import okhttp3.internal.concurrent.TaskFaker
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Unit test for [FastFallbackExchangeFinder] implementation details.
     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

    import java.util.List;
    import java.util.regex.Pattern;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Predicates}.
     *
     * @author Kevin Bourrillion
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class PredicatesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import java.util.Iterator;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link ImmutableList}.
     *
     * @author Kevin Bourrillion
     * @author George van den Driessche
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link ArbitraryInstances}.
     *
     * @author Ben Yu
     */
    public class ArbitraryInstancesTest extends TestCase {
    
      public void testGet_primitives() {
        assertNull(ArbitraryInstances.get(void.class));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.Future;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible(emulated = true)
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    public class CacheBuilderTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FilesTest.java

    import java.nio.channels.FileChannel.MapMode;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Files}.
     *
     * <p>Some methods are tested in separate files:
     *
     * <ul>
     *   <li>{@link Files#fileTraverser()} is tested in {@link FilesFileTraverserTest}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.List;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link Doubles}.
     *
     * @author Kevin Bourrillion
     */
    @ElementTypesAreNonnullByDefault
    @GwtCompatible(emulated = true)
    public class DoublesTest extends TestCase {
      private static final double[] EMPTY = {};
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static boolean isTimed(Method method) {
        return isLongTimeUnitBased(method) || isDurationBased(method);
      }
    
      /** Determines whether the given method takes a time and unit as its last two parameters. */
      private static boolean isLongTimeUnitBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

    import java.util.Iterator;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link ImmutableList}.
     *
     * @author Kevin Bourrillion
     * @author George van den Driessche
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private static boolean isTimed(Method method) {
        return isLongTimeUnitBased(method) || isDurationBased(method);
      }
    
      /** Determines whether the given method takes a time and unit as its last two parameters. */
      private static boolean isLongTimeUnitBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top