• Home
  • History
  • Annotate
  • only in /art/test/910-methods/src/
History log of /art/test/910-methods/src/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
351ba5aaa52216536a82486acb91dcf779b00478 21-Apr-2017 Alex Light <allight@google.com> Remove unneeded shims and jni binding code

Bug: 37522517
Test: ./test/testrunner/testrunner.py --host -j40
Change-Id: I8670ab1bbf4b906c47d4edb2ad7349f9505da94a
(cherry picked from commit 21b0c29e6a7e5a9d2d31db27aea2fa8615d56f3b)
Merged-In: Iaeba26b9554dee5cba6ef04e91d4a2664c7e94d0
rt/Main.java
rt/Test910.java
d52ddac56fe8c6a852a0f43b0a38f8a3a9730224 13-Apr-2017 Andreas Gampe <agampe@google.com> ART: Refactor run-test 910

Ensure a stable name for the proxy to be tested.

Bug: 32072923
Test: art/test/testrunner/testrunner.py --host -t 910
Change-Id: I34aedcdfae55f0bd0563d8aff0b8a8fdeb08de99
rt/Test910.java
3ea3d5ca4420c98a3de51f638d3222c6696bc3e6 07-Apr-2017 Andreas Gampe <agampe@google.com> ART: More refactor for JVMTI run tests (3/3)

Add missing Main classes.

Bug: 32072923
Test: m test-art-host
Change-Id: I600dd5563e44604bd7b61c7d381f0a7d92db278a
ain.java
a8380240c8c9752c8b43926f677adcac11c2f52f 07-Apr-2017 Andreas Gampe <agampe@google.com> ART: More refactor for JVMTI run tests (2/3)

Move refactored tests into their final places. Add a host java
library that includes those test files.

This is a follow-up to CL I740731c3af793521c5a859ef4a1f0ae94d2e1c19
and must be used together with it.

Bug: 32072923
Test: None
Change-Id: I20b6070eb6bdd4b7a0bf42046302bafa10eee54f
ain.java
rt/Test910.java
4665167ddc34008dfa78a2873685fe7a98772eab 07-Apr-2017 Andreas Gampe <agampe@google.com> ART: More refactor for JVMTI run tests (1/3)

Put (most) tests into a new package and give them dedicated
class names (Test9XY).

NOTE: BROKEN WITHOUT A FOLLOW-UP CL TO CHANGE DIRECTORY STRUCTURE
AND FILE NAMES!

Bug: 32072923
Test: None
Change-Id: I291b0543f7782914e446a74f0d9037020c88e5b5
ain.java
2bbf16da51c6a61da8ccd3c8d4d8382f6bbc9623 07-Apr-2017 Andreas Gampe <agampe@google.com> ART: Add JVMTI test shim

Add shim to expose basic native binding methods.

Bug: 32072923
Test: m test-art-host
Change-Id: Ifcb9e3f66fce8002dd7d5ecb4de1729ab8939d0d
rt/Main.java
53ae7803b20650b7f36c0564dbcdc3115f399cba 20-Jan-2017 Andreas Gampe <agampe@google.com> ART: Refactor TI tests

Add a helper to explicitly bind native methods in a given class,
using dlsym to look up C functions in the local environment.

Add a callback helper that hooks VmInit and calls the above function
on the Main class. Use the callback helper before calling the test-
defined or shared minimal OnLoad function.

Add a binder helper that immediately binds the Main functions. Use
the helper before calling the test-defined OnAttach function.

Remove System.loadLibrary from tests. Instead rely on the explicit
binding.

In preparation for making the tests functional on device.

Test: m test-art-host
Change-Id: I12e68f070e8c6331e51d3a1fa4b9ebd8f28dfce6
ain.java
fdeef52e2b7df4cd2184bb42deb8f1e4325cedce 09-Jan-2017 Andreas Gampe <agampe@google.com> ART: Add method modifiers functions

Add support for IsMethodNative, IsMethodObsolete and IsMethodSynthetic.
Add tests.

Bug: 34163329
Test: m test-art-host-run-test-910-methods
Change-Id: I89077cfde1f37861ccb718345b753dfae1d6abe3
ain.java
f71832ec285844273db42cab2d883882d56fc739 09-Jan-2017 Andreas Gampe <agampe@google.com> ART: Add method code item functions

Add support for GetArgumentsSize, GetMaxLocals and GetMethodLocation
support. Add tests.

Bug: 34163329
Test: m test-art-host-run-test-910-methods
Change-Id: I14b5d02bf0513dc5a8d3f4ea17c849ab08b8554a
ain.java
36bcd4f3f56adf889d488b3fd0fdc7e38e519675 29-Oct-2016 Andreas Gampe <agampe@google.com> ART: Add GetMethodModifiers

Support GetMethodModifiers to retrieve the modifiers of a JNI
method.

Extend test 910.

Bug: 31684812
Test: m test-art-host-run-test-910-methods
Change-Id: Ib44df099bc056c557e526d5fa267df48ac2fd86c
ain.java
368a2088fe24738cfc534c21141c881cf5ff4238 29-Oct-2016 Andreas Gampe <agampe@google.com> ART: Add GetMethodDeclaringClass

Support GetMethodDeclaringClass to retrieve the declaring class
of a JNI method.

Extend test 910. Also cover proxies.

Bug: 31684812
Test: m test-art-host-run-test-910-methods
Change-Id: I8508f96f88692e540ef53f693ff85590b7553f19
ain.java
3c252f07cefccd506a7146d976aa5193396e5a4e 28-Oct-2016 Andreas Gampe <agampe@google.com> ART: Add method name support to TI

Add support for GetMethodName.

Bug: 31684812
Test: m test-art-host
Change-Id: I55e7b6dac7e7193c3d9979ebb289b0e2849ad030
ain.java