Skip to content

Commit

Permalink
Fix unit test building and running
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe committed Aug 26, 2023
1 parent a3607c6 commit 42b2c8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
Expand Down
2 changes: 1 addition & 1 deletion main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ android {
}


testOptions.unitTests.isIncludeAndroidResources = true
//testOptions.unitTests.isIncludeAndroidResources = true

externalNativeBuild {
cmake {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42b2c8e

Please sign in to comment.