Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for ListTestSuiteBuilder (0.13 sec)

  1. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

     * implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class ListTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<ListTestSuiteBuilder<E>, E> {
      public static <E> ListTestSuiteBuilder<E> using(TestListGenerator<E> generator) {
        return new ListTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

     * implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public final class ListTestSuiteBuilder<E>
        extends AbstractCollectionTestSuiteBuilder<ListTestSuiteBuilder<E>, E> {
      public static <E> ListTestSuiteBuilder<E> using(TestListGenerator<E> generator) {
        return new ListTestSuiteBuilder<E>().usingGenerator(generator);
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForVector() {
        return emptySet();
      }
    
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForVector() {
        return emptySet();
      }
    
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toArray()} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @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: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import com.google.common.collect.testing.IteratorTester;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    import com.google.common.collect.testing.features.CollectionSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.OneSizeTestContainerGenerator;
    import com.google.common.collect.testing.TestListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListOfGenerator())
                .named("ImmutableList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
                .named("ImmutableList, built with Builder.add")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableListTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ListTestSuiteBuilder.using(new ImmutableListOfGenerator())
                .named("ImmutableList")
                .withFeatures(CollectionSize.ANY, SERIALIZABLE, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        suite.addTest(
            ListTestSuiteBuilder.using(new BuilderAddAllListGenerator())
                .named("ImmutableList, built with Builder.add")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top