Skip to content

Android: unit tests for package install codepaths - #50

Closed
ofalvai wants to merge 6 commits into
ios-apply-patchesfrom
android-package-install-tests
Closed

Android: unit tests for package install codepaths#50
ofalvai wants to merge 6 commits into
ios-apply-patchesfrom
android-package-install-tests

Conversation

@ofalvai

@ofalvai ofalvai commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Stack created with GitHub Stacks CLIGive Feedback 💬

…#46)

Add a scenario that calls sync() twice with ON_NEXT_RESTART, without any
restart in between, and assert both calls report UPDATE_INSTALLED. This
covers the case getUpdateMetadata()/getCurrentPackage().isPending must
reflect a still-pending install, which was silently broken by the
attachLocalPackageMethods regression (see PR #39 review comment).
@ofalvai ofalvai changed the title android package install tests Android: unit tests for package install codepaths Aug 31, 2026
* Fix missing hash verification

* Simplify hash handling in test harness
* Test coverage for codesigned updates

* Don't duplicate public key in tests
@ofalvai
ofalvai force-pushed the android-package-install-tests branch 2 times, most recently from fa64548 to c6ce5a2 Compare September 3, 2026 10:46
@ofalvai
ofalvai force-pushed the android-package-install-tests branch from c6ce5a2 to 1794c83 Compare September 4, 2026 07:09
@ofalvai ofalvai closed this Sep 4, 2026
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