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 #ifndef CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ | 4 #ifndef CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ |
5 #define CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ | 5 #define CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ |
6 | 6 |
7 #include "chrome/test/base/web_ui_browsertest.h" | 7 #include "chrome/browser/ui/webui/web_ui_browsertest.h" |
8 #include "content/public/browser/web_ui_message_handler.h" | 8 #include "content/public/browser/web_ui_message_handler.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 | 10 |
11 namespace base { | 11 namespace base { |
12 class ListValue; | 12 class ListValue; |
13 } // namespace base | 13 } // namespace base |
14 | 14 |
15 // C++ support class for javascript-generated asynchronous tests. | 15 // C++ support class for javascript-generated asynchronous tests. |
16 class WebUIBrowserAsyncGenTest : public WebUIBrowserTest { | 16 class WebUIBrowserAsyncGenTest : public WebUIBrowserTest { |
17 public: | 17 public: |
(...skipping 26 matching lines...) Expand all Loading... |
44 | 44 |
45 virtual void SetUpOnMainThread() OVERRIDE { | 45 virtual void SetUpOnMainThread() OVERRIDE { |
46 WebUIBrowserTest::SetUpOnMainThread(); | 46 WebUIBrowserTest::SetUpOnMainThread(); |
47 EXPECT_CALL(message_handler_, HandleTearDown(::testing::_)); | 47 EXPECT_CALL(message_handler_, HandleTearDown(::testing::_)); |
48 } | 48 } |
49 | 49 |
50 DISALLOW_COPY_AND_ASSIGN(WebUIBrowserAsyncGenTest); | 50 DISALLOW_COPY_AND_ASSIGN(WebUIBrowserAsyncGenTest); |
51 }; | 51 }; |
52 | 52 |
53 #endif // CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ | 53 #endif // CHROME_TEST_DATA_WEBUI_ASYNC_GEN_H_ |
OLD | NEW |