summaryrefslogtreecommitdiffstats
path: root/chrome/test/chromedriver/chromedriver_unittest.cc
diff options
context:
space:
mode:
authorkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 20:14:29 +0000
committerkkania@chromium.org <kkania@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 20:14:29 +0000
commit7f01dde7a68ea76b24aa3c0afd5ca528e2ef9b0c (patch)
treeef16ccfa623aaffd3d193bfd2e5dd7254ed5f9d0 /chrome/test/chromedriver/chromedriver_unittest.cc
parent8a48f3f925b5f3b15b69ea6d11568b85987ffc47 (diff)
downloadchromium_src-7f01dde7a68ea76b24aa3c0afd5ca528e2ef9b0c.zip
chromium_src-7f01dde7a68ea76b24aa3c0afd5ca528e2ef9b0c.tar.gz
chromium_src-7f01dde7a68ea76b24aa3c0afd5ca528e2ef9b0c.tar.bz2
[chromedriver] Implement connecting to devtools and loading a page.
BUG=none Review URL: https://chromiumcodereview.appspot.com/11415205 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/chromedriver/chromedriver_unittest.cc')
-rw-r--r--chrome/test/chromedriver/chromedriver_unittest.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/test/chromedriver/chromedriver_unittest.cc b/chrome/test/chromedriver/chromedriver_unittest.cc
index 9c85383..fc8bef6 100644
--- a/chrome/test/chromedriver/chromedriver_unittest.cc
+++ b/chrome/test/chromedriver/chromedriver_unittest.cc
@@ -38,13 +38,13 @@ class DummyExecutor : public CommandExecutor {
public:
virtual ~DummyExecutor() {}
+ virtual void Init() OVERRIDE {}
virtual void ExecuteCommand(const std::string& name,
const base::DictionaryValue& params,
const std::string& session_id,
StatusCode* status,
scoped_ptr<base::Value>* value,
- std::string* out_session_id) OVERRIDE {
- }
+ std::string* out_session_id) OVERRIDE {}
};
@@ -80,6 +80,8 @@ class ExecutorMock : public CommandExecutor {
EXPECT_TRUE(DidSatisfyExpectations());
}
+ virtual void Init() OVERRIDE {}
+
virtual void ExecuteCommand(const std::string& name,
const base::DictionaryValue& params,
const std::string& session_id,