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

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

Issue 353063005: [ChromeDriver] Subscribe PerformanceLogger to CommandListener interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing unnecessary check in test 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
« no previous file with comments | « chrome/test/chromedriver/session_commands.cc ('k') | chrome/test/chromedriver/util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
6 #include <string> 5 #include <string>
7 6
8 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
9 #include "chrome/test/chromedriver/chrome/status.h" 8 #include "chrome/test/chromedriver/chrome/status.h"
10 #include "chrome/test/chromedriver/chrome/stub_chrome.h" 9 #include "chrome/test/chromedriver/chrome/stub_chrome.h"
11 #include "chrome/test/chromedriver/chrome/stub_web_view.h" 10 #include "chrome/test/chromedriver/chrome/stub_web_view.h"
12 #include "chrome/test/chromedriver/session.h" 11 #include "chrome/test/chromedriver/session.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 namespace { 14 namespace {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 session.SwitchToTopFrame(); 93 session.SwitchToTopFrame();
95 ASSERT_EQ(std::string(), session.GetCurrentFrameId()); 94 ASSERT_EQ(std::string(), session.GetCurrentFrameId());
96 95
97 session.SwitchToSubFrame("3.1", std::string()); 96 session.SwitchToSubFrame("3.1", std::string());
98 ASSERT_EQ("3.1", session.GetCurrentFrameId()); 97 ASSERT_EQ("3.1", session.GetCurrentFrameId());
99 session.SwitchToSubFrame("3.2", std::string()); 98 session.SwitchToSubFrame("3.2", std::string());
100 ASSERT_EQ("3.2", session.GetCurrentFrameId()); 99 ASSERT_EQ("3.2", session.GetCurrentFrameId());
101 session.SwitchToTopFrame(); 100 session.SwitchToTopFrame();
102 ASSERT_EQ(std::string(), session.GetCurrentFrameId()); 101 ASSERT_EQ(std::string(), session.GetCurrentFrameId());
103 } 102 }
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/session_commands.cc ('k') | chrome/test/chromedriver/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698