summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2017-02-03 19:43:59 +0000
committerTobias Thierer <tobiast@google.com>2017-02-03 19:47:55 +0000
commit2cb4d36484818c967085026679aacf9e09b563c3 (patch)
treedab174fac0cd8e5836561284afee9159adec9a68 /annotations/generate_annotated_java_files.py
parentc21ef14988d9f34bd1b477b70324c7562b75f7b4 (diff)
Improve CollectionsTest coverage of unmodifiable NavigableMaps
- assert that head/tail maps exclusive of a present key have the same entries as those inclusive of the neighboring key in the corresponding head/tail direction. - cover head/tail maps whose bound is an absent key (previous tests only covered head/tail maps whose bound was a present key) - assert that ceiling/floor key, if present, of an absent key are adjacent in terms of higherKey()/lowerKey() Since CollectionsTest.test_unmodifiableNavigableMap_*() constructs wrappers around a TreeMap, these tests also provide additional test coverage for TreeMap. Test: CollectionsTest Change-Id: I92ebe5dde301ed4a6fcd18cb5e81a65cdb0d4bc9
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions