StandardActivityTest.java 文件源码

java
阅读 29 收藏 0 点赞 0 评论 0

项目:radioflow 作者:
@Test
public void startUriIntentCheck() {
    StandardActivity activity = (StandardActivity) mActivityRule.getActivity();
    final SystemWebView webView = (SystemWebView) activity.getWindow().getCurrentFocus();
    try {
        mActivityRule.runOnUiThread(new Runnable() {
            @Override
            public void run() {
                String uri = webView.getUrl();
                assertFalse(uri.equals(FALSE_URI));
            }
        });
    } catch (Throwable throwable) {
        throwable.printStackTrace();
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号