mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-03 08:13:55 +01:00
Upgrade to Robolectric 4 (#2982)
This commit is contained in:
parent
230b9527ed
commit
67e43ef446
15 changed files with 22 additions and 21 deletions
|
|
@ -24,7 +24,7 @@ import org.robolectric.RobolectricTestRunner
|
|||
import org.robolectric.annotation.Config
|
||||
|
||||
@RunWith(RobolectricTestRunner::class)
|
||||
@Config(constants = BuildConfig::class, sdk = [21], application = TestCommonsApplication::class)
|
||||
@Config(sdk = [21], application = TestCommonsApplication::class)
|
||||
class BookMarkLocationDaoTest {
|
||||
private val columns = arrayOf(COLUMN_NAME,
|
||||
COLUMN_DESCRIPTION,
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import org.junit.Before
|
|||
import org.junit.Test
|
||||
|
||||
@RunWith(RobolectricTestRunner::class)
|
||||
@Config(constants = BuildConfig::class, sdk = [21], application = TestCommonsApplication::class)
|
||||
@Config(sdk = [21], application = TestCommonsApplication::class)
|
||||
class BookmarkPictureDaoTest {
|
||||
|
||||
private val columns = arrayOf(COLUMN_MEDIA_NAME, COLUMN_CREATOR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue