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()); }
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()); }