Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Side by Side Diff: content/public/test/browser_test.h

Issue 942963003: Cleanup: Fix content header include guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_TEST_BROWSER_TEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_BROWSER_TEST_H_
6 #define CONTENT_TEST_BROWSER_TEST_H_ 6 #define CONTENT_PUBLIC_TEST_BROWSER_TEST_H_
7 7
8 // We only want to use InProcessBrowserTest in test targets which properly 8 // We only want to use InProcessBrowserTest in test targets which properly
9 // isolate each test case by running each test in a separate process. 9 // isolate each test case by running each test in a separate process.
10 // This way if a test hangs the test launcher can reliably terminate it. 10 // This way if a test hangs the test launcher can reliably terminate it.
11 // 11 //
12 // InProcessBrowserTest cannot be run more than once in the same address space 12 // InProcessBrowserTest cannot be run more than once in the same address space
13 // anyway - otherwise the second test crashes. 13 // anyway - otherwise the second test crashes.
14 #if defined(HAS_OUT_OF_PROC_TEST_RUNNER) 14 #if defined(HAS_OUT_OF_PROC_TEST_RUNNER)
15 15
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::AddToRegistry(); \ 83 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::AddToRegistry(); \
84 void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::RunTestOnMainThread() 84 void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::RunTestOnMainThread()
85 85
86 // Wrap the real macro with an outer macro to ensure that the parameters are 86 // Wrap the real macro with an outer macro to ensure that the parameters are
87 // evaluated (e.g., if |test_name| is prefixed with MAYBE_). 87 // evaluated (e.g., if |test_name| is prefixed with MAYBE_).
88 #define IN_PROC_BROWSER_TEST_P(test_case_name, test_name) \ 88 #define IN_PROC_BROWSER_TEST_P(test_case_name, test_name) \
89 IN_PROC_BROWSER_TEST_P_(test_case_name, test_name) 89 IN_PROC_BROWSER_TEST_P_(test_case_name, test_name)
90 90
91 #endif // defined(HAS_OUT_OF_PROC_TEST_RUNNER) 91 #endif // defined(HAS_OUT_OF_PROC_TEST_RUNNER)
92 92
93 #endif // CONTENT_TEST_BROWSER_TEST_H_ 93 #endif // CONTENT_PUBLIC_TEST_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « content/public/renderer/webrtc_log_message_delegate.h ('k') | content/public/test/download_test_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698