@Override
 public void tearDown() throws Exception {
   if (eq != null) {
     eq.tearDown();
     eq = null;
   }
   SalesforceSDKManager.getInstance().setAdditionalOauthKeys(null);
   super.tearDown();
 }
 @Override
 public void tearDown() throws Exception {
   if (eq != null) {
     eq.tearDown();
     eq = null;
   }
   MetadataManager.reset(null);
   CacheManager.hardReset(null);
   super.tearDown();
 }
Exemplo n.º 3
0
 @Override
 protected void tearDown() throws Exception {
   TestUtils.clearProject(currentProjectName);
   if (testImage != null && testImage.exists()) {
     testImage.delete();
   }
   if (testSound != null && testSound.exists()) {
     testSound.delete();
   }
   super.tearDown();
 }
  @Override
  protected void tearDown() throws Exception {
    super.tearDown();

    this.mockEntity = null;
    this.mockClient = null;
    this.responseQueue = null;
    this.exceptionQueue = null;
    this.queueingListener = null;
    this.liveConnectClient = null;
  }
 @Override
 public void tearDown() throws Exception {
   if (loginServerManager != null) {
     loginServerManager.reset();
   }
   if (eq != null) {
     eq.tearDown();
     eq = null;
   }
   super.tearDown();
 }
Exemplo n.º 6
0
  @Override
  protected void tearDown() throws Exception {
    super.tearDown();

    assertTrue(PodDBAdapter.deleteDatabase());

    final Context context = getInstrumentation().getTargetContext();
    File testDir = context.getExternalFilesDir(TEST_FOLDER);
    assertNotNull(testDir);
    for (File f : testDir.listFiles()) {
      f.delete();
    }
  }
 @Override
 protected void tearDown() throws Exception {
   if (mDevicePolicyManager.isDeviceOwnerApp(PACKAGE_NAME)
       || mDevicePolicyManager.isProfileOwnerApp(PACKAGE_NAME)) {
     mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, false);
   }
   try {
     mContext.unregisterReceiver(mBroadcastReceiver);
   } catch (IllegalArgumentException e) {
     // ignore
   }
   if (mSession != null) {
     mSession.abandon();
   }
   super.tearDown();
 }
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
   audioFocus = null;
 }
 @Override
 protected void tearDown() throws Exception {
   super.tearDown();
 }
 protected void tearDown() throws Exception {
   mm.pressBack(3);
   super.tearDown();
 }
Exemplo n.º 11
0
 @Override
 protected void tearDown() throws Exception {
   mockWebServer.shutdown();
   cacheFile.delete();
   super.tearDown();
 }
Exemplo n.º 12
0
 @Override
 protected void tearDown() throws Exception {
   UtilFile.deleteDirectory(testDirectory);
   TestUtils.deleteTestProjects(projectName);
   super.tearDown();
 }
  @Override
  protected void tearDown() throws Exception {
    super.tearDown();

    mContext.unregisterReceiver(mReceiver);
  }
Exemplo n.º 14
0
 @Override
 public void tearDown() throws Exception {
   //		ProjectManager.getInstance().setProject(currentProject);
   TestUtils.deleteTestProjects();
   super.tearDown();
 }
 @Override
 public void tearDown() throws Exception {
   super.tearDown();
 }