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

Side by Side Diff: trunk/src/chrome/test/chromedriver/session_unittest.cc

Issue 392623005: Revert 283003 "[ChromeDriver] Subscribe PerformanceLogger to Com..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 <list>
5 #include <string> 6 #include <string>
6 7
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "chrome/test/chromedriver/chrome/status.h" 9 #include "chrome/test/chromedriver/chrome/status.h"
9 #include "chrome/test/chromedriver/chrome/stub_chrome.h" 10 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
10 #include "chrome/test/chromedriver/chrome/stub_web_view.h" 11 #include "chrome/test/chromedriver/chrome/stub_web_view.h"
11 #include "chrome/test/chromedriver/session.h" 12 #include "chrome/test/chromedriver/session.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace { 15 namespace {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 session.SwitchToTopFrame(); 94 session.SwitchToTopFrame();
94 ASSERT_EQ(std::string(), session.GetCurrentFrameId()); 95 ASSERT_EQ(std::string(), session.GetCurrentFrameId());
95 96
96 session.SwitchToSubFrame("3.1", std::string()); 97 session.SwitchToSubFrame("3.1", std::string());
97 ASSERT_EQ("3.1", session.GetCurrentFrameId()); 98 ASSERT_EQ("3.1", session.GetCurrentFrameId());
98 session.SwitchToSubFrame("3.2", std::string()); 99 session.SwitchToSubFrame("3.2", std::string());
99 ASSERT_EQ("3.2", session.GetCurrentFrameId()); 100 ASSERT_EQ("3.2", session.GetCurrentFrameId());
100 session.SwitchToTopFrame(); 101 session.SwitchToTopFrame();
101 ASSERT_EQ(std::string(), session.GetCurrentFrameId()); 102 ASSERT_EQ(std::string(), session.GetCurrentFrameId());
102 } 103 }
OLDNEW
« no previous file with comments | « trunk/src/chrome/test/chromedriver/session_commands.cc ('k') | trunk/src/chrome/test/chromedriver/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698