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

Side by Side Diff: chrome/test/chromedriver/commands_unittest.cc

Issue 18419003: [chromedriver] Remove dll build target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/test/chromedriver/chrome/status.h" 14 #include "chrome/test/chromedriver/chrome/status.h"
15 #include "chrome/test/chromedriver/chrome/stub_chrome.h" 15 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
16 #include "chrome/test/chromedriver/chrome/stub_web_view.h" 16 #include "chrome/test/chromedriver/chrome/stub_web_view.h"
17 #include "chrome/test/chromedriver/chrome/web_view.h" 17 #include "chrome/test/chromedriver/chrome/web_view.h"
18 #include "chrome/test/chromedriver/command_executor_impl.h"
19 #include "chrome/test/chromedriver/commands.h" 18 #include "chrome/test/chromedriver/commands.h"
20 #include "chrome/test/chromedriver/element_commands.h" 19 #include "chrome/test/chromedriver/element_commands.h"
21 #include "chrome/test/chromedriver/fake_session_accessor.h" 20 #include "chrome/test/chromedriver/fake_session_accessor.h"
22 #include "chrome/test/chromedriver/session_commands.h" 21 #include "chrome/test/chromedriver/session_commands.h"
23 #include "chrome/test/chromedriver/window_commands.h" 22 #include "chrome/test/chromedriver/window_commands.h"
24 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
25 #include "third_party/webdriver/atoms.h" 24 #include "third_party/webdriver/atoms.h"
26 25
27 TEST(CommandsTest, GetStatus) { 26 TEST(CommandsTest, GetStatus) {
28 base::DictionaryValue params; 27 base::DictionaryValue params;
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 scoped_ptr<base::Value> result; 489 scoped_ptr<base::Value> result;
491 ASSERT_EQ( 490 ASSERT_EQ(
492 kStaleElementReference, 491 kStaleElementReference,
493 ExecuteFindChildElement( 492 ExecuteFindChildElement(
494 1, &session, &web_view, element_id, params, &result).code()); 493 1, &session, &web_view, element_id, params, &result).code());
495 ASSERT_EQ( 494 ASSERT_EQ(
496 kStaleElementReference, 495 kStaleElementReference,
497 ExecuteFindChildElements( 496 ExecuteFindChildElements(
498 1, &session, &web_view, element_id, params, &result).code()); 497 1, &session, &web_view, element_id, params, &result).code());
499 } 498 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/command_names.cc ('k') | chrome/test/chromedriver/server/chromedriver_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698