Skip to content

TestAppContext and Parser in PkgUtil for Android - #608

Merged
Nathan (hydraxman) merged 2 commits into
llmfrom
shbu/llm/app-context
Oct 9, 2023
Merged

Nathan (hydraxman) merged 2 commits into
llmfrom
shbu/llm/app-context

Conversation

@hydraxman

@hydraxman Nathan (hydraxman) commented Oct 9, 2023 •

Copy link
Copy Markdown
Member

Description

Added a new TestAppContext class to store all the test app information, and it could act as the context for a test run. Also leverage the APK-parser and PkgUtil and dom to get app component information, serving as the test coverage compute base.

Besides:

  • fix many warnings in PkgUtil regarding IO closing and redundant value init.

Linked GitHub issue ID:

Pull Request Checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Code compiles correctly with all tests are passed.
  • I've read the contributing guide and followed the recommended practices.
  • Wikis or README have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

If this introduces a breaking change for Hydra Lab users, please describe the impact and migration path.

  • Yes
  • No

How you tested it

Please make sure the change is tested, you can test it by adding UTs, do local test and share the screenshots, etc.

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Technical design
  • Build related changes
  • Refactoring (no functional changes, no api changes)
  • Code style update (formatting, renaming) or Documentation content changes
  • Other (please describe):

Feature UI screenshots or Technical design diagrams

If this is a relatively large or complex change, kick it off by drawing the tech design with PlantUML and explaining why you chose the solution you did and what alternatives you considered, etc...

@hydraxman Nathan (hydraxman) changed the title Shbu/llm/app context TestAppContext and Parser in PkgUtil Oct 9, 2023
@hydraxman Nathan (hydraxman) changed the title TestAppContext and Parser in PkgUtil TestAppContext and Parser in PkgUtil for Android Oct 9, 2023
@hydraxman
Nathan (hydraxman) merged commit f29e1a2 into llm Oct 9, 2023
@hydraxman
Nathan (hydraxman) deleted the shbu/llm/app-context branch October 9, 2023 15:50
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