summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPete Bentley <prb@google.com>2020-04-06 12:17:40 +0100
committerPete Bentley <prb@google.com>2020-04-07 12:51:35 +0100
commite4bc3ffb11db344ac449fc33b246b2b88a32af30 (patch)
tree5584e9323c35c51e37b177865b4a6efbda37dc5b /annotations/generate_annotated_java_files.py
parentc78f76c6128317ff8a7e42b23e731a68dc3bf6f7 (diff)
Improve test coverage for Arrays and Streams.
For Arrays.stream(T[]) tests * Expected results when streaming and mapping * Streaming and collecting with toArray() returns an identical array * Streaming and collecting to a list results in a list with the same values * Providing start and end indices works as expected Also adds basic tests for Stream.of(T t) and Stream.of(T... t) to ensure the returned stream contains the expected contents. Bug: 150642149 Bug: 151111571 Test: atest CtsLibcoreTestCases:libcore.java.util.ArraysTest Test: atest CtsLibcoreTestCases:libcore.java.util.stream.StreamTest Change-Id: If9ed6fe160b7a55f0758392da9929d78ee25a293 Merged-In: If9ed6fe160b7a55f0758392da9929d78ee25a293 (cherry picked from commit dcf0a57e12851f41e5e7929921be1f9beff16b75)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions