commit | b276278567ee51bf43669a5da4b55deea8e4df09 | [log] [tgz] |
---|---|---|
author | Zhihong Xu <zhihongx@google.com> | Fri Aug 02 16:49:36 2013 -0700 |
committer | Zhihong Xu <zhihongx@google.com> | Mon Aug 05 17:14:51 2013 -0700 |
tree | 50f1291eb66efeba2ad8768be6674360932d2f26 | |
parent | bd20b3c07ba0d63c0e62744eef3c90b69cd6b126 [diff] |
Fix Wallet robolectric tests, Part 1 The build server java compiler builds robolectric tests in such a way that custom shadows are added to class loader after the test classes are loaded. This causes some custom shadows to be ignored when the real classes are referenced in a test class. This and the followup CL fixed that (hopefully) by moving the addition of custom shadows forward to the constructor of WalletRoboTestRunner. Bug:10071558 Change-Id: I76745fdfcc08bdc198de8d90cf15dbabbbada7e0
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