• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "states": [
3    ["no_pv", ["chrome_user_no_pv.prop",
4               "chrome_system_no_pv.prop"]],
5    ["clean", ["chrome_user_not_installed.prop",
6               "chrome_system_not_installed.prop",
7               "chrome_user_not_inuse.prop",
8               "chrome_system_not_inuse.prop"]],
9    ["chrome_user_installed_not_inuse", ["chrome_user_installed.prop",
10                                         "chrome_system_not_installed.prop",
11                                         "chrome_user_not_inuse.prop",
12                                         "chrome_system_not_inuse.prop"]],
13    ["chrome_system_installed_not_inuse", ["chrome_user_not_installed.prop",
14                                           "chrome_system_installed.prop",
15                                           "chrome_user_not_inuse.prop",
16                                           "chrome_system_not_inuse.prop"]],
17    ["chrome_user_installed_inuse", ["chrome_user_installed.prop",
18                                     "chrome_system_not_installed.prop",
19                                     "chrome_user_inuse.prop",
20                                     "chrome_system_not_inuse.prop"]],
21    ["chrome_system_installed_inuse", ["chrome_user_not_installed.prop",
22                                       "chrome_system_installed.prop",
23                                       "chrome_user_not_inuse.prop",
24                                       "chrome_system_inuse.prop"]]
25  ],
26  "actions": [
27    ["install_chrome_user",
28     "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --do-not-launch-chrome"],
29    ["install_chrome_system",
30     "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --system-level --do-not-launch-chrome"],
31    ["launch_chrome_user",
32     "python launch_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.exe\""],
33    ["launch_chrome_system",
34     "python launch_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.exe\""],
35    ["quit_chrome_user",
36     "python quit_chrome.py \"$LOCAL_APPDATA\\$CHROME_DIR\\Application\\chrome.exe\""],
37    ["quit_chrome_system",
38     "python quit_chrome.py \"$PROGRAM_FILES\\$CHROME_DIR\\Application\\chrome.exe\""],
39    ["uninstall_chrome_user",
40     "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\""],
41    ["uninstall_chrome_system",
42     "python uninstall_chrome.py --chrome-long-name=\"$CHROME_LONG_NAME\" --system-level"]
43  ],
44  "tests": [
45    {
46      "name": "ChromeUserLevel",
47      "traversal": [
48        "no_pv",
49        "install_chrome_user", "chrome_user_installed_not_inuse",
50        "uninstall_chrome_user", "clean"
51      ]
52    },
53    {
54      "name": "ChromeSystemLevel",
55      "traversal": [
56        "no_pv",
57        "install_chrome_system", "chrome_system_installed_not_inuse",
58        "uninstall_chrome_system", "clean"
59      ]
60    }
61  ]
62}
63