Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,337 for Test (0.14 sec)

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

              putModel(model, range2, 2);
              putModel(model, range3, 3);
              RangeMap<Integer, Integer> test = TreeRangeMap.create();
              test.put(range1, 1);
              test.put(range2, 2);
              test.put(range3, 3);
              verify(model, test);
            }
          }
        }
      }
    
      public void testPutAll() {
        for (Range<Integer> range1 : RANGES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        try {
          equalsTester.addEqualityGroup((Object) null);
          fail("Should fail on null reference");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

            .testAllPublicInstanceMethods(monitor);
      }
    
      // TODO: Test enter(long, TimeUnit).
      // TODO: Test enterWhen(Guard, long, TimeUnit).
      // TODO: Test enterIf(Guard, long, TimeUnit).
      // TODO: Test waitFor(Guard, long, TimeUnit).
      // TODO: Test getQueueLength().
      // TODO: Test hasQueuedThreads().
      // TODO: Test getWaitQueueLength(Guard).
      // TODO: Test automatic signaling before leave, waitFor, and reentrant enterWhen.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link ImmutableNetwork}. */
    @RunWith(JUnit4.class)
    public class ImmutableNetworkTest {
    
      @Test
      public void immutableNetwork() {
        MutableNetwork<String, Integer> mutableNetwork = NetworkBuilder.directed().build();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-testlib/pom.xml

              <execution>
                <id>attach-test-sources</id>
                <phase>post-integration-test</phase>
                <goals><goal>test-jar</goal></goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <artifactId>maven-jar-plugin</artifactId>
            <executions>
              <execution>
                <id>create-test-jar</id>
                <goals><goal>test-jar</goal></goals>
              </execution>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 31 18:55:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        // Test #keys()
        assertMultisetIsUnmodifiable(multimap.keys(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #keySet()
        assertSetIsUnmodifiable(multimap.keySet(), sampleKey);
        assertMultimapRemainsUnmodified(multimap, originalEntries);
    
        // Test #get()
        if (!multimap.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
        Wrapper<String> wrapper = LENGTH_EQUIVALENCE.wrap(test);
        assertSame(test, wrapper.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerialization() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        }
      }
    
      @Test
      public void equivalent_nodeSetsDiffer() {
        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 22 19:09:27 GMT 2017
    - 5.9K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      /*
       * This is a public type so that the Android test runner can create an instance directly as it
       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AndroidIncompatible.java

    import java.lang.annotation.Target;
    
    /**
     * Signifies that a test should not be run under Android. This annotation is respected only by our
     * Google-internal Android suite generators. Note that those generators also suppress any test
     * annotated with LargeTest.
     *
     * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top