Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 245 for JUnit4ClassUsedInJUnit3 (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionForEachTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(absent = KNOWN_ORDER)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K 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.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class AbstractMultisetTester<E> extends AbstractCollectionTester<E> {
      protected final Multiset<E> getMultiset() {
        return (Multiset<E>) collection;
      }
    
      protected void initThreeCopies() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * annotations even on JUnit 3 tests.
     *
     * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
     * soon won't be.
     */
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @Ignore
    public final class MyTester extends AbstractTester<@Nullable Void> {
      static int timesTestClassWasRun = 0;
    
      public void testNothing() {
        timesTestClassWasRun++;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 14:48:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @ElementTypesAreNonnullByDefault
    public abstract class AbstractCollectionTester<E extends @Nullable Object>
        extends AbstractContainerTester<Collection<E>, E> {
    
      // TODO: replace this with an accessor.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListGetTester<E> extends AbstractListTester<E> {
      public void testGet_valid() {
        // This calls get() on each index and checks the result:
        expectContents(createOrderedArray());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapIsEmptyTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetSetCountUnconditionallyTester<E> extends AbstractMultisetSetCountTester<E> {
      @Override
      void setCountCheckReturnValue(E element, int count) {
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> {
      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", collection.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> {
      @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
      public void testReplaceValuesPreservesOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top