use of org.junit.After in project che by eclipse.
the class Rename18Test method tearDown.
@Override
@After
public void tearDown() throws Exception {
super.tearDown();
setup.tearDown();
Hashtable options = JavaCore.getOptions();
JavaCore.setOptions(options);
}
use of org.junit.After in project che by eclipse.
the class RenamePrivateFieldTest method tearDown.
@After
public void tearDown() throws Exception {
super.tearDown();
setup.tearDown();
Hashtable options = JavaCore.getOptions();
options.put(JavaCore.CODEASSIST_FIELD_PREFIXES, fPrefixPref);
JavaCore.setOptions(options);
}
use of org.junit.After in project android by owncloud.
the class RenameFileTestSuite method tearDown.
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if (fileHasBeenCreated) {
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(CurrentCreatedFile, fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
use of org.junit.After in project android by owncloud.
the class UploadTestSuite method tearDown.
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
FileListView fileListView = new FileListView(driver);
if (fileHasBeenUploadedFromGmail) {
Actions.deleteElement(FILE_GMAIL_NAME, fileListView, driver);
}
if (fileHasBeenUploaded) {
Actions.deleteElement(FILE_NAME, fileListView, driver);
Actions.deleteElement(BIG_FILE_NAME, fileListView, driver);
}
//driver.removeApp("com.owncloud.android");
driver.quit();
}
use of org.junit.After in project android by owncloud.
the class CreateFolderTestSuite method tearDown.
@After
public void tearDown() throws Exception {
common.takeScreenShotOnFailed(name.getMethodName());
if (folderHasBeenCreated) {
FileListView fileListView = new FileListView(driver);
Actions.deleteElement(CurrentCreatedFolder, fileListView, driver);
}
driver.removeApp("com.owncloud.android");
driver.quit();
}
Aggregations