Skip to content

test: verify Arabic highlighting on Android runtime - #6

Merged
Khalid567-CPU merged 3 commits into
developfrom
test/android-highlighter-instrumentation
Aug 2, 2026
Merged

test: verify Arabic highlighting on Android runtime#6
Khalid567-CPU merged 3 commits into
developfrom
test/android-highlighter-instrumentation

Conversation

@Khalid567-CPU

Copy link
Copy Markdown
Owner

Summary

Adds connected-device instrumentation coverage for ArabicHighlighter before publishing ArabicKit 0.2.0.

Included

  • Configures AndroidJUnitRunner for :arabickit.
  • Adds AndroidX instrumentation-test dependencies.
  • Adds ArabicHighlighterInstrumentedTest.
  • Verifies two yellow BackgroundColorSpan instances.
  • Verifies that normalized search results map back to the expected original Arabic substrings, including diacritics and tatweel.

Required device verification

Run on a connected physical Android device:

.\gradlew.bat :arabickit:connectedDebugAndroidTest --no-daemon --console=plain --no-configuration-cache

This PR remains a draft until the connected test passes on the physical device.

Closes #5

@Khalid567-CPU Khalid567-CPU left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Physical-device verification completed successfully on Infinix X6528 (Android 13): 1 instrumentation test passed. Final local verification also passed with connectedDebugAndroidTest, verifyFoundation, and :arabickit:assembleRelease; exit code 0 and clean working tree. GitHub Actions run #12 passed.

@Khalid567-CPU
Khalid567-CPU marked this pull request as ready for review August 2, 2026 20:01
@Khalid567-CPU
Khalid567-CPU merged commit 671ff63 into develop Aug 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant