@Override
 public void tearDown() throws Exception {
   UiTestUtils.goBackToHome(getInstrumentation());
   solo.finishOpenedActivities();
   UiTestUtils.clearAllUtilTestProjects();
   super.tearDown();
 }
示例#2
0
 @Override
 protected void tearDown() throws Exception {
   UiTestUtils.goBackToHome(getInstrumentation());
   solo.finishOpenedActivities();
   ProjectManager.getInstance().deleteCurrentProject();
   UiTestUtils.clearAllUtilTestProjects();
   super.tearDown();
 }
示例#3
0
 @Override
 public void tearDown() throws Exception {
   UiTestUtils.goBackToHome(getInstrumentation());
   solo.finishOpenedActivities();
   UiTestUtils.clearAllUtilTestProjects();
   if (costumeFile.exists()) {
     costumeFile.delete();
   }
   if (costumeFile2.exists()) {
     costumeFile2.delete();
   }
   super.tearDown();
 }