diff options
author | Neil Fuller <nfuller@google.com> | 2016-08-12 10:00:23 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2016-08-17 14:16:27 +0100 |
commit | ee3e080dc11ef39567381faadf149c88e7860ce3 (patch) | |
tree | 98e162cc0b65f9f7c6e11d05522729c9aa57cfaf /annotations/generate_annotated_java_files.py | |
parent | c8e286ecfdc24e1880820ac14aadcf8234ba7bb9 (diff) |
Improved tests for repeated annotations
Existing annotation tests have been moved into
libcore.java.lang.reflect.annotations. Existing coverage has
been extended to handle repeated annotation behavior to avoid
regressions.
There were previously some repeated annotation tests for classes
in libcore.java.lang.reflect.AnnotationsTest and these have been
replaced.
Existing tests for non-repeated annotations have been
retained but moved to new Class/Field/Constructor test classes.
Shared utility code and annotation definitions has been moved
to AnnotedElementTestSupport.
AnnotationsTests and Annotations57649Test has been moved into
the new package.
AnnotationTests retains tests associated with the
runtime-generated Annotation object (e.g. default values).
AnnotationTest contained some tests that appear to have nothing
to do with annotations. They have been moved to ReflectionTest
with minimal de-duping for the isAnonymousClass() test.
Note: AnnotationsTest.testRetentionPolicy() fails
before and after the change. See bug 29500035.
Bug: 27466777
Bug: 28666126
Test: cts run --class <All of the tests modified/added>
Change-Id: I55416b68cf0cf5eb104015b3907e78f0b39c8ad5
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions