private void setupData() { URLs.setBaseBlockURL(TestConstants.BLOCK_URL); UITestHelper.disableBugReporting(QabelBoxApplication.getInstance().getApplicationContext()); mActivity = mActivityTestRule.getActivity(); mBoxHelper = new UIBoxHelper(QabelBoxApplication.getInstance()); mBoxHelper.bindService(QabelBoxApplication.getInstance()); mBoxHelper.createTokenIfNeeded(false); mBoxHelper.addIdentity("share"); }
@After public void cleanUp() { wakeLock.release(); mSystemAnimations.enableAll(); mBoxHelper.unbindService(QabelBoxApplication.getInstance()); }