Loading src/com/owncloud/android/lib/resources/users/RemoteGetUserQuotaOperation.java +2 −3 Original line number Diff line number Diff line /* ownCloud Android Library is available under MIT license /* Nextcloud Android Library is available under MIT license * * Copyright (C) 2016 Nextcloud * Copyright (C) 2015 ownCloud Inc. * Copyright (C) 2015 Bartosz Przybylski * Copyright (C) 2014 Marcello Steiner Loading Loading @@ -136,6 +137,4 @@ public class RemoteGetUserQuotaOperation extends RemoteOperation { private boolean isSuccess(int status) { return (status == HttpStatus.SC_OK); } } test_client/tests/src/com/owncloud/android/lib/test_project/test/GetUserQuotaTest.java +2 −5 Original line number Diff line number Diff line /* ownCloud Android Library is available under MIT license /* Nextcloud Android Library is available under MIT license * * Copyright (C) 2016 Nextcloud * Copyright (C) 2015 ownCloud Inc. * Copyright (C) 2015 Bartosz Przybylski * Loading Loading @@ -40,11 +41,9 @@ import com.owncloud.android.lib.resources.files.*; * Class to test Get User Quota * * @author Bartosz Przybylski * */ public class GetUserQuotaTest extends RemoteTest { private static final String LOG_TAG = GetUserQuotaTest.class.getCanonicalName(); /* Files to download. These files must exist on the account */ Loading @@ -58,7 +57,6 @@ public class GetUserQuotaTest extends RemoteTest { private String mDownloadedFilePath; private TestActivity mActivity; @Override protected void setUp() throws Exception { super.setUp(); Loading @@ -77,5 +75,4 @@ public class GetUserQuotaTest extends RemoteTest { assertTrue(quota.getUsed() >= 0); assertTrue(quota.getTotal() > 0); } } Loading
src/com/owncloud/android/lib/resources/users/RemoteGetUserQuotaOperation.java +2 −3 Original line number Diff line number Diff line /* ownCloud Android Library is available under MIT license /* Nextcloud Android Library is available under MIT license * * Copyright (C) 2016 Nextcloud * Copyright (C) 2015 ownCloud Inc. * Copyright (C) 2015 Bartosz Przybylski * Copyright (C) 2014 Marcello Steiner Loading Loading @@ -136,6 +137,4 @@ public class RemoteGetUserQuotaOperation extends RemoteOperation { private boolean isSuccess(int status) { return (status == HttpStatus.SC_OK); } }
test_client/tests/src/com/owncloud/android/lib/test_project/test/GetUserQuotaTest.java +2 −5 Original line number Diff line number Diff line /* ownCloud Android Library is available under MIT license /* Nextcloud Android Library is available under MIT license * * Copyright (C) 2016 Nextcloud * Copyright (C) 2015 ownCloud Inc. * Copyright (C) 2015 Bartosz Przybylski * Loading Loading @@ -40,11 +41,9 @@ import com.owncloud.android.lib.resources.files.*; * Class to test Get User Quota * * @author Bartosz Przybylski * */ public class GetUserQuotaTest extends RemoteTest { private static final String LOG_TAG = GetUserQuotaTest.class.getCanonicalName(); /* Files to download. These files must exist on the account */ Loading @@ -58,7 +57,6 @@ public class GetUserQuotaTest extends RemoteTest { private String mDownloadedFilePath; private TestActivity mActivity; @Override protected void setUp() throws Exception { super.setUp(); Loading @@ -77,5 +75,4 @@ public class GetUserQuotaTest extends RemoteTest { assertTrue(quota.getUsed() >= 0); assertTrue(quota.getTotal() > 0); } }