PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
main.cpp
Go to the documentation of this file.
1
2
/***************************************
3
Auteur : Pierre Aubert
4
Mail : pierre.aubert@lapp.in2p3.fr
5
Licence : CeCILL-C
6
****************************************/
7
8
#include <iostream>
9
#include "
phoenix_assert.h
"
10
#include "
phoenix_whoami.h
"
11
13
void
testStringWhoAmI
(){
14
std::string name(
phoenix_whoami
());
15
phoenix_assert
(name !=
""
);
16
}
17
18
int
main
(
int
argc,
char
** argv){
19
testStringWhoAmI
();
20
return
0;
21
}
22
testStringWhoAmI
void testStringWhoAmI()
Test the whoami function.
Definition:
main.cpp:13
phoenix_whoami
std::string phoenix_whoami()
Get the name of the current user.
Definition:
phoenix_whoami.cpp:13
phoenix_assert
#define phoenix_assert(isOk)
Definition:
phoenix_assert.h:19
phoenix_whoami.h
phoenix_assert.h
main
int main(int argc, char **argv)
Definition:
main.cpp:85
tmp_project
StringUtils
TESTS
TEST_WHOAMI
main.cpp
Generated on Mon Dec 9 2024 15:33:41 for PhoenixMock by
1.8.17