123456789101112131415 |
- // Copyright 2022 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.
- #include "base/check_is_test.h"
- #include "testing/gtest/include/gtest/gtest.h"
- // Note: `base::AllowCheckIsTestToBeCalled` 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();
- }
|