Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1161 - 1170 of 2,193 for TeSt (0.09 seconds)

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

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#replace(Object, Object)}. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

    @NullUnmarked
    public class CompactLinkedHashSetTest extends TestCase {
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        List<Feature<?>> allFeatures =
            Arrays.<Feature<?>>asList(
                CollectionSize.ANY,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        setToTest =
            InvalidatableSet.of(wrappedSet, () -> wrappedSet.contains(1), () -> 1 + "is not present");
      }
    
      @Test
      @SuppressWarnings("TruthSelfEquals")
      public void testEquals() {
        // sanity check on construction of copyOfWrappedSet
        assertThat(wrappedSet).isEqualTo(copyOfWrappedSet);
    
        // test that setToTest is still valid
        assertThat(setToTest).isEqualTo(wrappedSet);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import java.util.stream.DoubleStream;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullUnmarked
    public class ImmutableDoubleArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

    /**
     * A generic JUnit test which tests {@code listIterator} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

     * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method
     * when the expected present count is correct.
     *
     * @author Chris Povirk
     */
    @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.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public List<T> subList(int fromIndex, int toIndex) {
          return standardSubList(fromIndex, toIndex);
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingListTest.class);
        suite.addTest(
            ListTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public List<T> subList(int fromIndex, int toIndex) {
          return standardSubList(fromIndex, toIndex);
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingListTest.class);
        suite.addTest(
            ListTestSuiteBuilder.using(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

    /**
     * Tests for {@code Multiset.elementSet()} not covered by the derived {@code SetTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @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")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (0)
Back to Top