Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for AbstractMultimapTester (0.22 sec)

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

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
        extends AbstractContainerTester<M, Entry<K, V>> {
    
      private M multimap;
    
      protected M multimap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultimapToStringTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToStringEmpty() {
        assertEquals("{}", multimap().toString());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

    @ElementTypesAreNonnullByDefault
    public class SetMultimapAsMapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
      public void testAsMapValuesImplementSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
          assertTrue(valueCollection instanceof Set);
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultimapAsMapTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testAsMapGet() {
        for (K key : sampleKeys()) {
          List<V> expectedValues = new ArrayList<>();
          for (Entry<K, V> entry : getSampleElements()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SortedSetMultimapGetTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testValueComparator() {
        assertEquals(multimap().valueComparator(), multimap().get(k0()).comparator());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SortedSetMultimapGetTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testValueComparator() {
        assertEquals(multimap().valueComparator(), multimap().get(k0()).comparator());
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

    @ElementTypesAreNonnullByDefault
    public class AbstractListMultimapTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, ListMultimap<K, V>> {
    
      @Override
      protected void assertGet(K key, V... values) {
        assertGet(key, Arrays.asList(values));
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutAllTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class SetMultimapPutAllTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAllHandlesDuplicates() {
        List<V> valuesToPut = Arrays.asList(v0(), v1(), v0());
    
        for (K k : sampleKeys()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultimapValuesTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      public void testValues() {
        List<V> expected = Lists.newArrayList();
        for (Entry<K, V> entry : getSampleElements()) {
          expected.add(entry.getValue());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
Back to top