0
0
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:
Arne Schwabe 2023-08-26 18:23:02 +02:00
parent a3607c6850
commit 42b2c8ee06
3 changed files with 3 additions and 3 deletions

View File

@ -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")
}
}

View File

@ -37,7 +37,7 @@ android {
}
testOptions.unitTests.isIncludeAndroidResources = true
//testOptions.unitTests.isIncludeAndroidResources = true
externalNativeBuild {
cmake {

View File

@ -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