OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/string16.h" | 6 #include "base/string16.h" |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
10 #include "chrome/common/chrome_switches.h" | 10 #include "chrome/common/chrome_switches.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ASSERT_TRUE(browser->GetTabCount(&tab_count)); | 106 ASSERT_TRUE(browser->GetTabCount(&tab_count)); |
107 ASSERT_EQ(1, tab_count); | 107 ASSERT_EQ(1, tab_count); |
108 | 108 |
109 ASSERT_TRUE(browser->RunCommand(IDC_OPTIONS)); | 109 ASSERT_TRUE(browser->RunCommand(IDC_OPTIONS)); |
110 ASSERT_TRUE(browser->RunCommand(IDC_OPTIONS)); | 110 ASSERT_TRUE(browser->RunCommand(IDC_OPTIONS)); |
111 ASSERT_TRUE(browser->GetTabCount(&tab_count)); | 111 ASSERT_TRUE(browser->GetTabCount(&tab_count)); |
112 ASSERT_EQ(2, tab_count); | 112 ASSERT_EQ(2, tab_count); |
113 } | 113 } |
114 | 114 |
115 } // namespace | 115 } // namespace |
OLD | NEW |