mirror of
https://github.com/nextcloud/android.git
synced 2024-12-18 23:11:58 +03:00
Fix tests error for arbitraryDataProvider
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
22b0f79fcc
commit
fa6ab17192
1 changed files with 89 additions and 97 deletions
|
@ -28,7 +28,6 @@ import com.nextcloud.test.RandomStringGenerator
|
|||
import com.nextcloud.test.RetryTestRule
|
||||
import com.owncloud.android.AbstractIT
|
||||
import com.owncloud.android.AbstractOnServerIT
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProvider
|
||||
import com.owncloud.android.datamodel.ArbitraryDataProviderImpl
|
||||
import com.owncloud.android.datamodel.OCFile
|
||||
import com.owncloud.android.datamodel.e2e.v2.decrypted.DecryptedFolderMetadataFile
|
||||
|
@ -62,7 +61,6 @@ import com.owncloud.android.utils.FileStorageUtils
|
|||
import junit.framework.TestCase
|
||||
import org.junit.Assume
|
||||
import org.junit.Before
|
||||
import org.junit.BeforeClass
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
import java.io.File
|
||||
|
@ -799,14 +797,9 @@ class EndToEndRandomIT : AbstractOnServerIT() {
|
|||
)
|
||||
}
|
||||
|
||||
companion object {
|
||||
private var arbitraryDataProvider: ArbitraryDataProvider? = null
|
||||
|
||||
@JvmStatic
|
||||
@BeforeClass
|
||||
@Before
|
||||
@Throws(Exception::class)
|
||||
fun initClass() {
|
||||
arbitraryDataProvider = ArbitraryDataProviderImpl(targetContext)
|
||||
createKeys()
|
||||
}
|
||||
|
||||
|
@ -903,4 +896,3 @@ class EndToEndRandomIT : AbstractOnServerIT() {
|
|||
return "1 2 3 4 5 6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue