• Home
  • History
  • Annotate
  • only in /art/test/005-annotations/src/android/test/anno/
History log of /art/test/005-annotations/src/android/test/anno/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
166aaee6aa39c20c87113b3fcf0dcd81e0a934cb 18-Jul-2016 Andreas Gampe <agampe@google.com> ART: Fix type parameter in tests

Move Class to Class<?>, Constructor to Constructor<?>, and in
general clean up reflection.

Test: m test-art-host-run-test
Change-Id: I3a4223ee8d14d032015edf34bf27135757f7138c
nnoFancyMethod.java
nnoMissingClass.java
estAnnotations.java
3d0808655cd8cfbc867bf330bcc6f954c59beb9d 27-May-2016 Jeff Hao <jeffhao@google.com> Relax annotation visibility so runtime includes build.

Previous behavior in M and earlier would allow annotations marked
VISIBILITY_BUILD to be visible to the runtime when they should not
have been. When targeting older sdks, revert to this behavior.

Bug: 28826610

(cherry-picked from commit 7e50a7a5a1ad947e84c425efb2e97c442f91b155)

Change-Id: I43d2328be41ec9f4e679b3151f586c0b87b38c7c
estAnnotations.java
1133db79350060158f99210c56f111c6dad43563 05-Apr-2016 Jeff Hao <jeffhao@google.com> Remove AnnotationAccess and its remaining uses.

Art side of this change. Adds a test to ensure annotations not marked
for runtime retention can't be seen at runtime.

Bug: 27912552
Change-Id: I078069b7b3cb72bfe7d0b9ea61e527fee04d56a3
estAnnotations.java
75d505305be25f9d4e35bfe883b2faa8f7a7f8e3 05-Dec-2015 Hiroshi Yamauchi <yamauchi@google.com> Replace proxy class names with deterministic ones for test output.

This should avoid potentially flaky test failures in 005-annotations
and 044-proxy.

(cherrypick commit bc7f8080d1f5d0138cb83cba73a747d43d62c23c)

Bug: 25838574
Bug: 12687968

Change-Id: I08765abd82e41258ce4d1d8bb9dffce70c8b6689
estAnnotations.java
67f0261f6fcbcac7747e58278c32f449d59fac98 25-Nov-2015 Jeff Hao <jeffhao@google.com> Test case for getting annotations of renamed enums.

The crashing app was trying to get enums explicitly by name, but could
not find them since they had been renamed by Proguard.

Regression test for bug 25802263.

Change-Id: Iff78a82d81ca108f1289051916f4272cd0f1e6fe
nnoRenamedEnumMethod.java
enamedEnumClass.java
enamedNoted.java
estAnnotations.java
fc8d247275d06047c652abbdd368fe784bf85e67 02-Sep-2015 Jeff Hao <jeffhao@google.com> Fix native annotations returning TypeNotPresentException.

Also adds test cases for inner classes and TypeNotPresentException.

Change-Id: I28041af455f09b43fcf0b07b79b5a21d4741079b
nnoMissingClass.java
lassWithInnerClasses.java
lassWithMissingAnnotation.java
estAnnotations.java
01afdbab72f5e8c230f3d73a3a61d630670db9ab 03-Oct-2014 Brian Carlstrom <bdc@google.com> Add test for getDeclaredClasses of with missing class

Bug: 17782530
Change-Id: I399621344c3835226c9df9678217fca62cbd5c92
lassWithInnerAnnotationClass.java
estAnnotations.java
1c83cbc4a817acbd7f9abb5b29a2d418a958e6a1 23-Jul-2014 Andreas Gampe <agampe@google.com> ART: Make run tests out of oat tests

Transforms all former oat tests into run tests.

Change-Id: I190dd39456454c36e5538a2c044d993965a67533
nnoArrayField.java
nnoFancyConstructor.java
nnoFancyField.java
nnoFancyMethod.java
nnoFancyParameter.java
nnoFancyType.java
nnoSimpleConstructor.java
nnoSimpleField.java
nnoSimpleLocalVariable.java
nnoSimpleMethod.java
nnoSimplePackage.java
nnoSimpleParameter.java
nnoSimpleType.java
nnoSimpleType2.java
nnoSimpleTypeInvis.java
xportedProperty.java
ullyNoted.java
Noted.java
ntToString.java
issingAnnotation.java
implyNoted.java
omeClass.java
ubNoted.java
estAnnotations.java
ackage-info.java