From 08ebbb395ab64c389a5bb4be4bb77f22ae439d36 Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Wed, 19 Aug 2020 18:23:42 -0400 Subject: [PATCH] ceftests: Fix incorrect include guard #ifdef names --- tests/ceftests/extensions/extension_test_handler.h | 6 +++--- tests/ceftests/image_util.h | 6 +++--- tests/ceftests/os_rendering_unittest_mac.h | 6 +++--- tests/ceftests/routing_test_handler.h | 6 +++--- tests/ceftests/test_handler.h | 6 +++--- tests/ceftests/test_suite.h | 6 +++--- tests/ceftests/test_util.h | 6 +++--- tests/ceftests/thread_helper.h | 6 +++--- 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/ceftests/extensions/extension_test_handler.h b/tests/ceftests/extensions/extension_test_handler.h index a2a87e343..6e916e353 100644 --- a/tests/ceftests/extensions/extension_test_handler.h +++ b/tests/ceftests/extensions/extension_test_handler.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ -#define CEF_TESTS_UNITTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ +#ifndef CEF_TESTS_CEFTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ +#define CEF_TESTS_CEFTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ #pragma once #include @@ -235,4 +235,4 @@ class ExtensionTestHandler : public RoutingTestHandler, EXTENSION_TEST_GROUP_MINIMAL_GLOBAL(name, test_class) \ EXTENSION_TEST_GROUP_MINIMAL_CUSTOM(name, test_class) -#endif // CEF_TESTS_UNITTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ +#endif // CEF_TESTS_CEFTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ diff --git a/tests/ceftests/image_util.h b/tests/ceftests/image_util.h index 709e764e8..823fc08dc 100644 --- a/tests/ceftests/image_util.h +++ b/tests/ceftests/image_util.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ -#define CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ +#ifndef CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_ +#define CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_ #pragma once #include "include/cef_image.h" @@ -24,4 +24,4 @@ void LoadIconImage(CefRefPtr image, } // namespace image_util -#endif // CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ +#endif // CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_ diff --git a/tests/ceftests/os_rendering_unittest_mac.h b/tests/ceftests/os_rendering_unittest_mac.h index b01cc0ad2..8a54bef92 100644 --- a/tests/ceftests/os_rendering_unittest_mac.h +++ b/tests/ceftests/os_rendering_unittest_mac.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_OS_RENDERING_UNITTEST_MAC_H_ -#define CEF_TESTS_UNITTESTS_OS_RENDERING_UNITTEST_MAC_H_ +#ifndef CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_ +#define CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_ #include "include/cef_base.h" @@ -13,4 +13,4 @@ CefWindowHandle GetFakeView(); } // namespace osr_unittests -#endif +#endif // CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_ diff --git a/tests/ceftests/routing_test_handler.h b/tests/ceftests/routing_test_handler.h index 89f820c95..43c88aa85 100644 --- a/tests/ceftests/routing_test_handler.h +++ b/tests/ceftests/routing_test_handler.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ -#define CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ +#ifndef CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_ +#define CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_ #pragma once #include "include/wrapper/cef_message_router.h" @@ -39,4 +39,4 @@ class RoutingTestHandler : public TestHandler, CefRefPtr message_router_; }; -#endif // CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ +#endif // CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_ diff --git a/tests/ceftests/test_handler.h b/tests/ceftests/test_handler.h index 0c7c514ca..4616c3dde 100644 --- a/tests/ceftests/test_handler.h +++ b/tests/ceftests/test_handler.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ -#define CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ +#ifndef CEF_TESTS_CEFTESTS_TEST_HANDLER_H_ +#define CEF_TESTS_CEFTESTS_TEST_HANDLER_H_ #pragma once #include @@ -363,4 +363,4 @@ bool TestFailed(); GTEST_TEST_BOOLEAN_(!(__result), #condition, true, false, \ GTEST_NONFATAL_FAILURE_) -#endif // CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ +#endif // CEF_TESTS_CEFTESTS_TEST_HANDLER_H_ diff --git a/tests/ceftests/test_suite.h b/tests/ceftests/test_suite.h index 77ce3330a..6eaf7bd93 100644 --- a/tests/ceftests/test_suite.h +++ b/tests/ceftests/test_suite.h @@ -2,8 +2,8 @@ // 2012 The Chromium Authors. All rights reserved. Use of this source code is // governed by a BSD-style license that can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_TEST_SUITE_H_ -#define CEF_TESTS_UNITTESTS_TEST_SUITE_H_ +#ifndef CEF_TESTS_CEFTESTS_TEST_SUITE_H_ +#define CEF_TESTS_CEFTESTS_TEST_SUITE_H_ #pragma once #include @@ -55,4 +55,4 @@ class CefTestSuite { #define CEF_SETTINGS_ACCEPT_LANGUAGE "en-GB" -#endif // CEF_TESTS_UNITTESTS_TEST_SUITE_H_ +#endif // CEF_TESTS_CEFTESTS_TEST_SUITE_H_ diff --git a/tests/ceftests/test_util.h b/tests/ceftests/test_util.h index 7f0fe4a5a..8bacbc4a8 100644 --- a/tests/ceftests/test_util.h +++ b/tests/ceftests/test_util.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_TEST_UTIL_H_ -#define CEF_TESTS_UNITTESTS_TEST_UTIL_H_ +#ifndef CEF_TESTS_CEFTESTS_TEST_UTIL_H_ +#define CEF_TESTS_CEFTESTS_TEST_UTIL_H_ #pragma once #include "include/cef_process_message.h" @@ -179,4 +179,4 @@ CefRefPtr CreateTestRequestContext( RC_TEST_GROUP_IN_MEMORY(test_case_name, test_name, test_class, test_mode) \ RC_TEST_GROUP_ON_DISK(test_case_name, test_name, test_class, test_mode) -#endif // CEF_TESTS_UNITTESTS_TEST_UTIL_H_ +#endif // CEF_TESTS_CEFTESTS_TEST_UTIL_H_ diff --git a/tests/ceftests/thread_helper.h b/tests/ceftests/thread_helper.h index abc332b3a..5fccb129b 100644 --- a/tests/ceftests/thread_helper.h +++ b/tests/ceftests/thread_helper.h @@ -2,8 +2,8 @@ // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. -#ifndef CEF_TESTS_UNITTESTS_THREAD_HELPER_H_ -#define CEF_TESTS_UNITTESTS_THREAD_HELPER_H_ +#ifndef CEF_TESTS_CEFTESTS_THREAD_HELPER_H_ +#define CEF_TESTS_CEFTESTS_THREAD_HELPER_H_ #pragma once #include "include/base/cef_bind.h" @@ -69,4 +69,4 @@ void RunOnThreadAsync( #define UI_THREAD_TEST_ASYNC(test_case_name, test_name) \ NAMED_THREAD_TEST_ASYNC(TID_UI, test_case_name, test_name) -#endif // CEF_TESTS_UNITTESTS_THREAD_HELPER_H_ +#endif // CEF_TESTS_CEFTESTS_THREAD_HELPER_H_