예제 #1
0
 @Override
 public void tearDown() throws Exception {
   UiTestUtils.goBackToHome(getInstrumentation());
   solo.finishOpenedActivities();
   UiTestUtils.clearAllUtilTestProjects();
   super.tearDown();
 }
예제 #2
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   UiTestUtils.clearAllUtilTestProjects();
   createProject();
   solo = new Solo(getInstrumentation(), getActivity());
   UiTestUtils.prepareStageForTest();
   UiTestUtils.getIntoScriptActivityFromMainMenu(solo);
 }
예제 #3
0
 @Override
 public void tearDown() throws Exception {
   UiTestUtils.goBackToHome(getInstrumentation());
   solo.finishOpenedActivities();
   UiTestUtils.clearAllUtilTestProjects();
   if (lookFile.exists()) {
     lookFile.delete();
   }
   if (lookFile2.exists()) {
     lookFile2.delete();
   }
   super.tearDown();
   solo = null;
 }