summaryrefslogtreecommitdiff
path: root/test/910-methods/src
AgeCommit message (Collapse)Author
2022-01-21910-methods: don't print modifiers by default Orion Hodson
Tool chain differences mean that sometimes we have static synthetic method that is also marked as a bridge method and other times it isn't. Fix: 215524097 Test: atest CtsJvmtiRunTest910HostTestCases Test: art/test/run-test --host 910 Change-Id: Ib8fddb514565b55e7fe9d0f611998ef7ef755530
2020-07-26More inclusive language fixes Orion Hodson
Bug: 161896447 Bug: 161850439 Bug: 161336379 Test: art/test.py --host Change-Id: I1519e22d40cb28f243dd75b12d455cfa844726fc
2017-04-24Remove unneeded shims and jni binding code Alex Light
Bug: 37522517 Test: ./test/testrunner/testrunner.py --host -j40 Change-Id: I8670ab1bbf4b906c47d4edb2ad7349f9505da94a
2017-04-13ART: Refactor run-test 910 Andreas Gampe
Ensure a stable name for the proxy to be tested. Bug: 32072923 Test: art/test/testrunner/testrunner.py --host -t 910 Change-Id: I34aedcdfae55f0bd0563d8aff0b8a8fdeb08de99
2017-04-07ART: More refactor for JVMTI run tests (3/3) Andreas Gampe
Add missing Main classes. Bug: 32072923 Test: m test-art-host Change-Id: I600dd5563e44604bd7b61c7d381f0a7d92db278a
2017-04-07ART: More refactor for JVMTI run tests (2/3) Andreas Gampe
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
2017-04-07ART: More refactor for JVMTI run tests (1/3) Andreas Gampe
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
2017-04-07ART: Add JVMTI test shim Andreas Gampe
Add shim to expose basic native binding methods. Bug: 32072923 Test: m test-art-host Change-Id: Ifcb9e3f66fce8002dd7d5ecb4de1729ab8939d0d
2017-01-20ART: Refactor TI tests Andreas Gampe
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
2017-01-09ART: Add method modifiers functions Andreas Gampe
Add support for IsMethodNative, IsMethodObsolete and IsMethodSynthetic. Add tests. Bug: 34163329 Test: m test-art-host-run-test-910-methods Change-Id: I89077cfde1f37861ccb718345b753dfae1d6abe3
2017-01-09ART: Add method code item functions Andreas Gampe
Add support for GetArgumentsSize, GetMaxLocals and GetMethodLocation support. Add tests. Bug: 34163329 Test: m test-art-host-run-test-910-methods Change-Id: I14b5d02bf0513dc5a8d3f4ea17c849ab08b8554a
2016-10-28ART: Add GetMethodModifiers Andreas Gampe
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
2016-10-28ART: Add GetMethodDeclaringClass Andreas Gampe
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
2016-10-28ART: Add method name support to TI Andreas Gampe
Add support for GetMethodName. Bug: 31684812 Test: m test-art-host Change-Id: I55e7b6dac7e7193c3d9979ebb289b0e2849ad030