Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addEquivalenceGroup (0.25 sec)

  1. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectHash(group2Item1, 2);
        equivalenceMock.expectHash(group2Item2, 2);
    
        equivalenceMock.replay();
    
        tester
            .addEquivalenceGroup(group1Item1, group1Item2)
            .addEquivalenceGroup(group2Item1, group2Item2)
            .test();
      }
    
      public void testTest_symmetric() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectHash(group2Item1, 2);
        equivalenceMock.expectHash(group2Item2, 2);
    
        equivalenceMock.replay();
    
        tester
            .addEquivalenceGroup(group1Item1, group1Item2)
            .addEquivalenceGroup(group2Item1, group2Item2)
            .test();
      }
    
      public void testTest_symmetric() {
        Object group1Item1 = new TestObject(1, 1);
        Object group1Item2 = new TestObject(1, 2);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEquivalenceGroup(new Integer(42_000_000), 42_000_000)
            .addEquivalenceGroup("a")
            .test();
      }
    
      public void testIdentityEquivalent() {
        EquivalenceTester.of(Equivalence.identity())
            .addEquivalenceGroup(new Integer(42_000_000))
            .addEquivalenceGroup(new Integer(42_000_000))
            .addEquivalenceGroup("a")
            .test();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top