Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 690 for testCase (0.05 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

    import java.nio.charset.Charset;
    import java.nio.charset.UnsupportedCharsetException;
    import java.util.Arrays;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MediaType}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible(emulated = true)
    public class MediaTypeTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testParse_useConstants() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.stream.DoubleStream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class ImmutableDoubleArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

    import java.util.Set;
    import java.util.function.BiPredicate;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@link ImmutableSortedMultiset}.
     *
     * @author Louis Wasserman
     */
    public class ImmutableSortedMultisetTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java

    import java.util.Set;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Base class for {@link ImmutableSet} and {@link ImmutableSortedSet} tests.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractImmutableSetTest extends TestCase {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

    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 {
      private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  6. 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)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

    import java.math.BigDecimal;
    import java.math.BigInteger;
    import java.math.RoundingMode;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link IntMath}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class IntMathTest extends TestCase {
      public void testMaxSignedPowerOfTwo() {
        assertTrue(IntMath.isPowerOfTwo(IntMath.MAX_SIGNED_POWER_OF_TWO));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    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 {
    
      public void testNewBuilder() {
        CacheLoader<Object, Integer> loader = constantLoader(1);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/BaseEncodingTest.java

    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@code BaseEncoding}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    public class BaseEncodingTest extends TestCase {
    
      public void testSeparatorsExplicitly() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

    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)
Back to top