Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
lag_monitor_test.cpp File Reference
#include "client/lag_monitor.h"
#include <QCoreApplication>
#include <QDateTime>
#include <QEvent>
#include <QLoggingCategory>
#include <gtest/gtest.h>
Include dependency graph for lag_monitor_test.cpp:

Classes

class  LagMonitorTest

Functions

 TEST_F (LagMonitorTest, GapAtOrBelowThresholdIsIgnored)
 TEST_F (LagMonitorTest, GapAboveThresholdIsRecorded)
 TEST_F (LagMonitorTest, RecordedTimestampIsFresh)
 TEST_F (LagMonitorTest, RecordsAreTrimmedToMaxOldestFirst)
 TEST_F (LagMonitorTest, GapAtPlausibilityCapIsKept)
 TEST_F (LagMonitorTest, GapBeyondPlausibilityCapIsDropped)
 TEST_F (LagMonitorTest, ClearStallsEmptiesList)
 TEST_F (LagMonitorTest, ApplicationStateChangeDoesNotRecordAStall)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST_F() [1/8]

TEST_F ( LagMonitorTest ,
ApplicationStateChangeDoesNotRecordAStall  )

◆ TEST_F() [2/8]

TEST_F ( LagMonitorTest ,
ClearStallsEmptiesList  )

◆ TEST_F() [3/8]

TEST_F ( LagMonitorTest ,
GapAboveThresholdIsRecorded  )

◆ TEST_F() [4/8]

TEST_F ( LagMonitorTest ,
GapAtOrBelowThresholdIsIgnored  )

◆ TEST_F() [5/8]

TEST_F ( LagMonitorTest ,
GapAtPlausibilityCapIsKept  )

◆ TEST_F() [6/8]

TEST_F ( LagMonitorTest ,
GapBeyondPlausibilityCapIsDropped  )

◆ TEST_F() [7/8]

TEST_F ( LagMonitorTest ,
RecordedTimestampIsFresh  )

◆ TEST_F() [8/8]

TEST_F ( LagMonitorTest ,
RecordsAreTrimmedToMaxOldestFirst  )