summaryrefslogtreecommitdiff
path: root/test/044-proxy/src/BasicTest.java
Commit message (Collapse)AuthorAgeFilesLines
* ART: harden test 044Andreas Gampe2018-03-021-11/+8
| | | | | | | | | | | | | Ensure that spec-required methods are correctly passed to the invocation handler. Do not rely on undefined ordering of methods (and unify the handling). Bug: 73888836 Bug: 73901493 Test: art/test/testrunner/testrunner.py -b --host -t 044 Change-Id: I0886bd78f7a45588384c745e38b4a12de4b81934
* Tests: never use System.errKevin Brodsky2017-06-021-6/+6
| | | | | | | | | | | | Always print stack traces to System.out, and replace all System.err.println()'s with System.out.println(). Follow-up of https://android-review.googlesource.com/#/c/187020/ and https://android-review.googlesource.com/#/c/407032/. Test: m test-art-host m test-art-target Change-Id: I9ab9cd955a8db25b2ec6673790e5bc924f62c88a
* ART: Fix type parameter in testsAndreas Gampe2016-07-221-6/+4
| | | | | | | | Move Class to Class<?>, Constructor to Constructor<?>, and in general clean up reflection. Test: m test-art-host-run-test Change-Id: I3a4223ee8d14d032015edf34bf27135757f7138c
* Replace proxy class names with deterministic ones for test output.Hiroshi Yamauchi2015-12-071-3/+7
| | | | | | | | | | | | This should avoid potentially flaky test failures in 005-annotations and 044-proxy. (cherrypick commit bc7f8080d1f5d0138cb83cba73a747d43d62c23c) Bug: 25838574 Bug: 12687968 Change-Id: I08765abd82e41258ce4d1d8bb9dffce70c8b6689
* resolved conflicts for merge of 773965c0 to klp-dev-plus-aospJeff Hao2014-03-141-0/+14
|\ | | | | | | Change-Id: I43747a469e8d409397f3d88f6f6f6daaf5fbb372
| * Fix stack trace for proxy methods and added test case.Jeff Hao2014-02-241-1/+21
| | | | | | | | | | | | | | Bug: 11861564 Change-Id: I9513359ff9e5d345ee71d84388afed02bd114ecf (cherry picked from 228d6b8a4f0a21c1e9b2372c3104ce4ee19f65b4)
* | Test Method.getModifiers() result for proxy methodsBrian Carlstrom2014-03-121-6/+9
| | | | | | | | Change-Id: I2ba3be80ea21c5cfc0e2b9463270e34622c8c92b
* | Fix stack trace for proxy methods and added test case.Jeff Hao2013-12-041-1/+21
|/ | | | | | Bug: 11861564 Change-Id: I9513359ff9e5d345ee71d84388afed02bd114ecf
* Stash the directly-implemented interfaces in Proxy so we can implement ↵Elliott Hughes2012-03-211-0/+2
| | | | | | | | Class.getInterfaces. Also extend test 044 to spot this (found by a libcore test). Change-Id: I50019db49c549f045d94173c3ed9ae81f05ef858
* Give proxy all of the return types. Part 2.Jesse Wilson2011-10-241-8/+5
| | | | Change-Id: I953144290307f46824642837530ac4deeb6a78b2
* Proxy implementationIan Rogers2011-10-141-0/+11
| | | | | | | | | | This rounds out the proxy implementation by adding missing pieces to the class linker, extending tests and fixing issues in the runtime support. There are also some tweaks for performance and to clean up Method/Object a little. A unit test of the functionality is "art/test/run-test 044" Change-Id: Id94102d10b81cd9b12b95ba8618f6187490204c4
* Adding old unit tests to test suite.jeffhao2011-09-291-0/+263
These tests are copied straight over. They'll still run, but they're using the old system. Change-Id: If494519e52ddf858a9febfc55bdae830468cb3c8