OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/base_paths.h" | 5 #include "base/base_paths.h" |
6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 EXPECT_EQ(0, window_count); | 376 EXPECT_EQ(0, window_count); |
377 | 377 |
378 // Starting a browser window should work just fine. | 378 // Starting a browser window should work just fine. |
379 ASSERT_TRUE(IsBrowserRunning()); | 379 ASSERT_TRUE(IsBrowserRunning()); |
380 ASSERT_TRUE(automation()->OpenNewBrowserWindow(Browser::TYPE_NORMAL, true)); | 380 ASSERT_TRUE(automation()->OpenNewBrowserWindow(Browser::TYPE_NORMAL, true)); |
381 ASSERT_TRUE(automation()->GetBrowserWindowCount(&window_count)); | 381 ASSERT_TRUE(automation()->GetBrowserWindowCount(&window_count)); |
382 EXPECT_EQ(1, window_count); | 382 EXPECT_EQ(1, window_count); |
383 } | 383 } |
384 | 384 |
385 } // namespace | 385 } // namespace |
OLD | NEW |