Skip to content

Commit

Permalink
Add VisitorTest fixture for MlKitContentProvider bug (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
romtsn authored Dec 29, 2023
1 parent 9c9fdbf commit bf0e24a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ class VisitorTest(
false,
printWriter
)
assertEquals(stringWriter.toString(), "")
assertEquals(
"Instrumented class verification failed with the following exception:\n$stringWriter",
stringWriter.toString(),
""
)
}

@After
Expand Down Expand Up @@ -161,7 +165,8 @@ class VisitorTest(
arrayOf("androidxCompose", "NavHostControllerKt", ComposeNavigation(), null),
arrayOf("logcat", "LogcatTest", Logcat(), null),
arrayOf("appstart", "MyApplication", Application(), null),
arrayOf("appstart", "MyContentProvider", ContentProvider(), null)
arrayOf("appstart", "MyContentProvider", ContentProvider(), null),
arrayOf("appstart", "MlKitInitProvider", ContentProvider(), null)
)

private fun roomDaoTestParameters(suffix: String = "") = arrayOf(
Expand Down
Binary file not shown.

0 comments on commit bf0e24a

Please sign in to comment.