Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-09-04 11:51:02 +02:00
parent 7b2ed741bd
commit 8b6171361a
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -21,17 +21,30 @@
*/
package com.owncloud.android.ui.fragment
import android.Manifest
import android.widget.ImageView
import androidx.appcompat.widget.PopupMenu
import androidx.test.espresso.intent.rule.IntentsTestRule
import androidx.test.rule.GrantPermissionRule
import com.nextcloud.client.TestActivity
import com.owncloud.android.AbstractIT
import com.owncloud.android.R
import com.owncloud.android.lib.resources.shares.OCShare
import org.junit.Rule
import org.junit.Test
class FileDetailSharingFragmentIT : AbstractIT() {
@get:Rule
val testActivityRule = IntentsTestRule(TestActivity::class.java, true, false)
@get:Rule
val permissionRule = GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE)
@Test
fun listShares_file_none() {
throw NotImplementedError()
val sut = testActivityRule.launchActivity(null)
sut.addFragment(FileDetailSharingFragment())
}
@Test