Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for EqualsTester (0.1 sec)

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

    @ElementTypesAreNonnullByDefault
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = Lists.newArrayList();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
      public EqualsTester() {
        this(new RelationshipTester.ItemReporter());
      }
    
      EqualsTester(RelationshipTester.ItemReporter itemReporter) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EqualsTester.java

    @ElementTypesAreNonnullByDefault
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = Lists.newArrayList();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
      public EqualsTester() {
        this(new RelationshipTester.ItemReporter());
      }
    
      EqualsTester(RelationshipTester.ItemReporter itemReporter) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

      public void testEqualsSameContents() {
        new EqualsTester()
            .addEqualityGroup(
                getMultiset(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testNotEqualsEmpty() {
        new EqualsTester()
            .addEqualityGroup(getMultiset())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * Basic serialization test for maps.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.SetMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link SetMultimap#equals(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
        targetEntries.add(mapEntry(k0(), v3()));
        new EqualsTester()
            .addEqualityGroup(multimap())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
        targetEntries.add(mapEntry(k0(), v3()));
        new EqualsTester()
            .addEqualityGroup(multimap())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TablesTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Tables}.
     *
     * @author Jared Levy
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      public void testEqualsObject() {
        new EqualsTester()
            .addEqualityGroup(testTable, HashBasedTable.create(testTable))
            .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create())
            .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, "")))
            .testEquals();
      }
    
      @GwtIncompatible // ArrayTable
      public void testEqualsObjectNullValues() {
        new EqualsTester()
            .addEqualityGroup(testTable)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/EquivalenceTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence.Wrapper;
    import com.google.common.collect.ImmutableList;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.EquivalenceTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import junit.framework.TestCase;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top