#include "remoting/signaling/message_tracker.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace remoting {
class MessageTrackerTest : public testing::Test { … };
constexpr base::TimeDelta MessageTrackerTest::GetCleanupInterval() { … }
TEST_F(MessageTrackerTest, TestIsIdTracked_UntrackedIdReturnsTrue) { … }
TEST_F(MessageTrackerTest, TrackIdOnce_IdIsTracked) { … }
TEST_F(MessageTrackerTest, TrackIdAndAdvanceTimer_ExpiredIdNotRejected) { … }
TEST_F(MessageTrackerTest, TrackIdAndAdvanceTimer_NotExpiredIdRejected) { … }
}