Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1501 - 1510 of 1,876 for junit (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertEquals(unit.toNanos(duration), map.expireAfterAccessNanos);
      }
    
      public void testSetRefresh() {
        long duration = 42;
        TimeUnit unit = SECONDS;
        LocalCache<Object, Object> map =
            makeLocalCache(createCacheBuilder().refreshAfterWrite(duration, unit));
        assertEquals(unit.toNanos(duration), map.refreshNanos);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import junit.framework.TestCase;
    
    /**
     * {@link TestCase} for {@link InternetDomainName}.
     *
     * @author Craig Berry
     */
    @GwtCompatible(emulated = true)
    public final class InternetDomainNameTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.TreeMap;
    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

    import java.util.Arrays;
    import java.util.Collection;
    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)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

    import java.util.NoSuchElementException;
    import java.util.Queue;
    import java.util.RandomAccess;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@code Iterables}.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

    import java.util.Set;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link ImmutableSortedSet}.
     *
     * @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
    - 46.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. 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")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

    import okio.ByteString
    import okio.ByteString.Companion.decodeBase64
    import okio.ByteString.Companion.decodeHex
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Test
    
    internal class DerCertificatesTest {
      private val stateOrProvince = "1.3.6.1.4.1.311.60.2.1.2"
      private val country = "1.3.6.1.4.1.311.60.2.1.3"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top