1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Check that tests are working with the right account by commenting teardown

This commit is contained in:
David A. Velasco 2014-04-21 12:28:08 +02:00
parent 800b04d520
commit 9fabc88ca6
2 changed files with 4 additions and 3 deletions

View File

@ -126,7 +126,7 @@ public class CreateFolderTest extends ActivityInstrumentationTestCase2<TestActiv
@Override
protected void tearDown() throws Exception {
Iterator<String> it = mCreatedFolderPaths.iterator();
/*Iterator<String> it = mCreatedFolderPaths.iterator();
RemoteOperationResult removeResult = null;
while (it.hasNext()) {
removeResult = mActivity.removeFile(it.next());
@ -134,6 +134,7 @@ public class CreateFolderTest extends ActivityInstrumentationTestCase2<TestActiv
Utils.logAndThrow(LOG_TAG, removeResult);
}
}
*/
super.tearDown();
}

View File

@ -115,12 +115,12 @@ public class UploadFileTest extends ActivityInstrumentationTestCase2<TestActivit
@Override
protected void tearDown() throws Exception {
if (mUploadedFilePath != null) {
/*if (mUploadedFilePath != null) {
RemoteOperationResult removeResult = mActivity.removeFile(mUploadedFilePath);
if (!removeResult.isSuccess()) {
Utils.logAndThrow(LOG_TAG, removeResult);
}
}
}*/
super.tearDown();
}