Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testReplaceAll (0.08 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(Collections.nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListReplaceAllTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top