1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-09-06 23:52:18 +00:00

Update comment, error handling and indentation in the automatic test

This commit is contained in:
Juan Carlos González Cabrero 2016-03-21 09:03:51 +01:00
parent 57aa370be0
commit 573afa1538

View File

@ -136,7 +136,7 @@ public class UpdatePublicShareTest extends RemoteTest {
if (result.isSuccess()){
mShare = (OCShare) result.getData().get(0);
} else{
mShare = null;
Utils.logAndThrow(LOG_TAG, result);
}
// Create the folder
@ -148,7 +148,7 @@ public class UpdatePublicShareTest extends RemoteTest {
Utils.logAndThrow(LOG_TAG, result);
}
// Share the folder privately with a group
// Share the folder publicly via link
result = getActivity().createShare(
mFullPath2FolderToShare,
ShareType.PUBLIC_LINK,
@ -160,7 +160,7 @@ public class UpdatePublicShareTest extends RemoteTest {
if (result.isSuccess()){
mFolderShare = (OCShare) result.getData().get(0);
} else{
mFolderShare = null;
Utils.logAndThrow(LOG_TAG, result);
}
Log.v(LOG_TAG, "Remote fixtures created.");