From d5432b5dc592aeab4c23f29f4a8e1b838bd0e530 Mon Sep 17 00:00:00 2001 From: SmirnovLM Date: Sun, 7 Apr 2024 22:48:33 +0300 Subject: [PATCH] fix --- src/TimeDoor.cpp | 6 +++--- test/tests.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/TimeDoor.cpp b/src/TimeDoor.cpp index 3b90673..27f37ec 100644 --- a/src/TimeDoor.cpp +++ b/src/TimeDoor.cpp @@ -1,8 +1,8 @@ // Copyright 2024 Smirnov Leonid #include -#include -#include +#include // NOLINT [build/c++11] +#include // NOLINT [build/c++11] #include "TimedDoor.h" @@ -50,4 +50,4 @@ void Timer::tregister(int time_, TimerClient* client_) { this->client = client_; sleep(time_); client_->Timeout(); -} \ No newline at end of file +} diff --git a/test/tests.cpp b/test/tests.cpp index eac4418..d33d924 100644 --- a/test/tests.cpp +++ b/test/tests.cpp @@ -4,18 +4,18 @@ #include #include -#include -#include +#include // NOLINT [build/c++11] +#include // NOLINT [build/c++11] #include "TimedDoor.h" class MockTimerClient : public TimerClient { -public: + public: MOCK_METHOD(void, Timeout, (), (override)); }; class TimedDoorTest : public ::testing::Test { -protected: + protected: TimedDoor door; MockTimerClient mockClient; Timer timer;