Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for addRelatedGroup (0.2 sec)

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

            new RelationshipTester<>(
                Equivalence.equals(), "Object#equals", "Object#hashCode", itemReporter);
        for (List<Object> group : equalityGroups) {
          delegate.addRelatedGroup(group);
        }
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        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;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        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;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

            new RelationshipTester<>(
                Equivalence.equals(), "Object#equals", "Object#hashCode", itemReporter);
        for (List<Object> group : equalityGroups) {
          delegate.addRelatedGroup(group);
        }
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
      private void testItems() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        this.itemReporter = checkNotNull(itemReporter);
      }
    
      // TODO(cpovirk): should we reject null items, since the tests already check null automatically?
      @CanIgnoreReturnValue
      public RelationshipTester<T> addRelatedGroup(Iterable<? extends T> group) {
        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
        for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top