この1つは有用であろうかどうかは知りませんが、:から撮影
public static Matcher<Object> withListItemCheck(final <Type> check_value) {
checkNotNull(check_value);
return new BoundedMatcher<Object, <List_Item_class>>(<List_Item_class>.class) {
private String m_message = "";
@Override
public void describeTo(Description d) {
d.appendText(m_message);
}
@Override
public boolean matchesSafely(<List_Item_class> listItem) {
m_message = "Expected " + listItem+ " and got ";
if (listItem== null) {
m_message += "empty";
return false;
}
return <assertion to check `check_value` is corresponding to `listItem` or not>;
}
};
}
:accessing children in custom expandablelist using android espresso
は、[アクセス子供の
可能な複製を助けることを願っていますアンドロイドエスプレッソを使用してカスタムexpandablelist](http://stackoverflow.com/questions/27220612/accessing-children-in-custom-expandablelist-using-android-espresso) – piotrek1543