Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EquivalenceTester (0.14 sec)

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

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    public class EquivalenceTesterTest extends TestCase {
      private EquivalenceTester<Object> tester;
      private MockEquivalence equivalenceMock;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    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

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link EquivalenceTester}.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    public class EquivalenceTesterTest extends TestCase {
      private EquivalenceTester<Object> tester;
      private MockEquivalence equivalenceMock;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    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

       */
    
      public void testEqualsEquivalent() {
        EquivalenceTester.of(Equivalence.equals())
            .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))
    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