Skip to content

Instantly share code, notes, and snippets.

View justinmuller's full-sized avatar

Justin Muller justinmuller

  • Uber
  • Calgary, Canada
View GitHub Profile
@justinmuller
justinmuller / 00_README.md
Last active December 31, 2015 18:09 — forked from xian/00_README.md
Test code that uses ActionBarSherlock with Robolectric 2.2+

You need to add the files below, and do this in @Before (as mentioned in https://gist.github.com/marsucsb/6059760)

ActionBarSherlock.registerImplementation(ActionBarSherlockRobolectric.class);
ActionBarSherlock.unregisterImplementation(ActionBarSherlockNative.class);
ActionBarSherlock.unregisterImplementation(ActionBarSherlockCompat.class);
@justinmuller
justinmuller / gist:5043143
Last active December 14, 2015 06:29
Enable assertions on Android device
./adb shell setprop debug.assert 1