Skip to content

Instantly share code, notes, and snippets.

Avatar

Christian Williams xian

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

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);
You can’t perform that action at this time.