![]() |
PhoenixClockMock
2.0.0
Tool to manipulate mock of clock (split, merge and get info)
|
#include <unistd.h>
#include <iomanip>
#include <iostream>
#include "data_stream_assert.h"
#include "phoenix_clock.h"
Go to the source code of this file.
Typedefs | |
typedef PGenericClock< PClockNsBackend, PClockMock > | ClockNanoSecond |
Definition of the test clock for more precise time. More... | |
typedef PGenericClock< PClockBackend, PClockMock > | ClockSecond |
Definition of the test clock. More... | |
Functions | |
int | main (int argc, char **argv) |
void | testCreateClockMock () |
Create a ClockMock ready to use. More... | |
void | testGenericClock () |
Test the PGenericClock. More... | |
template<class _Clock > | |
void | testSpecialisedClock () |
typedef PGenericClock<PClockBackend, PClockMock> ClockSecond |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 56 of file main.cpp.
References testGenericClock().
void testCreateClockMock | ( | ) |
Create a ClockMock ready to use.
Definition at line 21 of file main.cpp.
References data_stream_assert, and phoenix_saveClockMock().
Referenced by testSpecialisedClock().
void testGenericClock | ( | ) |
Test the PGenericClock.
Definition at line 51 of file main.cpp.
Referenced by main().
void testSpecialisedClock | ( | ) |
Definition at line 31 of file main.cpp.
References data_stream_assert, PClockMode::MOCK, PClockMode::MOCK_RECORD, PClockMode::NO_MOCK, and testCreateClockMock().