Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testToArray_emptyArrayOfWrongTypeForEmptyCollection (0.18 sec)

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

            () -> {
              WrongType[] array = new WrongType[0];
              collection.toArray(array);
            });
      }
    
      @CollectionSize.Require(ZERO)
      public void testToArray_emptyArrayOfWrongTypeForEmptyCollection() {
        WrongType[] array = new WrongType[0];
        assertSame(
            "toArray(sameSizeNotAssignableTo[]) should return the given array",
            array,
            collection.toArray(array));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top