@Override public void tearDown() throws Exception { UiTestUtils.goBackToHome(getInstrumentation()); solo.finishOpenedActivities(); UiTestUtils.clearAllUtilTestProjects(); super.tearDown(); }
@Override public void setUp() throws Exception { super.setUp(); UiTestUtils.clearAllUtilTestProjects(); createProject(); solo = new Solo(getInstrumentation(), getActivity()); UiTestUtils.prepareStageForTest(); UiTestUtils.getIntoScriptActivityFromMainMenu(solo); }
@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; }