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

robotium_robotium使用基础_robotium api(4)

电脑杂谈  发布时间:2017-03-14 21:02:58  来源:网络整理

Parameters:text - the text to wait for, specified as a regular expressionminimumNumberOfMatches - the minimum number of matches that are expected to be found。 0 means any number of matchestimeout - the the amount of time in milliseconds to waitReturns:true if text is displayed and false if it is not displayed before the timeoutwaitForText

public boolean waitForText(String text,                           int minimumNumberOfMatches,                           long timeout,                           boolean scroll)
Waits for the specified text to appear。Parameters:text - the text to wait for, specified as a regular expressionminimumNumberOfMatches - the minimum number of matches that are expected to be found。

0 means any number of matchestimeout - the the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if text is displayed and false if it is not displayed before the timeoutwaitForText

public boolean waitForText(String text,                           int minimumNumberOfMatches,                           long timeout,                           boolean scroll,                           boolean onlyVisible)
Waits for the specified text to appear。Parameters:text - the text to wait for, specified as a regular expressionminimumNumberOfMatches - the minimum number of matches that are expected to be found。 0 means any number of matchestimeout - the the amount of time in milliseconds to waitscroll - true if scrolling should be performedonlyVisible - true if only visible text views should be waited forReturns:true if text is displayed and false if it is not displayed before the timeoutwaitForView


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

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

    • 万嫣儿
      万嫣儿

      至于被平均的部份肯定在不你手中

    • 张栋梁
      张栋梁

      早都预料该公司要出事

    • 宇文赟
      宇文赟

      没可比性

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