ceftests: Fix incorrect include guard #ifdef names

This commit is contained in:
Marshall Greenblatt 2020-08-19 18:23:42 -04:00
parent 87c8a72831
commit 08ebbb395a
8 changed files with 24 additions and 24 deletions

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ #ifndef CEF_TESTS_CEFTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_
#define CEF_TESTS_UNITTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_ #define CEF_TESTS_CEFTESTS_EXTENSIONS_EXTENSION_TEST_HANDLER_H_
#pragma once #pragma once
#include <vector> #include <vector>
@ -235,4 +235,4 @@ class ExtensionTestHandler : public RoutingTestHandler,
EXTENSION_TEST_GROUP_MINIMAL_GLOBAL(name, test_class) \ EXTENSION_TEST_GROUP_MINIMAL_GLOBAL(name, test_class) \
EXTENSION_TEST_GROUP_MINIMAL_CUSTOM(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_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ #ifndef CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_
#define CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ #define CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_
#pragma once #pragma once
#include "include/cef_image.h" #include "include/cef_image.h"
@ -24,4 +24,4 @@ void LoadIconImage(CefRefPtr<CefImage> image,
} // namespace image_util } // namespace image_util
#endif // CEF_TESTS_UNITTESTS_IMAGE_UTIL_H_ #endif // CEF_TESTS_CEFTESTS_IMAGE_UTIL_H_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license // reserved. Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_OS_RENDERING_UNITTEST_MAC_H_ #ifndef CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_
#define CEF_TESTS_UNITTESTS_OS_RENDERING_UNITTEST_MAC_H_ #define CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_
#include "include/cef_base.h" #include "include/cef_base.h"
@ -13,4 +13,4 @@ CefWindowHandle GetFakeView();
} // namespace osr_unittests } // namespace osr_unittests
#endif #endif // CEF_TESTS_CEFTESTS_OS_RENDERING_UNITTEST_MAC_H_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ #ifndef CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_
#define CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ #define CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_
#pragma once #pragma once
#include "include/wrapper/cef_message_router.h" #include "include/wrapper/cef_message_router.h"
@ -39,4 +39,4 @@ class RoutingTestHandler : public TestHandler,
CefRefPtr<CefMessageRouterBrowserSide> message_router_; CefRefPtr<CefMessageRouterBrowserSide> message_router_;
}; };
#endif // CEF_TESTS_UNITTESTS_ROUTING_TEST_HANDLER_H_ #endif // CEF_TESTS_CEFTESTS_ROUTING_TEST_HANDLER_H_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ #ifndef CEF_TESTS_CEFTESTS_TEST_HANDLER_H_
#define CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ #define CEF_TESTS_CEFTESTS_TEST_HANDLER_H_
#pragma once #pragma once
#include <list> #include <list>
@ -363,4 +363,4 @@ bool TestFailed();
GTEST_TEST_BOOLEAN_(!(__result), #condition, true, false, \ GTEST_TEST_BOOLEAN_(!(__result), #condition, true, false, \
GTEST_NONFATAL_FAILURE_) GTEST_NONFATAL_FAILURE_)
#endif // CEF_TESTS_UNITTESTS_TEST_HANDLER_H_ #endif // CEF_TESTS_CEFTESTS_TEST_HANDLER_H_

View File

@ -2,8 +2,8 @@
// 2012 The Chromium Authors. All rights reserved. Use of this source code is // 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. // governed by a BSD-style license that can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_TEST_SUITE_H_ #ifndef CEF_TESTS_CEFTESTS_TEST_SUITE_H_
#define CEF_TESTS_UNITTESTS_TEST_SUITE_H_ #define CEF_TESTS_CEFTESTS_TEST_SUITE_H_
#pragma once #pragma once
#include <string> #include <string>
@ -55,4 +55,4 @@ class CefTestSuite {
#define CEF_SETTINGS_ACCEPT_LANGUAGE "en-GB" #define CEF_SETTINGS_ACCEPT_LANGUAGE "en-GB"
#endif // CEF_TESTS_UNITTESTS_TEST_SUITE_H_ #endif // CEF_TESTS_CEFTESTS_TEST_SUITE_H_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_TEST_UTIL_H_ #ifndef CEF_TESTS_CEFTESTS_TEST_UTIL_H_
#define CEF_TESTS_UNITTESTS_TEST_UTIL_H_ #define CEF_TESTS_CEFTESTS_TEST_UTIL_H_
#pragma once #pragma once
#include "include/cef_process_message.h" #include "include/cef_process_message.h"
@ -179,4 +179,4 @@ CefRefPtr<CefRequestContext> CreateTestRequestContext(
RC_TEST_GROUP_IN_MEMORY(test_case_name, test_name, test_class, test_mode) \ 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) 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_

View File

@ -2,8 +2,8 @@
// reserved. Use of this source code is governed by a BSD-style license that // reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file. // can be found in the LICENSE file.
#ifndef CEF_TESTS_UNITTESTS_THREAD_HELPER_H_ #ifndef CEF_TESTS_CEFTESTS_THREAD_HELPER_H_
#define CEF_TESTS_UNITTESTS_THREAD_HELPER_H_ #define CEF_TESTS_CEFTESTS_THREAD_HELPER_H_
#pragma once #pragma once
#include "include/base/cef_bind.h" #include "include/base/cef_bind.h"
@ -69,4 +69,4 @@ void RunOnThreadAsync(
#define UI_THREAD_TEST_ASYNC(test_case_name, test_name) \ #define UI_THREAD_TEST_ASYNC(test_case_name, test_name) \
NAMED_THREAD_TEST_ASYNC(TID_UI, 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_