commit | 843b280670d6531a6d6c92f7b3b8fce7cc9f0290 | [log] [tgz] |
---|---|---|
author | oleksii stepanian <aste@google.com> | Thu Aug 21 17:36:37 2014 -0700 |
committer | Justin Morey <jmorey@google.com> | Wed Nov 12 18:17:12 2014 +0000 |
tree | 617b2ba63bc1f2d57470e89c7b08f059bd948cbb | |
parent | d9d53068f24c9af1a332986dd196c163b3ca897c [diff] |
Handle @null values in string-arrays Scope: - when a string-array resource has a value @null, robolectric crashes on processing it. It redundantly removes "@" from resource id which leaves only "null" value for string resource loader and leads to NPE. problem xml content addressed by this cl: <string-array name="some_name"> <item>@null</item> </string-array> Change-Id: I744a7f0b9e0cb3c6fc255a16159cd63a43bf975e (cherry picked from commit ee8ff43810b93e386dd96f5d0dab7e8501c0b9f4)
An Android Testing Framework
Robolectric can be built using either Maven or Ant. Both Eclipse (with the M2Eclipse plug-in) and IntelliJ can import the pom.xml file and will automatically generate their project files from it.
For more information about how to use Robolectric on your project, extend its functionality, and join the community of contributors, please see: http://pivotal.github.com/robolectric/index.html