Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for addEqualityGroup (1.35 sec)

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

        new EqualsTester()
            .addEqualityGroup(original)
            .addEqualityGroup(
                withNull, getSubjectGenerator().create((Object[]) createArrayWithNullValue()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

                MediaType.parse("text/plain; charset=\tUTF-8"))
            .addEqualityGroup(MediaType.parse("text/plain; charset=utf-8; charset=utf-8"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "value"),
                MediaType.create("text", "plain").withParameter("A", "value"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "VALUE"),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      private static final File FILE = new File(".");
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class))
            .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader()))
            .addEqualityGroup(
                new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Lists.newArrayList(v0(), v3()));
        expected.put(k1(), Lists.newArrayList(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEntrySetEquals() {
        resetContainer(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapAsMapTester.java

        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Lists.newArrayList(v0(), v3()));
        expected.put(k1(), Lists.newArrayList(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEntrySetEquals() {
        resetContainer(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PredicatesTest.java

        new EqualsTester()
            .addEqualityGroup(FALSE, Predicates.alwaysFalse())
            .addEqualityGroup(TRUE)
            .addEqualityGroup(Predicates.not(FALSE))
            .testEquals();
    
        new EqualsTester()
            .addEqualityGroup(Predicates.isNull(), Predicates.isNull())
            .addEqualityGroup(Predicates.notNull())
            .addEqualityGroup(Predicates.not(Predicates.isNull()))
            .testEquals();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        new EqualsTester()
            .addEqualityGroup(Invokable.from(getMethod), Invokable.from(getMethod))
            .addEqualityGroup(Invokable.from(setMethod))
            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(getMethod))
            .addEqualityGroup(new TypeToken<List<String>>() {}.method(getMethod))
            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(setMethod))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        private final EqualsTester tester = new EqualsTester();
    
        TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) {
          if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            tester.addEqualityGroup(jvmType);
            tester.addEqualityGroup((Object[]) types);
          } else {
            tester.addEqualityGroup(Lists.asList(jvmType, types).toArray());
          }
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypesTest.java

        private final EqualsTester tester = new EqualsTester();
    
        TypeVariableEqualsTester addEqualityGroup(Type jvmType, Type... types) {
          if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY) {
            tester.addEqualityGroup(jvmType);
            tester.addEqualityGroup((Object[]) types);
          } else {
            tester.addEqualityGroup(Lists.asList(jvmType, types).toArray());
          }
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA)),
                EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA)))
            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CHILE)))
            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 16:35:21 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top