//===-- WatchpointAlgorithmsTests.cpp -------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "gtest/gtest.h" #include "lldb/Breakpoint/WatchpointAlgorithms.h" #include <utility> #include <vector> usingnamespacelldb; usingnamespacelldb_private; class WatchpointAlgorithmsTest : public WatchpointAlgorithms { … }; struct testcase { … }; void check_testcase(testcase test, std::vector<WatchpointAlgorithmsTest::Region> result, size_t min_byte_size, size_t max_byte_size, uint32_t address_byte_size) { … } TEST(WatchpointAlgorithmsTests, PowerOf2Watchpoints) { … }