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

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

This reverts commit 9fabc88ca67ff09fe5e9fc48ff276cb5026a9867.
This commit is contained in:
David A. Velasco 2014-04-21 13:04:28 +02:00
parent 9fabc88ca6
commit d55f42b5ec
2 changed files with 3 additions and 4 deletions

View File

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

View File

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