Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 198 for testuser (0.03 sec)

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

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.ArrayList;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * Tester for {@code Multimap.values}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SplitterTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Splitter.class);
        tester.testAllPublicInstanceMethods(COMMA_SPLITTER);
        tester.testAllPublicInstanceMethods(COMMA_SPLITTER.trimResults());
      }
    
      public void testMapSplitter_trimmedBoth() {
        Map<String, String> m =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

      /*
       * Previously we had a field named list that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
       * value of list or collection but not both.
       */
      protected final List<E> getList() {
        return (List<E>) collection;
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /** Tester for {@code BiMap.entrySet} and methods on the entries in the set. */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/CollectorTester.java

    import java.util.List;
    import java.util.Objects;
    import java.util.function.BiPredicate;
    import java.util.stream.Collector;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Collector} implementations.
     *
     * <p>Example usage:
     *
     * <pre>
     * CollectorTester.of(Collectors.summingInt(Integer::parseInt))
     *     .expectCollects(3, "1", "2")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/HashingTest.java

              func.hashString(input, UTF_8).toString());
        }
      }
    
      public void testNullPointers() {
        NullPointerTester tester =
            new NullPointerTester()
                .setDefault(byte[].class, "secret key".getBytes(UTF_8))
                .setDefault(HashCode.class, HashCode.fromLong(0));
        tester.testAllPublicStaticMethods(Hashing.class);
      }
    
      public void testSeedlessHashFunctionEquals() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

        return big.longValue();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     * JUnit constructs the instances.
     *
     * <p>This class is emulated in GWT.
     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            list.addLast("2");
            list.addLast("3");
            assertThat(SerializeUtil.serialize(list), is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSet() throws Exception {
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.set(1, "4");
            assertThat(list.get(1), is("4"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top