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 #ifndef CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ | 5 #ifndef CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ |
6 #define CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ | 6 #define CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "base/scoped_temp_dir.h" | 12 #include "base/scoped_temp_dir.h" |
13 #include "chrome/common/page_transition_types.h" | 13 #include "content/common/page_transition_types.h" |
14 #include "net/test/test_server.h" | 14 #include "net/test/test_server.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
18 #include "chrome/browser/chromeos/cros/cros_library.h" | 18 #include "chrome/browser/chromeos/cros/cros_library.h" |
19 #endif // defined(OS_CHROMEOS) | 19 #endif // defined(OS_CHROMEOS) |
20 | 20 |
21 class Browser; | 21 class Browser; |
22 class CommandLine; | 22 class CommandLine; |
23 class Profile; | 23 class Profile; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>);\ | 244 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>);\ |
245 void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::RunTestOnMainThread() | 245 void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::RunTestOnMainThread() |
246 | 246 |
247 #define IN_PROC_BROWSER_TEST_F(test_fixture, test_name)\ | 247 #define IN_PROC_BROWSER_TEST_F(test_fixture, test_name)\ |
248 IN_PROC_BROWSER_TEST_(test_fixture, test_name, test_fixture,\ | 248 IN_PROC_BROWSER_TEST_(test_fixture, test_name, test_fixture,\ |
249 ::testing::internal::GetTypeId<test_fixture>()) | 249 ::testing::internal::GetTypeId<test_fixture>()) |
250 | 250 |
251 #endif // defined(ALLOW_IN_PROC_BROWSER_TEST) | 251 #endif // defined(ALLOW_IN_PROC_BROWSER_TEST) |
252 | 252 |
253 #endif // CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ | 253 #endif // CHROME_TEST_IN_PROCESS_BROWSER_TEST_H_ |
OLD | NEW |