Remove EWK_BRINGUPS for M120 #3
[platform/framework/web/chromium-efl.git] / chrome / app / chrome_crash_reporter_client_win_unittest.cc
1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/app/chrome_crash_reporter_client_win.h"
6
7 #include <string>
8
9 #include "base/files/file_path.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11
12 namespace {
13
14 TEST(ChromeCrashReporterClientWin, GetWerModule) {
15   ChromeCrashReporterClient client;
16
17   std::wstring wer_module = client.GetWerRuntimeExceptionModule();
18   ASSERT_FALSE(wer_module.empty());
19   base::FilePath as_file_path(wer_module);
20   ASSERT_EQ(as_file_path.Extension(), FILE_PATH_LITERAL(".dll"));
21 }
22
23 }  // namespace