Skip to content

Commit

Permalink
Add (Robolectric 4.12.2+) to the warning text recommending 'robolectr…
Browse files Browse the repository at this point in the history
…ic.pixelCopyRenderMode = hardware'
  • Loading branch information
takahirom committed Jul 9, 2024
1 parent c2b9b27 commit a7984d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private fun verifyTestConfig(
}
""".trimIndent()
logger.warn(
"Roborazzi: Please set 'robolectric.pixelCopyRenderMode = hardware' in the 'testOptions' block in the 'build.gradle' file. " +
"Roborazzi: Please set 'robolectric.pixelCopyRenderMode = hardware' (Robolectric 4.12.2+) in the 'testOptions' block in the 'build.gradle' file. " +
"This is advisable to avoid issues with the fidelity of the images.\n" +
"Please refer to 'https://github.com/takahirom/roborazzi?tab=readme-ov-file#q-the-images-taken-from-roborazzi-seem-broken' for more information.\n" +
"Example:\n$example"
Expand Down

0 comments on commit a7984d0

Please sign in to comment.