Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 117 for EqualsTester (0.22 sec)

  1. guava-tests/test/com/google/common/collect/SetsTest.java

    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.SetFeature;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RangeTest.java

    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Predicate;
    import com.google.common.testing.EqualsTester;
    import java.util.Collections;
    import java.util.List;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import static com.google.common.truth.TruthJUnit.assume;
    import static org.junit.Assert.assertThrows;
    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import com.google.common.io.Files;
    import com.google.common.io.Resources;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.common.reflect.ClassPath.ResourceInfo;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.FilePermission;
    import java.io.IOException;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.base.Suppliers;
    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary
     * conditions.
     *
     * @author Adam Winer
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @After
      public void validateUndirectedEdges() {
        for (Integer node : network.nodes()) {
          new EqualsTester()
              .addEqualityGroup(
                  network.inEdges(node), network.outEdges(node), network.incidentEdges(node))
              .testEquals();
          new EqualsTester()
              .addEqualityGroup(
                  network.predecessors(node), network.successors(node), network.adjacentNodes(node))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       *     or if the hashcodes are different.
       */
      @CanIgnoreReturnValue
      public static <T> T reserializeAndAssert(T object) {
        T copy = reserialize(object);
        new EqualsTester().addEqualityGroup(object, copy).testEquals();
        Assert.assertEquals(object.getClass(), copy.getClass());
        return copy;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import com.google.common.collect.testing.google.UnmodifiableCollectionTests;
    import com.google.common.testing.CollectorTester;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.HashSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(TypeToken.of(type), instances);
      }
    
      private static void assertFreshInstance(TypeToken<?> type, int instances) {
        FreshValueGenerator generator = new FreshValueGenerator();
        EqualsTester tester = new EqualsTester();
        for (int i = 0; i < instances; i++) {
          tester.addEqualityGroup(generator.generateFresh(type));
        }
        tester.testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

    import com.google.common.collect.testing.google.SetGenerators.ContiguousSetSubsetGenerator;
    import com.google.common.collect.testing.google.SetGenerators.ContiguousSetTailsetGenerator;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * @author Gregory Kick
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top