mirror of
https://github.com/schwabe/ics-openvpn.git
synced 2024-09-19 19:42:29 +02:00
Fix unit test building and running
This commit is contained in:
parent
a3607c6850
commit
42b2c8ee06
@ -13,7 +13,7 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:8.1.0")
|
||||
classpath("com.android.tools.build:gradle:8.1.1")
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ android {
|
||||
}
|
||||
|
||||
|
||||
testOptions.unitTests.isIncludeAndroidResources = true
|
||||
//testOptions.unitTests.isIncludeAndroidResources = true
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
|
@ -252,7 +252,7 @@ class TestConfigParser {
|
||||
|
||||
val c:Context = ApplicationProvider.getApplicationContext()
|
||||
val err = vp.checkProfile(c, false)
|
||||
Assert.assertTrue("Failed with " + c.getString(err), err == R.string.no_error_found)
|
||||
Assert.assertTrue("Failed with wrong error code: $err", err == R.string.no_error_found)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user