mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
show info in case of error
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
090cfb5087
commit
6ecc023708
2 changed files with 6 additions and 6 deletions
|
@ -29,7 +29,7 @@ public class FileIT extends AbstractIT {
|
|||
SyncOperation syncOp = new CreateFolderOperation(path, true);
|
||||
RemoteOperationResult result = syncOp.execute(client, getStorageManager());
|
||||
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// folder exists
|
||||
assertTrue(getStorageManager().getFileByPath(path).isFolder());
|
||||
|
@ -46,7 +46,7 @@ public class FileIT extends AbstractIT {
|
|||
|
||||
SyncOperation syncOp = new CreateFolderOperation(path, true);
|
||||
RemoteOperationResult result = syncOp.execute(client, getStorageManager());
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// folder exists
|
||||
assertTrue(getStorageManager().getFileByPath(path).isFolder());
|
||||
|
|
|
@ -28,7 +28,7 @@ public class UploadIT extends AbstractIT {
|
|||
|
||||
RemoteOperationResult result = testUpload(ocUpload);
|
||||
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// cleanup
|
||||
new RemoveFileOperation("/testUpload/", false, account, false, context).execute(client, getStorageManager());
|
||||
|
@ -41,7 +41,7 @@ public class UploadIT extends AbstractIT {
|
|||
|
||||
RemoteOperationResult result = testUpload(ocUpload);
|
||||
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// cleanup
|
||||
new RemoveFileOperation("/testUpload/", false, account, false, context).execute(client, getStorageManager());
|
||||
|
@ -54,7 +54,7 @@ public class UploadIT extends AbstractIT {
|
|||
|
||||
RemoteOperationResult result = testUpload(ocUpload);
|
||||
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// cleanup
|
||||
new RemoveFileOperation("/testUpload/", false, account, false, context).execute(client, getStorageManager());
|
||||
|
@ -101,7 +101,7 @@ public class UploadIT extends AbstractIT {
|
|||
newUpload.setRemoteFolderToBeCreated();
|
||||
|
||||
RemoteOperationResult result = newUpload.execute(client, getStorageManager());
|
||||
assertTrue(result.isSuccess());
|
||||
assertTrue(result.toString(), result.isSuccess());
|
||||
|
||||
// cleanup
|
||||
new RemoveFileOperation("/testUpload/", false, account, false, context).execute(client, getStorageManager());
|
||||
|
|
Loading…
Reference in a new issue