diff options
author | jcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 19:59:31 +0000 |
---|---|---|
committer | jcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-04 19:59:31 +0000 |
commit | 856ac4b39c729d184511244ebe0349e99e89879e (patch) | |
tree | 20122d9151d1971918333ba8eb2df0c5eca4f139 /chrome/test/automation/browser_proxy.h | |
parent | b33452302702b3915e1110dae72fc8a746b3358c (diff) | |
download | chromium_src-856ac4b39c729d184511244ebe0349e99e89879e.zip chromium_src-856ac4b39c729d184511244ebe0349e99e89879e.tar.gz chromium_src-856ac4b39c729d184511244ebe0349e99e89879e.tar.bz2 |
Added testing of Chromium dialogs to the automated ui tests.
The new dialog command fires up a dialog (chosen randomly) and exercises it.
BUG=None
TEST=Run the automated_ui_test
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.h')
-rw-r--r-- | chrome/test/automation/browser_proxy.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/automation/browser_proxy.h b/chrome/test/automation/browser_proxy.h index 469b377..17d7385 100644 --- a/chrome/test/automation/browser_proxy.h +++ b/chrome/test/automation/browser_proxy.h @@ -157,6 +157,11 @@ class BrowserProxy : public AutomationResourceProxy { // reference build. bool GetHWND(HWND* handle) const; + // Run the specified command in the browser (see browser_commands.cc for the + // list of supported commands). Returns true if the command was successfully + // executed, false otherwise. + bool RunCommand(int browser_command) const; + private: DISALLOW_EVIL_CONSTRUCTORS(BrowserProxy); }; |