docking8,9: Add test to plug, unplug & flip the dock

Unable to stress test this script. Already file a bug. (b:303365003)

BUG=b:303332897
FIXED=b:303332897
TEST=tast run -var=DockingID=1912901 -var=ExtDispID=2007901
-var=EthernetID=j45sw01 -var=USBTypeAIDArray=2001901,2001902 <DUT>
wwcb.PlugUnplugFlipDock.*

Change-Id: Id29db81ca1c4bb779f04ef5c3a1200554e454735
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/4907463
Tast-Review: Eric Caruso <ejcaruso@chromium.org>
Auto-Submit: Newman Liu <newmanliu19020@allion.corp-partner.google.com>
Reviewed-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Frank Lin <flin@google.com>
Tested-by: Newman Liu <newmanliu19020@allion.corp-partner.google.com>
Commit-Queue: Frank Lin <flin@google.com>
1 file changed
tree: 946eb0a26dcb74f176ab2239f4b606ab28ec6085
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. DIR_METADATA
  8. LICENSE
  9. OWNERS
  10. OWNERS.tast
  11. PRESUBMIT.cfg
  12. PRESUBMIT.py
  13. README.md
  14. 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/go.chromium.org/tast-tests/cros/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard ChromeOS 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 ChromeOS 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