summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2018-02-07 17:58:28 +0000
committerTobias Thierer <tobiast@google.com>2018-04-25 19:41:03 +0100
commitfdfeacfac1c62197b784d58d89fcf5c6c29e0315 (patch)
tree69ccdfb17324849931679ee0fc8d3213203b4c1e /annotations/generate_annotated_java_files.py
parent87fa0299e25fb5c33c76d7c31d88e38083421e6d (diff)
Add missing test coverage for ByteBuffer.allocateDirect().
This method was called as a side-effect of some other tests, but never as part of a dedicated / comprehensive test. For example, the case of a negative argument was not covered by tests. This CL adds such coverage. This CL also tweaks a couple of assertContentEquals() helper methods to be static. Test: testAllocateDirect() passes. Bug: 35910877 Change-Id: I6807383d0c47d3b8e6d3c8b15fc3ba0432a92b3d
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions