Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,844 for test2 (0.04 sec)

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

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code clear()} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> {
      // MultimapPutTester tests non-duplicate values, but ignores ordering
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAddsValueAtEnd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/FunnelsTest.java

      }
    
      public void testForStrings() {
        PrimitiveSink primitiveSink = mock(PrimitiveSink.class);
        Funnels.unencodedCharsFunnel().funnel("test", primitiveSink);
        verify(primitiveSink).putUnencodedChars("test");
      }
    
      public void testForStrings_null() {
        assertNullsThrowException(Funnels.unencodedCharsFunnel());
      }
    
      public void testForStringsCharset() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java

    import java.util.Queue;
    import org.junit.Ignore;
    
    /**
     * Base class for queue 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 AbstractQueueTester<E> extends AbstractCollectionTester<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/AbstractQueueTester.java

    import java.util.Queue;
    import org.junit.Ignore;
    
    /**
     * Base class for queue 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 AbstractQueueTester<E> extends AbstractCollectionTester<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java

        List<Range<C>> asRanges = ImmutableList.copyOf(rangeSet.asRanges());
    
        // test that connected ranges are coalesced
        for (int i = 0; i + 1 < asRanges.size(); i++) {
          Range<C> range1 = asRanges.get(i);
          Range<C> range2 = asRanges.get(i + 1);
          assertFalse(range1.isConnected(range2));
        }
    
        // test that there are no empty ranges
        for (Range<C> range : asRanges) {
          assertFalse(range.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        this.tester = EquivalenceTester.of(equivalenceMock);
      }
    
      /** Test null reference yields error */
      public void testOf_nullPointerException() {
        assertThrows(NullPointerException.class, () -> EquivalenceTester.of(null));
      }
    
      public void testTest_noData() {
        tester.test();
      }
    
      public void testTest() {
        Object group1Item1 = new TestObject(1, 1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. guava-gwt/src/com/google/common/cache/Cache.gwt.xml

        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    public class GcFinalizationTest extends TestCase {
    
      // ----------------------------------------------------------------
      // Ordinary tests of successful method execution
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top