Skip to content

Commit bc1169f

Browse files
committed
Use separate test class for encrypted tests
1 parent 81b2dfb commit bc1169f

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

core-tests-android/src/androidTest/java/com/powersync/AndroidDatabaseTest.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,4 @@ class AndroidDatabaseTest {
4444

4545
@Test
4646
fun canUseTempStore() = helpers.canUseTempStore()
47-
48-
@Test
49-
fun testEncryptedDatabase() = helpers.testEncryptedDatabase()
5047
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package com.powersync
2+
3+
import com.powersync.testutils.IntegrationTestHelpers
4+
import androidx.test.ext.junit.runners.AndroidJUnit4
5+
import androidx.test.platform.app.InstrumentationRegistry
6+
import org.junit.After
7+
import org.junit.Before
8+
import org.junit.Test
9+
import org.junit.runner.RunWith
10+
11+
@RunWith(AndroidJUnit4::class)
12+
class EncryptedDatabaseTest {
13+
private val helpers = IntegrationTestHelpers(
14+
InstrumentationRegistry.getInstrumentation().targetContext
15+
)
16+
@Test
17+
fun testEncryptedDatabase() = helpers.testEncryptedDatabase()
18+
}

0 commit comments

Comments
 (0)