Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4742)

Unified Diff: chrome/test/chromedriver/commands_unittest.cc

Issue 11639019: [chromedriver] Implement SwitchToFrame command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/chromedriver/commands.cc ('k') | chrome/test/chromedriver/dom_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/commands_unittest.cc
diff --git a/chrome/test/chromedriver/commands_unittest.cc b/chrome/test/chromedriver/commands_unittest.cc
index 52ac0ee4edf4372aeadc63259eeba0218666991d..e5d2051aa9208959e6ef320f713a092a89393d59 100644
--- a/chrome/test/chromedriver/commands_unittest.cc
+++ b/chrome/test/chromedriver/commands_unittest.cc
@@ -30,15 +30,23 @@ class StubChrome : public Chrome {
virtual Status Load(const std::string& url) OVERRIDE {
return Status(kOk);
}
- virtual Status EvaluateScript(const std::string& function,
+ virtual Status EvaluateScript(const std::string& frame,
+ const std::string& function,
scoped_ptr<base::Value>* result) OVERRIDE {
return Status(kOk);
}
- virtual Status CallFunction(const std::string& function,
+ virtual Status CallFunction(const std::string& frame,
+ const std::string& function,
const base::ListValue& args,
scoped_ptr<base::Value>* result) OVERRIDE {
return Status(kOk);
}
+ virtual Status GetFrameByFunction(const std::string& frame,
+ const std::string& function,
+ const base::ListValue& args,
+ std::string* out_frame) OVERRIDE {
+ return Status(kOk);
+ }
virtual Status Quit() OVERRIDE {
return Status(kOk);
}
« no previous file with comments | « chrome/test/chromedriver/commands.cc ('k') | chrome/test/chromedriver/dom_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698