History log of /external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ResourceReferenceResolver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ccec71c50d3d92bc89a73ef2dac7b18909ffb1e2 22-Nov-2013 Jon Boekenoogen <jboekeno@google.com> Fix resource loading issue.

Once robolectric tests are run with PanoSetupLib resources it
crashes with a NumberFormatException. This is caused by the
resource loader having the assumption that resources that
are referenced must be of the same type.

Such as:
<dimen name="foo">10dp</dimen>
<dimen name="bar">@dimen/foo</dimen>

However, the following case crashes (and is valid):
<integer name="foo">30dp</integer>
<dimen name="bar">@integer/foo</dimen>

This change explicitly allowed dimen resources to reference dimen
resources and integer resources.

Probably wouldn't need this change if we moved to v2 which uses
AOSP code for resource loading, but haven't had time to work on
the migration.

Change-Id: I726f69bd5740f31b7d9f1ae863a8792d764f3ee3
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ResourceReferenceResolver.java
28dc94ecb7ac94834b97e3f6be778b3f2bb734fd 11-Aug-2011 Jesse Toth & Tim Labeeuw <pair+jesse+tim@pivotallabs.com> String and color resources properly namespaced with android:X/Y
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ResourceReferenceResolver.java
4ac725f9b4cebbf46805fc5e9b2f0eaf3fdd9b29 22-Dec-2010 Christian Williams <pair+xian@pivotallabs.com> Rearrange source tree to follow maven conventions.
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ResourceReferenceResolver.java