本文整理汇总了Java中android.support.test.espresso.matcher.ViewMatchers.Visibility方法的典型用法代码示例。如果您正苦于以下问题:Java ViewMatchers.Visibility方法的具体用法?Java ViewMatchers.Visibility怎么用?Java ViewMatchers.Visibility使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android.support.test.espresso.matcher.ViewMatchers
的用法示例。
在下文中一共展示了ViewMatchers.Visibility方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: withEffectiveVisibility_addsCorrectMatcher
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
@Test
public void withEffectiveVisibility_addsCorrectMatcher() {
//given
ViewMatchers.Visibility testVisibility = ViewMatchers.Visibility.GONE;
//when
notCompletable.withEffectiveVisibility(testVisibility);
//then
assertExpectedAddedMatcher(ViewMatchers.withEffectiveVisibility(testVisibility));
}
示例2: withEffectiveVisibility
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
@IdeSuggestion
@Override
public final Cortado.Or.Matcher withEffectiveVisibility(ViewMatchers.Visibility visibility) {
return super.withEffectiveVisibility(visibility);
}
示例3: withEffectiveVisibility
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
@IdeSuggestion
@Override
public final Cortado.OrAnd.Matcher withEffectiveVisibility(ViewMatchers.Visibility visibility) {
return super.withEffectiveVisibility(visibility);
}
示例4: withEffectiveVisibility
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
final void withEffectiveVisibility(ViewMatchers.Visibility visibility) {
clearCached();
addMatcher(ViewMatchers.withEffectiveVisibility(visibility));
}
示例5: withEffectiveVisibility
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
@Override
public T withEffectiveVisibility(ViewMatchers.Visibility visibility) {
cortado.withEffectiveVisibility(visibility);
return returned();
}
示例6: withEffectiveVisibility
import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
T withEffectiveVisibility(ViewMatchers.Visibility visibility);