b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

robotium_robotium使用基础_robotium api(5)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理
public boolean waitForView(int id)
Waits for a View matching the specified resource id。

Default timeout is 20 seconds。Parameters:id - the R。id of the View to wait forReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView

public boolean waitForView(int id,                           int minimumNumberOfMatches,                           int timeout)
Waits for a View matching the specified resource id。Parameters:id - the R。id of the View to wait forminimumNumberOfMatches - the minimum number of matches that are expected to be found。 0 means any number of matchestimeout - the amount of time in milliseconds to waitReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView
public boolean waitForView(int id,                           int minimumNumberOfMatches,                           int timeout,                           boolean scroll)
Waits for a View matching the specified resource id。

Parameters:id - the R。id of the View to wait forminimumNumberOfMatches - the minimum number of matches that are expected to be found。 0 means any number of matchestimeout - the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView

public  boolean waitForView(Class viewClass)
Waits for a View matching the specified class。 Default timeout is 20 seconds。Parameters:viewClass - the View class to wait forReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-5.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 乔小亮
      乔小亮

      果然是美国带着日韩玩

    • 崔禹锡
      崔禹锡

      无论是民间还是当官的都滋长了一种戾气

    • 李炎
      李炎

      说北洋海军实力当时亚洲第一

    热点图片
    拼命载入中...