-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dPWA Testing] Upgrade test script to support multiple arguments
This patch updates the dPWA testing framework script to allow for multiple arguments in the CUJ actions. Behavior changes: * Actions not specify a list of argument (or enumeration) types. * These types are defined in a new sheet titled "Enums" with values. * Parameterized actions have a new format to specify the output action, where it uses bash argument syntax ($1 for the first arg, $2 for the second, etc) to forward arguments of the parameterized action to the output actions. This change does not affect the tests themselves or coverage, and should be a no-op for test generation. Future changes: * After this change has landed, the current cpp method call of MethodName("Argument") can change to be MethodName(ArgType::kArg), providing a much better coding interface to work with. Bug: 1310428 Change-Id: I2d6271e08ad2d19b2d4c2dd6ac87df9fe4c8b02d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3553829 Reviewed-by: Phillis Tang <phillis@chromium.org> Commit-Queue: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/main@{#986982}
- Loading branch information
Showing
37 changed files
with
1,234 additions
and
933 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#Enum Name Values (* = default) | ||
Site SiteA* SiteB SiteC SiteAFoo SiteABar | ||
InstallableSite SiteA* SiteB SiteAFoo SiteABar | ||
Title SiteA SiteAUpdated | ||
Color Red Green | ||
ProfileClient Client2* Client1 | ||
UserDisplayMode Standalone Browser | ||
HasShortcuts Shortcuts NoShortcuts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.