1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
base / check_is_test_unittest.cc [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/check_is_test.h"
#include "testing/gtest/include/gtest/gtest.h"
// Note: `base::AllowCheckIsTestForTesting` is being called in
// `base/test/launcher/unit_test_launcher.cc` before this test is run.
//
// Thus, `CHECK_IS_TEST()` will succeed.
TEST(CheckIsTest, Usage) {
CHECK_IS_TEST();
}