History log of /external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fec7276299b950a8831ead9a9756d27e0fc60560 23-Jan-2015 Andrew Yousef <ayousef@crittercism.com> Issue: ProxyBuilder.getMethodsToProxyRecursive() was not returning list of methods in deterministic order.

RCA: In order to determine which methods to proxy, ProxyBuilder populates hash sets of MethodSetEntry instances. This prevents duplicate entries for methods from occurring. Since the hash set is unordered and the resulting list returned by ProxyBuilder.getMethodsToProxyRecursive() is built from the hash set, the order of the list is non-deterministic.

Fix: After building the list, sort it by Method.toString(), which contains all of the information in a method's signature.

(cherry picked from commit 623897d6063d626d5afc0ed5f3231244acf363b9)

Bug: 21031230

(cherry picked from commit 8d53a06d10c6e2b96be6857aede5e4661804611e)

Change-Id: Ifb43e08befed714ceaec048186665821b0811402
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
054604d4c95cb530bea955718d79dbe3dc0962cf 12-Mar-2015 Andrew Yousef <ayousef@crittercism.com> Modified DexMaker to reuse existing class files whenever possible. Modified ProxyBuilder to use a nested directory structure with versioning information.

(cherry picked from commit 88268135e2f33e1c2131bca22b4ca75029723838)

Change-Id: Ic81cbb43ecbc97b1b43bce4abb7511a22fd6e131
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
95689a700bfea5e2d78380a442fc2903cc40a3f2 12-Oct-2012 Mark Brophy <mbrophy@google.com> Update to latest dexmaker.

This fixes the bug below which prevented mocking of any ViewGroup
extension.
https://code.google.com/p/dexmaker/issues/detail?id=12

Change-Id: I459fb259244476b89b9a4b50c6a6cf88f2e1f2f6
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
1af1da6af1f59f0bc1f9d048f31279ce5e614c3d 13-Jan-2012 Jesse Wilson <jessewilson@google.com> Two new features for ProxyBuilder:
- generate a proxy class directly (with no instance). This is for Mockito. I'm not 100% convinced on this one yet.
- generate implemented interfaces.

Also fix some bugs with covariant return types. We had bugs when two methods had the same name and parameters but different return types.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
b4fdb175545f178c642194bc43a3fad31af3f0e9 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Fix build on a JVM.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
31c34ef392ca364c845f71b4cc8f84de2739426b 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Fill in unimplemented caching tests.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
2e28a229885e9ba7fec9ef42cbf30fdcf8a0c939 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Implement a cache for proxy classes.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
ab220f004db90fa94ef9349ca1adde5f89012e8d 05-Jan-2012 Jesse Wilson <jessewilson@google.com> Rename DexGenerator to DexMaker.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java
1977585657cb304a9e1ffa8a2320fa8053a7383c 03-Jan-2012 Jesse Wilson <jessewilson@google.com> Move ProxyBuilder to the .stock subpackage (better names welcome) and kill DexCacheException.
/external/dexmaker/src/test/java/com/google/dexmaker/stock/ProxyBuilderTest.java