![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include "data_stream_assert.h"
#include "data_stream_check_value.h"
#include "data_size.h"
#include "data_message.h"
#include "data_file.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
void | testListDataFile () |
Test if data size is Ok. More... | |
void | testListPairDataFile () |
Test if data size is Ok. More... | |
void | testMapDataFile () |
Test if data size is Ok. More... | |
template<typename T > | |
bool | testSetListPairValue (const std::string &firstTypeName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T > | |
bool | testSetMapValue (const std::string &firstTypeName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T > | |
bool | testSetVectorPairValue (const std::string &firstTypeName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
void | testSimpleDataFile () |
Test if data size is Ok. More... | |
template<typename T , typename U > | |
bool | testSimpleListPairValue (const std::string &testName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T > | |
bool | testSimpleListValue (const std::string &testName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T , typename U > | |
bool | testSimpleMapValue (const std::string &testName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T > | |
bool | testSimpleValue (const std::string &testName, T referenceValue) |
Abstract check of a value stored in a file. More... | |
template<typename T , typename U > | |
bool | testSimpleVectorPairValue (const std::string &testName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
template<typename T > | |
bool | testSimpleVectorValue (const std::string &testName, size_t nbValue) |
Abstract check of values stored in a file. More... | |
void | testStringDataFile () |
Test if data size is Ok. More... | |
void | testVectorDataFile () |
Test if data size is Ok. More... | |
void | testVectorPairDataFile () |
Test if data size is Ok. More... | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 324 of file main.cpp.
References testListDataFile(), testListPairDataFile(), testMapDataFile(), testSimpleDataFile(), testStringDataFile(), testVectorDataFile(), and testVectorPairDataFile().
void testListDataFile | ( | ) |
Test if data size is Ok.
Definition at line 124 of file main.cpp.
References data_stream_assert.
Referenced by main().
void testListPairDataFile | ( | ) |
Test if data size is Ok.
Definition at line 303 of file main.cpp.
References data_stream_assert.
Referenced by main().
void testMapDataFile | ( | ) |
Test if data size is Ok.
Definition at line 185 of file main.cpp.
References data_stream_assert.
Referenced by main().
bool testSetListPairValue | ( | const std::string & | firstTypeName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
firstTypeName | : name of the first type |
nbValue | : number of values to put in the reference list |
Definition at line 285 of file main.cpp.
bool testSetMapValue | ( | const std::string & | firstTypeName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
firstTypeName | : name of the first type |
nbValue | : number of values to put in the reference map |
Definition at line 167 of file main.cpp.
bool testSetVectorPairValue | ( | const std::string & | firstTypeName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
firstTypeName | : name of the first type |
nbValue | : number of values to put in the reference vector |
Definition at line 226 of file main.cpp.
void testSimpleDataFile | ( | ) |
Test if data size is Ok.
Definition at line 33 of file main.cpp.
References data_stream_assert, and testSimpleValue().
Referenced by main().
bool testSimpleListPairValue | ( | const std::string & | testName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
testName | : name of the test |
nbValue | : number of values to put in the reference list |
Definition at line 265 of file main.cpp.
References checkValue(), data_load(), and data_save().
bool testSimpleListValue | ( | const std::string & | testName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
testName | : name of the test |
nbValue | : number of values to put in the reference list |
Definition at line 109 of file main.cpp.
References checkValue(), data_load(), and data_save().
bool testSimpleMapValue | ( | const std::string & | testName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
testName | : name of the test |
nbValue | : number of values to put in the reference map |
Definition at line 145 of file main.cpp.
References checkValue(), data_load(), and data_save().
bool testSimpleValue | ( | const std::string & | testName, |
T | referenceValue | ||
) |
Abstract check of a value stored in a file.
testName | : name of the test |
referenceValue | : reference value |
Definition at line 20 of file main.cpp.
References checkValue(), data_load(), and data_save().
Referenced by testSimpleDataFile(), and testStringDataFile().
bool testSimpleVectorPairValue | ( | const std::string & | testName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
testName | : name of the test |
nbValue | : number of values to put in the reference vector |
Definition at line 206 of file main.cpp.
References checkValue(), data_load(), and data_save().
bool testSimpleVectorValue | ( | const std::string & | testName, |
size_t | nbValue | ||
) |
Abstract check of values stored in a file.
testName | : name of the test |
nbValue | : number of values to put in the reference vector |
Definition at line 74 of file main.cpp.
References checkValue(), data_load(), and data_save().
void testStringDataFile | ( | ) |
Test if data size is Ok.
Definition at line 319 of file main.cpp.
References data_stream_assert, createReleaseCurl::str, and testSimpleValue().
Referenced by main().
void testVectorDataFile | ( | ) |
Test if data size is Ok.
Definition at line 89 of file main.cpp.
References data_stream_assert.
Referenced by main().
void testVectorPairDataFile | ( | ) |
Test if data size is Ok.
Definition at line 244 of file main.cpp.
References data_stream_assert.
Referenced by main().