- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for AbstractMultisetTester (0.08 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> { protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; } protected void initThreeCopies() {
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> { protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; } protected void initThreeCopies() {
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> { public void testEqualsSameContents() { new EqualsTester() .addEqualityGroup( getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() { assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0()))); }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetContainsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetContainsTester<E> extends AbstractMultisetTester<E> { @CollectionSize.Require(absent = ZERO) public void testContainsAllMultisetIgnoresFrequency() { assertTrue(getMultiset().containsAll(getSubjectGenerator().create(e0(), e0(), e0()))); }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 1.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetCountTester<E> extends AbstractMultisetTester<E> { public void testCount_0() { assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3())); } @CollectionSize.Require(absent = ZERO) public void testCount_1() {
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() { assertThrows(UnsupportedOperationException.class, () -> getMultiset().add(e0())); }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetSerializationTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testEntrySetSerialization() { Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetSerializationTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testEntrySetSerialization() { Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.java
// @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetEqualsTester<E> extends AbstractMultisetTester<E> { public void testEqualsSameContents() { new EqualsTester() .addEqualityGroup( getMultiset(), getSubjectGenerator().create(getSampleElements().toArray())) .testEquals(); }
Registered: 2025-05-30 12:43 - Last Modified: 2024-11-14 23:40 - 2.4K bytes - Viewed (0)