camera: Use the mapped volume keys instead in CCAUIVolumeShutter

After https://crrev.com/c/3343820, CCAUIVolumeShutter might try to press
"volumedown" or "volumeup" key on keyboard which does not have physical
volume keys, and cause the test to fail.

This CL changes to use the mapped volume keys so that the test can pass
on devices with keyboard that don't have physical volume keys but have
combination keys for volume control.

BUG=b:218436978
TEST=tast run [DUT] camera.CCAUIVolumeShutter

Change-Id: Iadf82e7776016a2ac4a23c23008c167b23ed6357
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3449484
Tested-by: Wei Lee <[email protected]>
Reviewed-by: Shik Chen <[email protected]>
Reviewed-by: Jeremy Bettis <[email protected]>
Commit-Queue: Wei Lee <[email protected]>
(cherry picked from commit 73aea739a09c82644d5c82f3c243b7685c8afed7)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3464759
Auto-Submit: Wei Lee <[email protected]>
Reviewed-by: Patrick Meiring <[email protected]>
Commit-Queue: Patrick Meiring <[email protected]>
1 file changed
tree: fef0b4260b2a1745a068b616345799733af8857e
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. PRESUBMIT.py
  11. README.md
  12. unblocked_terms.txt
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc