Skip to content

Register missing ETS test suites - #181

Merged
xiaomu120413 merged 1 commit into
masterfrom
codex/daily-ets-pr-scan-20260719
Jul 20, 2026
Merged

Register missing ETS test suites#181
xiaomu120413 merged 1 commit into
masterfrom
codex/daily-ets-pr-scan-20260719

Conversation

@xiaomu120413

Copy link
Copy Markdown
Collaborator

Summary

  • register auth/auth-service.behavior.test.ets in entry/src/test/List.test.ets
  • register peripheral/usb-global-policy-service.test.ets in entry/src/test/List.test.ets
  • fix dead test-suite definitions that existed in-tree but were never executed by the default test entry

Findings

  • entry/src/test/auth/auth-service.behavior.test.ets exported a valid test suite but was not imported or invoked from the aggregate entry.
  • entry/src/test/peripheral/usb-global-policy-service.test.ets exported a valid test suite but was not imported or invoked from the aggregate entry.
  • This left two scoped ETS test files effectively dormant under the default unit-test path.

Verification

  • Confirmed both suites are now imported and invoked in entry/src/test/List.test.ets.
  • Ran C:\Program Files\Huawei\DevEco Studio\tools\hvigor\bin\hvigorw.bat --no-daemon test --mode module -p product=default -p module=entry@default.
  • The unit-test build still fails on pre-existing baseline issues unrelated to this patch, including unresolved @ohos/hamock imports and multiple existing arkts-no-any-unknown errors in other test files.

Residual Risks

  • Because the repository test baseline is already red, this change was only validated structurally, not by a passing unit-test run.
  • If List.test.ets ordering is used to control side effects between suites, adding the two suites could expose existing hidden coupling during a future green test run.

Module Design Docs

  • No module design document update was needed because this patch only registers existing test suites and does not change product behavior or module acceptance scope.

@xiaomu120413
xiaomu120413 marked this pull request as ready for review July 20, 2026 02:29
@xiaomu120413
xiaomu120413 merged commit 7b25279 into master Jul 20, 2026
2 checks passed
@xiaomu120413
xiaomu120413 deleted the codex/daily-ets-pr-scan-20260719 branch July 20, 2026 02:30
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