Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run accessibility checks after each screenshot #575

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Merge branch 'refs/heads/main' into each_screenshot
# Conflicts:
#	sample-android/src/test/java/com/github/takahirom/roborazzi/sample/ComposeA11yWithCustomCheckTest.kt
yschimke committed Nov 24, 2024
commit 64c1ac92620a5ef6080d37521966a6e2651a0744
Original file line number Diff line number Diff line change
@@ -167,7 +167,7 @@ class CustomAccessibilityHierarchyCheckResult(
metadata: ResultMetadata?
) : AccessibilityHierarchyCheckResult(checkClass, type, element, resultId, metadata) {
override fun getMessage(locale: Locale?): CharSequence =
(checkClass.newInstance()).getMessageForResult(locale, this)
(checkClass.getDeclaredConstructor().newInstance()).getMessageForResult(locale, this)
}

abstract class CustomAccessibilityHierarchyCheck(
You are viewing a condensed version of this merge commit. You can view the full changes here.