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