Move to clang-format-16 (#908)

Fixes #848
This commit is contained in:
Alex Kremer
2023-10-19 16:55:04 +01:00
committed by GitHub
parent 5de87b9ef8
commit 1aab2b94b1
265 changed files with 3950 additions and 4743 deletions

View File

@@ -49,15 +49,13 @@ constexpr auto JSONData = R"JSON(
constexpr auto IP = "127.0.0.2";
struct MockWhitelistHandler
{
struct MockWhitelistHandler {
MOCK_METHOD(bool, isWhiteListed, (std::string_view ip), (const));
};
using MockWhitelistHandlerType = NiceMock<MockWhitelistHandler>;
class FakeSweepHandler
{
class FakeSweepHandler {
private:
using guardType = BasicDOSGuard<MockWhitelistHandlerType, FakeSweepHandler>;
guardType* dosGuard_;
@@ -77,8 +75,7 @@ public:
};
}; // namespace
class DOSGuardTest : public NoLoggerFixture
{
class DOSGuardTest : public NoLoggerFixture {
protected:
Config cfg{json::parse(JSONData)};
FakeSweepHandler sweepHandler{};