Skip to content

Instantly share code, notes, and snippets.

View xian's full-sized avatar

Christian Williams xian

  • San Francisco, CA
View GitHub Profile
@xian
xian / 00_README.md
Last active December 14, 2015 07:48 — forked from JakeWharton/ActionBarSherlockRobolectric.java
Here's the magic to get ActionBarSherlock working with Robolectric 2.0-alpha-2!

You need to add the files below, and do this once in your base test runner:

ActionBarSherlock.registerImplementation(ActionBarSherlockRobolectric.class);
ActionBarSherlock.unregisterImplementation(ActionBarSherlockNative.class);
ActionBarSherlock.unregisterImplementation(ActionBarSherlockCompat.class);