Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Group (0.16 sec)

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

        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "foo [group 1, item 1] must be Object#equals to bar [group 1, item 2]");
          return;
        }
        fail("should failed because of unequal objects in the same equality group");
      }
    
      public void testTransitivityBrokenAcrossEqualityGroups() {
        EqualsTester tester =
            new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/RelationshipTester.java

        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
        for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
          ImmutableList<T> group = groups.get(groupNumber);
          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        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
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        try {
          tester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "foo [group 1, item 1] must be Object#equals to bar [group 1, item 2]");
          return;
        }
        fail("should failed because of unequal objects in the same equality group");
      }
    
      public void testTransitivityBrokenAcrossEqualityGroups() {
        EqualsTester tester =
            new EqualsTester()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        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
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *
     * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations.
     *
     * <p>For more extensive testing, add multiple equality groups. Each group should contain objects
     * that are equal to each other but unequal to the objects in any other group. For example:
     *
     * <pre>
     * new EqualsTester()
     *     .addEqualityGroup(new User("page"), new User("page"))
     *     .addEqualityGroup(new User("sergey"))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

        groups.add(ImmutableList.copyOf(group));
        return this;
      }
    
      public void test() {
        for (int groupNumber = 0; groupNumber < groups.size(); groupNumber++) {
          ImmutableList<T> group = groups.get(groupNumber);
          for (int itemNumber = 0; itemNumber < group.size(); itemNumber++) {
            // check related items in same group
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/ForwardingLoadingCache.java

     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
     * underlying functionality, so should probably be overridden as a group.
     *
     * @author Charles Fry
     * @since 11.0
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingLoadingCache<K, V> extends ForwardingCache<K, V>
        implements LoadingCache<K, V> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (1)
  10. guava/module.json

            },
            {
              "group": "com.google.code.findbugs",
              "module": "jsr305",
              "version": {
                "requires": "${jsr305.version}"
              }
            },
            {
              "group": "org.checkerframework",
              "module": "checker-qual",
              "version": {
                "requires": "${checker.version}"
              }
            },
            {
              "group": "com.google.errorprone",
    Json
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Oct 17 18:11:49 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top