Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for AbstractMultisetTester (0.48 sec)

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

    /**
     * Base class for multiset collection tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
      protected void initThreeCopies() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java

    /**
     * Base class for multiset collection tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
      protected void initThreeCopies() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetContainsTester<E> extends AbstractMultisetTester<E> {
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAllMultisetIgnoresFrequency() {
        assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0())));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetContainsTester<E> extends AbstractMultisetTester<E> {
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAllMultisetIgnoresFrequency() {
        assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0())));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible // but no-op
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetSerializationTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
        Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetElementSetTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testElementSetReflectsAddAbsent() {
        Set<E> elementSet = getMultiset().elementSet();
        assertFalse(elementSet.contains(e3()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetReadsTester<E> extends AbstractMultisetTester<E> {
    
      @CollectionSize.Require(absent = ZERO)
      public void testElementSet_contains() {
        assertTrue(
            "multiset.elementSet().contains(present) returned false",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible // but no-op
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetSerializationTester<E> extends AbstractMultisetTester<E> {
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
        Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> {
      public void testEqualsSameContents() {
        new EqualsTester()
            .addEqualityGroup(
                getMultiset(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetForEachEntryTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class MultisetForEachEntryTester<E> extends AbstractMultisetTester<E> {
      public void testForEachEntry() {
        List<Entry<E>> expected = new ArrayList<>(getMultiset().entrySet());
        List<Entry<E>> actual = new ArrayList<>();
        getMultiset()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top