diff options
author | 2021-07-21 15:33:22 +0100 | |
---|---|---|
committer | 2021-08-05 14:16:51 +0100 | |
commit | 428c65156bcf72d521315f5c7bab355be3394e82 (patch) | |
tree | 5ac7d557e93f1304b77068d62359df39a070d5e4 /apex/classpath_element_test.go | |
parent | bf49705608a09c68a243de03dceefb4bff2c343f (diff) |
Add tests for verify_overlaps script
Refactor verify_overlaps to make it testable and add tests for the
comparison. It does make one significant change in behavior which is to
read each of the files produced by a bootclasspath_fragment into a dict
before comparison, rather than reading and comparing them a row at a
time. That allows it to reuse the code to read a CSV into a dict.
Bug: 194063708
Test: atest --host verify_overlaps_test
m out/soong/hiddenapi/hiddenapi-flags.csv
- manually change files to cause difference in flags to check
that it detects the differences.
Change-Id: Ib70ac87fe089fc25e3bef18f367d4939bfc0cb8d
Diffstat (limited to 'apex/classpath_element_test.go')
0 files changed, 0 insertions, 0 deletions