show info in case of error

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2019-03-05 09:18:32 +01:00
parent 090cfb5087
commit 6ecc023708
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7
2 changed files with 6 additions and 6 deletions

View file

@ -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());

View file

@ -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());