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:
parent
9fabc88ca6
commit
d55f42b5ec
@ -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,7 +134,6 @@ public class CreateFolderTest extends ActivityInstrumentationTestCase2<TestActiv
|
||||
Utils.logAndThrow(LOG_TAG, removeResult);
|
||||
}
|
||||
}
|
||||
*/
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user