OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/simple_thread.h" | |
8 #include "base/test/test_file_util.h" | 7 #include "base/test/test_file_util.h" |
| 8 #include "base/threading/simple_thread.h" |
9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
10 #include "chrome/test/ui/ui_test.h" | 10 #include "chrome/test/ui/ui_test.h" |
11 #include "net/test/test_server.h" | 11 #include "net/test/test_server.h" |
12 #include "printing/image.h" | 12 #include "printing/image.h" |
13 #include "printing/printing_test.h" | 13 #include "printing/printing_test.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 using printing::Image; | 17 using printing::Image; |
18 | 18 |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 | 414 |
415 // Force a navigation elsewhere to verify that it's fine with it. | 415 // Force a navigation elsewhere to verify that it's fine with it. |
416 url = test_server.GetURL("files/printing/test1.html"); | 416 url = test_server.GetURL("files/printing/test1.html"); |
417 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, | 417 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, |
418 tab_proxy->NavigateToURL(url)); | 418 tab_proxy->NavigateToURL(url)); |
419 } | 419 } |
420 CloseBrowserAndServer(); | 420 CloseBrowserAndServer(); |
421 | 421 |
422 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; | 422 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; |
423 } | 423 } |
OLD | NEW |