Chromium Code Reviews

Unified Diff: chrome/test/webdriver/commands/set_timeout_commands_unittest.cc

Issue 7582005: Add chrome.loadAsync capability to ChromeDriver, which allows the user not to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
diff --git a/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc b/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
index 5bc455403fedade6b8698b663b8702571fa2fb8d..a4e84b3d7d0df93b6bf7182523f816d5b2f30803 100644
--- a/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
+++ b/chrome/test/webdriver/commands/set_timeout_commands_unittest.cc
@@ -50,7 +50,8 @@ void AssertTimeoutSet(const Session& test_session, int expected_timeout,
} // namespace
TEST(ImplicitWaitCommandTest, SettingImplicitWaits) {
- Session test_session;
+ Session::Options options = Session::Options();
+ Session test_session(options);
ASSERT_EQ(0, test_session.implicit_wait()) << "Sanity check failed";
std::vector<std::string> path_segments;

Powered by Google App Engine