PhoenixMock  1.8.7
Tools to split/merge/print mock used in Phoenix
phoenix_check.h
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 
8 
9 #ifndef __PHOENIX_CHECK_H__
10 #define __PHOENIX_CHECK_H__
11 
12 #include <vector>
13 #include <list>
14 #include "phoenix_isOk.h"
15 
16 template<typename T>
17 bool phoenix_check(const std::string & testName, const T & val, const T & reference);
18 
19 bool phoenix_check(const std::string & testName, const std::string & val, const std::string & reference);
20 
21 bool phoenix_check(const std::string & testName, const std::vector<std::string> & listVal, const std::vector<std::string> & listRef);
22 bool phoenix_check(const std::string & testName, const std::list<std::string> & listVal, const std::list<std::string> & listRef);
23 
24 bool phoenix_check_fileContent(const std::string & testName, const std::string & fileName, const std::string & expectedContent);
25 
26 #include "phoenix_check_impl.h"
27 
28 #endif
phoenix_check
bool phoenix_check(const std::string &testName, const T &val, const T &reference)
Check two value.
Definition: phoenix_check_impl.h:20
phoenix_check_fileContent
bool phoenix_check_fileContent(const std::string &testName, const std::string &fileName, const std::string &expectedContent)
Check the content of a file.
Definition: phoenix_check.cpp:71
phoenix_isOk.h
phoenix_check_impl.h