History log of /libcore/luni/src/test/java/libcore/java/lang/reflect/MethodTest.java
Revision Date Author Comments
e78f8ca1c55628312772c9c110d12fca09126a7e 11-Mar-2015 Sergio Giro <sgiro@google.com> java.lang.reflect: Use only relevant modifiers when converting to string

Some modifiers not relevant might be used to encode internal information
(eg bridge methods) that shouldn't be displayed when converting to string

bug: 18488857

Change-Id: Ie82ed513b58083a795549a708197f1db52ffb796
6fce18906c5bd29608ce723a23df14e02ea80dfe 20-Jun-2012 Elliott Hughes <enh@google.com> This test has moved to art/.

(cherry picked from commit 47b49a158abdd35111d50cbda356f4f862db8a39)

Change-Id: I716a9184eeb1e8572c5742a4c86be63a6021b0d2
7c462dbaf5b0ef4a7a9c5b45e8769902edd5714b 08-Dec-2011 Jesse Wilson <jessewilson@google.com> Use identity for field/constructor/method equals().

We never have multiple member objects for the same member
so identity is sufficient.

http://b/5713968

(cherry picked from commit 5e2f01b953f15da7d83d561572f73f9077049559)

Change-Id: Ibd7b16fa8264122da4b57ac7a3ce33d77af09801
a0ee76b0850774edeb0c67204070b89d117573bc 13-Dec-2011 Jesse Wilson <jessewilson@google.com> Migrate some reflection tests from frameworks/base/tests/CoreTests

This found a problem where Method.toString() was returning "[C" for
char arrays rather than "char[]". Sadly the RI doesn't use either
getName() or getCanonicalName(). That problem was introduced with the
fix for http://b/3073292

Bug: http://b/3073226
Change-Id: I7c2b0ebfc1718f7f0e8da55bdefd13a8e4032a45
a9781911abb1d8239ed77ac5e39bc789b7632ce6 30-Aug-2011 Jesse Wilson <jessewilson@google.com> Tests to verify that reflection + anonymous classes works properly.

Change-Id: Ide84f6fa454eafb843e48cd21312875f387c2c13
907c03d7c033039de50644f1f27c16c6732ebf5b 14-Aug-2011 Jesse Wilson <jessewilson@google.com> Don't expect parens on a null method name.

Change-Id: Ie0b62f598bb97cec76394e99654eaeaf7956ae6a
29e0638aca737dd1093dac55216982b5af7d59a7 12-Aug-2011 Jesse Wilson <jessewilson@google.com> Scrub some CTS test failures.

Change-Id: Icc35a44bac6481b549a96d0533770d11aff507da
d5598fe780f71bd5de8d79e7a723683e17b8feb7 16-Apr-2011 Elliott Hughes <enh@google.com> Fix tests that have been broken since detail messages changed in the VM.

The new System.arraycopy messages are better than the old ones.

Change-Id: I044a1312257ef77e2973ea64ec32166e1227b852
11229f6af89fc54e70675fcab098b1572d6e539e 23-Feb-2011 Jesse Wilson <jessewilson@google.com> Optimize Class.getMethod() by loading only one method.

Change-Id: I546fec33ff9696a829867704244a79674cf5dd2b
http://b/3431686
6187e1bf832ebf9372e993454fbd48b1694731be 08-Dec-2010 Elliott Hughes <enh@google.com> Extra tests of our Method.invoke detail messages.

Change-Id: I8c055d5e09c49bf40033de9280f0264ef3b7e875
a365feb9c9cef4ceaa99f9265b3f1d64047e8d18 04-Dec-2010 Elliott Hughes <enh@google.com> Check that the VM gives useful detail messages for Method.invoke failures.

(It doesn't, yet, but there's a companion dalvik change to implement this.)

Change-Id: I8a5fb3e37c7c4c5dc0561c2783f98c3c6c588189
4557728efb66c455a52b7669a8eefef7a9e54854 11-Aug-2010 Jesse Wilson <jessewilson@google.com> Moving tests to be under the libcore.* package.

This is indended to make it easier to run on VMs that restrict the packages
from which application classes can be loaded. For example, on the RI you need
to use the bootclasspath to load these tests.

Change-Id: I52193f35c5fcca18b5a3e1d280505b1e29b388af