This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Custom Espresso matchers. Includes image drawable matching. | |
*/ | |
public class CustomMatchers { | |
public static Matcher<View> withBackground(final int resourceId) { | |
return new TypeSafeMatcher<View>() { | |
@Override | |
public boolean matchesSafely(View view) { | |
return sameBitmap(view.getContext(), view.getBackground(), resourceId); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, I don't know why.....but my solution at the moment | |
cd /usr/local | |
$ git remote -v | |
origin https://github.com/mxcl/homebrew.git (fetch) | |
origin https://github.com/mxcl/homebrew.git (push) | |
$ brew doctor -d | |
# hangs,stalling, no respond |