// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/gwp_asan/common/lightweight_detector_state.h" #include "testing/gtest/include/gtest/gtest.h" namespace gwp_asan::internal { static constexpr size_t kMaxMetadata = …; class LightweightDetectorStateTest : public testing::Test { … }; TEST_F(LightweightDetectorStateTest, Valid) { … } TEST_F(LightweightDetectorStateTest, InvalidNumMetadata) { … } TEST_F(LightweightDetectorStateTest, InvalidAddress) { … } TEST_F(LightweightDetectorStateTest, EncodeMetadataId) { … } } // namespace gwp_asan::internal