当前位置: 首页>>代码示例>>Java>>正文


Java ViewMatchers.Visibility方法代码示例

本文整理汇总了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));
}
 
开发者ID:blipinsk,项目名称:cortado,代码行数:12,代码来源:NotCompletable_Tests.java

示例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);
}
 
开发者ID:blipinsk,项目名称:cortado,代码行数:6,代码来源:Unfinished.java

示例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);
}
 
开发者ID:blipinsk,项目名称:cortado,代码行数:6,代码来源:Negated.java

示例4: withEffectiveVisibility

import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
final void withEffectiveVisibility(ViewMatchers.Visibility visibility) {
    clearCached();
    addMatcher(ViewMatchers.withEffectiveVisibility(visibility));
}
 
开发者ID:blipinsk,项目名称:cortado,代码行数:5,代码来源:Cortado.java

示例5: withEffectiveVisibility

import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
@Override
public T withEffectiveVisibility(ViewMatchers.Visibility visibility) {
    cortado.withEffectiveVisibility(visibility);
    return returned();
}
 
开发者ID:blipinsk,项目名称:cortado,代码行数:6,代码来源:NotCompletable.java

示例6: withEffectiveVisibility

import android.support.test.espresso.matcher.ViewMatchers; //导入方法依赖的package包/类
T withEffectiveVisibility(ViewMatchers.Visibility visibility); 
开发者ID:blipinsk,项目名称:cortado,代码行数:2,代码来源:Matching.java


注:本文中的android.support.test.espresso.matcher.ViewMatchers.Visibility方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。