summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test_utils.h
diff options
context:
space:
mode:
authoramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 23:34:03 +0000
committeramit@chromium.org <amit@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 23:34:03 +0000
commit58d58c7b9d95c57f6bd9266c15fe173bb3264cc8 (patch)
treed260fae08ccaebbd32c55900ec632f344c00fe07 /chrome_frame/test_utils.h
parentdfe11e35a204afa2d0172e649f5c711cbce5158b (diff)
downloadchromium_src-58d58c7b9d95c57f6bd9266c15fe173bb3264cc8.zip
chromium_src-58d58c7b9d95c57f6bd9266c15fe173bb3264cc8.tar.gz
chromium_src-58d58c7b9d95c57f6bd9266c15fe173bb3264cc8.tar.bz2
Some input tests no longer marked flaky
For tests like CtrlW, CtrlN it's better to notice failures when they execute and not run them at all if the workstation is locked i.e. when they will certainly fail. Added a check to do exactly that :) BUG=none TESTS=CtrlR, CtrlW, CtrlN, CtrlF, AltD Review URL: http://codereview.chromium.org/4615001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test_utils.h')
-rw-r--r--chrome_frame/test_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/test_utils.h b/chrome_frame/test_utils.h
index 70284fb..e0d5c27 100644
--- a/chrome_frame/test_utils.h
+++ b/chrome_frame/test_utils.h
@@ -90,5 +90,7 @@ class DispCallback
bool KillAllNamedProcessesWithArgument(const std::wstring& process_name,
const std::wstring& argument);
+// If the workstation is locked and cannot receive user input.
+bool IsWorkstationLocked();
#endif // CHROME_FRAME_TEST_UTILS_H_