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

项目: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());
}
项目: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());
}
项目: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());
}
项目:xface-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());
}
项目: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());
}