Example #1
0
 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");
 }
Example #2
0
  @After
  public void cleanUp() {

    wakeLock.release();
    mSystemAnimations.enableAll();
    mBoxHelper.unbindService(QabelBoxApplication.getInstance());
  }