Skip to content

Commit 74a89ae

Browse files
committed
useV2
Signed-off-by: alperozturk <[email protected]>
1 parent d3e30e7 commit 74a89ae

File tree

4 files changed

+0
-132
lines changed

4 files changed

+0
-132
lines changed

library/src/androidTest/java/com/owncloud/android/lib/resources/shares/CreateShareRemoteOperationIT.kt

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ package com.owncloud.android.lib.resources.shares
99

1010
import com.owncloud.android.AbstractIT
1111
import com.owncloud.android.lib.resources.files.CreateFolderRemoteOperation
12-
import com.owncloud.android.lib.resources.shares.attributes.ShareAttributes
13-
import com.owncloud.android.lib.resources.shares.attributes.ShareAttributesJsonHandler
1412
import com.owncloud.android.lib.resources.status.GetStatusRemoteOperation
1513
import com.owncloud.android.lib.resources.status.NextcloudVersion
1614
import com.owncloud.android.lib.resources.status.OwnCloudVersion
@@ -32,23 +30,6 @@ class CreateShareRemoteOperationIT : AbstractIT() {
3230
Assume.assumeTrue(ownCloudVersion?.isNewerOrEqual(NextcloudVersion.nextcloud_24) == true)
3331
}
3432

35-
@Test
36-
fun createShareWithNoteAndAttributes() {
37-
val attributes = listOf(
38-
ShareAttributes.createDownloadAttributes(
39-
true,
40-
ownCloudVersion?.isNewerOrEqual(NextcloudVersion.nextcloud_30) == true
41-
)
42-
)
43-
val note = "Note with attributes"
44-
val path = "/shareWithAttributes/"
45-
46-
createFolder(path)
47-
val share = createShare(path, "admin", note, ShareAttributesJsonHandler.toJson(attributes))
48-
assertEquals(note, share.note)
49-
assertEquals(attributes, ShareAttributesJsonHandler.toList(share.attributes))
50-
}
51-
5233
@Test
5334
fun createShareWithNote() {
5435
val note = "This is the note"

library/src/main/java/com/owncloud/android/lib/resources/shares/attributes/ShareAttributes.kt

Lines changed: 0 additions & 41 deletions
This file was deleted.

library/src/main/java/com/owncloud/android/lib/resources/shares/attributes/ShareAttributesDeserializer.kt

Lines changed: 0 additions & 36 deletions
This file was deleted.

library/src/main/java/com/owncloud/android/lib/resources/shares/attributes/ShareAttributesJsonHandler.kt

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)