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
1 file changed
tree: 50f1291eb66efeba2ad8768be6674360932d2f26
  1. .idea/
  2. lib/
  3. src/
  4. .gitignore
  5. .pairs
  6. .travis.yml
  7. Android.mk
  8. build.properties
  9. build.xml
  10. find-android.bat
  11. find-android.sh
  12. LICENSE.txt
  13. pom.xml
  14. README.md
  15. update-downloads.rb
README.md

Robolectric

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

Build Status

http://ci.robolectric.org