下面列出了org.hamcrest.Matchers#any ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
@Override
public Matcher<View> getConstraints() {
return Matchers.any(View.class);
}
@Override
public Matcher<View> getConstraints() {
return Matchers.any(View.class);
}
/** Match {@link LogRecord} instances containing the specified message substring. */
public static LogRecordMatcher hasLog(String substring) {
return new LogRecordMatcher(Matchers.any(Level.class), substring);
}
@Override
public Matcher<View> getConstraints() {
return Matchers.any(View.class);
}