Skip to content

Commit

Permalink
TEMP: Testing overriding GTEST_SKIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarolin authored and cdesouza-chromium committed Aug 23, 2023
1 parent 8e498e5 commit 3109bce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions chromium_src/chrome/browser/ui/test/test_browser_ui.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* Copyright (c) 2023 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 https://mozilla.org/MPL/2.0/. */

#include "chrome/browser/ui/test/test_browser_ui.h"

#include "third_party/googletest/src/googletest/include/gtest/gtest.h"

#undef GTEST_SKIP
#define GTEST_SKIP() \
LOG(WARNING) << "BRAVE: overriding GTEST_SKIP. Chromium would skip this " \
"test because:"

#include "src/chrome/browser/ui/test/test_browser_ui.cc"
#undef GTEST_SKIP

0 comments on commit 3109bce

Please sign in to comment.