类org.apache.cordova.test.util.Purity源码实例Demo

下面列出了怎么用org.apache.cordova.test.util.Purity的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: cordova-amazon-fireos   文件: IFrameTest.java
protected void setUp() throws Exception {
  super.setUp();
  mInstr = this.getInstrumentation();
  testActivity = this.getActivity();
  containerView = (FrameLayout) testActivity.findViewById(android.R.id.content);
  innerContainer = (LinearLayout) containerView.getChildAt(0);
  testView = (CordovaWebView) innerContainer.getChildAt(0);
  touch = new TouchUtils();
  touchTool = new Purity(testActivity, getInstrumentation());
}
 
源代码2 项目: cordova-android-chromeview   文件: IFrameTest.java
protected void setUp() throws Exception {
  super.setUp();
  mInstr = this.getInstrumentation();
  testActivity = this.getActivity();
  containerView = (FrameLayout) testActivity.findViewById(android.R.id.content);
  innerContainer = (LinearLayout) containerView.getChildAt(0);
  testView = (CordovaWebView) innerContainer.getChildAt(0);
  touch = new TouchUtils();
  touchTool = new Purity(testActivity, getInstrumentation());
}
 
源代码3 项目: cordova-android-chromeview   文件: JQMTabTest.java
protected void setUp() throws Exception {
    super.setUp();
    mInstr = this.getInstrumentation();
    testActivity = this.getActivity();
    containerView = (FrameLayout) testActivity.findViewById(android.R.id.content);
    innerContainer = (LinearLayout) containerView.getChildAt(0);
    testView = (CordovaWebView) innerContainer.getChildAt(0);
    touchTool = new Purity(testActivity, getInstrumentation());
}
 
源代码4 项目: crosswalk-cordova-android   文件: IFrameTest.java
protected void setUp() throws Exception {
  super.setUp();
  mInstr = this.getInstrumentation();
  testActivity = this.getActivity();
  containerView = (FrameLayout) testActivity.findViewById(android.R.id.content);
  innerContainer = (LinearLayout) containerView.getChildAt(0);
  testView = (CordovaWebView) innerContainer.getChildAt(0);
  touch = new TouchUtils();
  touchTool = new Purity(testActivity, getInstrumentation());
}