join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
monotonic_wheel_test.cpp File Reference
#include <join/wheel.hpp>
#include <gtest/gtest.h>
#include <thread>
#include <chrono>
#include <atomic>
Include dependency graph for monotonic_wheel_test.cpp:

Typedefs

using Wheel = Monotonic::Wheel<64>
 

Functions

 TEST (MonotonicWheel, setOneShot)
 Test setOneShot.
 
 TEST (MonotonicWheel, setInterval)
 Test setInterval.
 
 TEST (MonotonicWheel, cancel)
 Test cancel.
 
 TEST (MonotonicWheel, active)
 Test active.
 
 TEST (MonotonicWheel, remaining)
 Test remaining.
 
 TEST (MonotonicWheel, interval)
 Test interval.
 
 TEST (MonotonicWheel, oneShot)
 Test oneShot.
 
 TEST (MonotonicWheel, runner)
 Test runner.
 
 TEST (MonotonicWheel, mlock)
 Test mlock.
 
 TEST (MonotonicWheel, resolution)
 Test resolution.
 
 TEST (MonotonicWheel, capacity)
 Test capacity.
 
int main (int argc, char **argv)
 main function.
 

Typedef Documentation

◆ Wheel

using Wheel = Monotonic::Wheel<64>

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

main function.

◆ TEST() [1/11]

TEST ( MonotonicWheel ,
active  )

Test active.

◆ TEST() [2/11]

TEST ( MonotonicWheel ,
cancel  )

Test cancel.

◆ TEST() [3/11]

TEST ( MonotonicWheel ,
capacity  )

Test capacity.

◆ TEST() [4/11]

TEST ( MonotonicWheel ,
interval  )

Test interval.

◆ TEST() [5/11]

TEST ( MonotonicWheel ,
mlock  )

Test mlock.

◆ TEST() [6/11]

TEST ( MonotonicWheel ,
oneShot  )

Test oneShot.

◆ TEST() [7/11]

TEST ( MonotonicWheel ,
remaining  )

Test remaining.

◆ TEST() [8/11]

TEST ( MonotonicWheel ,
resolution  )

Test resolution.

◆ TEST() [9/11]

TEST ( MonotonicWheel ,
runner  )

Test runner.

◆ TEST() [10/11]

TEST ( MonotonicWheel ,
setInterval  )

Test setInterval.

◆ TEST() [11/11]

TEST ( MonotonicWheel ,
setOneShot  )

Test setOneShot.