Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2641 - 2650 of 3,991 for extends (0.09 sec)

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

    import java.util.Iterator;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code AbstractBiMap}.
     *
     * @author Mike Bostock
     */
    public class AbstractBiMapTest extends TestCase {
    
      // The next two tests verify that map entries are not accessed after they're
      // removed, since IdentityHashMap throws an exception when that occurs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueueElementTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testElement_empty() {
        assertThrows(NoSuchElementException.class, () -> getQueue().element());
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class QueuePeekTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testPeek_empty() {
        assertNull("emptyQueue.peek() should return null", getQueue().peek());
        expectUnchanged();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java

     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetAddAllTester<E> extends AbstractSetTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link StandardMutableNetwork} allowing self-loops. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public class StandardMutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
    
      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedNetworkTest.java

    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableNetwork}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public final class StandardMutableUndirectedNetworkTest
        extends AbstractStandardUndirectedNetworkTest {
    
      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Atomics}.
     *
     * @author Kurt Alfred Kluever
     */
    public class AtomicsTest extends TestCase {
    
      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertEquals(null, Atomics.newReference().get());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link StandardSystemProperty}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtIncompatible
    public class StandardSystemPropertyTest extends TestCase {
    
      public void testGetKeyMatchesString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          String fieldName = property.name();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 10 08:40:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapAsMapTester.java

     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SortedSetMultimapAsMapTester<K, V>
        extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> {
      public void testAsMapValuesImplementSortedSet() {
        for (Collection<V> valueCollection : multimap().asMap().values()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/StandardMutableDirectedNetworkTest.java

    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link StandardMutableNetwork} allowing self-loops. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public class StandardMutableDirectedNetworkTest extends AbstractStandardDirectedNetworkTest {
    
      @Parameters(name = "allowsSelfLoops={0}, allowsParallelEdges={1}, nodeOrder={2}, edgeOrder={3}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 09 17:01:22 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top