diff options
author | Mathew Inwood <mathewi@google.com> | 2019-11-29 15:30:52 +0000 |
---|---|---|
committer | Mathew Inwood <mathewi@google.com> | 2019-12-02 11:42:07 +0000 |
commit | 2867ddf511431286b16224af4552300f178a14b0 (patch) | |
tree | 0905e10fe0b46353f15fa7f6e3ebd96daaac769d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 82fee5847845950fcf6ac1be2c057f269a9a7b76 (diff) |
Handle overrideSourcePosition in unsupportedappusageprocessor.
The property is currently set by the AIDL compiler to indicate the original
position of the annotation in the AIDL file. Use this position in
preference to the annotation position within Java code if it's present.
Also rework the tests to use the google compile-testing library rather than
my crufty javac library. This makes testing failure conditions much nicer.
Bug: 145120552
Test: atest unsupportedappusage-processor-test
Test: m framework-annotation-proc
Change-Id: Icaac9b40672dce028095b578c19950b688506c0d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions