Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 2,185 for test0 (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code get()} operations on a list. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import java.math.RoundingMode;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for SimpleGenericBloomFilter and derived BloomFilter views.
     *
     * @author Dimitris Andreou
     */
    public class BloomFilterTest extends TestCase {
      private static final int NUM_PUTS = 100_000;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@code EnumBiMap}.
     *
     * @author Mike Bostock
     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    			if err != nil {
    				t.Fatal("dir/obj not found before last test")
    			}
    			_, actualErr := xl.DeleteObject(ctx, test.bucket, test.object, ObjectOptions{})
    			if test.expectedErr != nil && actualErr != test.expectedErr {
    				t.Errorf("Expected to fail with %s, but failed with %s", test.expectedErr, actualErr)
    			}
    			if test.expectedErr == nil && actualErr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#putAll(Multimap)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#putAll(Multimap)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapPutAllMultimapTester<K, V>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @MapFeature.Require(absent = SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

        }
    
        @Test
        void testSameUpperAndLowerBoundRoundtrip() throws InvalidVersionSpecificationException {
            VersionRange range = VersionRange.createFromVersionSpec("[1.0]");
            VersionRange range2 = VersionRange.createFromVersionSpec(range.toString());
            assertEquals(range, range2);
        }
    
        @Test
        void testInvalidRanges() {
            checkInvalidRange("(1.0)");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
      public static Test suite() {
        return new OpenJdk6ListTests().allTests();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

    import java.util.Set;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests multiset-specific serialization. Can't be invoked directly;
     * please see {@link MultisetTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible // but no-op
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top