This change is one of many fixing inclusion for the following files:
- `base/notimplemented.h`
- `base/notreached.h`
- `base/check.h`
- `base/dcheck_is_on.h`
- `base/check_deref.h`
- `base/check_op.h`
- `base/logging/log_severity.h`
- `base/logging.h`
This change is a mechanical change done with the following script:
https://github.com/brave/brave-browser/issues/46707#issuecomment-2960116515
Resolves https://github.com/brave/brave-browser/issues/46707
26 lines
1007 B
C++
26 lines
1007 B
C++
/* Copyright (c) 2018 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "brave/test/base/brave_unit_test_suite.h"
|
|
|
|
#include "brave/common/resource_bundle_helper.h"
|
|
#include "brave/components/constants/brave_paths.h"
|
|
#include "build/build_config.h"
|
|
#include "chrome/install_static/product_install_details.h"
|
|
#include "chrome/test/base/chrome_unit_test_suite.h"
|
|
|
|
BraveUnitTestSuite::BraveUnitTestSuite(int argc, char** argv)
|
|
: ChromeUnitTestSuite(argc, argv) {}
|
|
|
|
void BraveUnitTestSuite::Initialize() {
|
|
#if BUILDFLAG(IS_WIN) && defined(OFFICIAL_BUILD)
|
|
// When ChromeExtensionsBrowserClient is initialized, it needs
|
|
install_static::InitializeProductDetailsForPrimaryModule();
|
|
#endif
|
|
// This will also add Brave resources bundle via chromium_src override.
|
|
ChromeUnitTestSuite::Initialize();
|
|
|
|
}
|