Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 237 for testBar (0.04 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#containsEntry}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() {
        NullPointerTester tester = new NullPointerTester();
    
        tester.testAllPublicStaticMethods(InternetDomainName.class);
        tester.testAllPublicInstanceMethods(InternetDomainName.from("google.com"));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
      @SuppressWarnings("CheckReturnValue") // calling read() to skip a byte
      public void testMark() throws Exception {
        assertTrue(counter.markSupported());
        assertEquals(10, counter.read(new byte[10]));
        assertEquals(10, counter.getCount());
        counter.mark(5);
        counter.read();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    public class AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of set or collection but not both.
       */
      protected final Set<E> getSet() {
        return (Set<E>) collection;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/ObjectsTest.java

        assertTrue(Objects.hashCode(1, 2, 3) != Objects.hashCode(2, 3, 1));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Objects.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      }
    
      @GwtIncompatible
      @J2ktIncompatible
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Primitives.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code CollectSpliterators}. */
    @GwtCompatible
    @NullMarked
    public class CollectSpliteratorsTest extends TestCase {
      @GwtIncompatible
      public void testMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}),
                        0,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapRemoveTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code BiMap.remove}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.2K bytes
    - Click Count (1)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.keySet}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(double.class, 3.0);
        tester.testAllPublicStaticMethods(DoubleMath.class);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top