7 #include "StringTools.h"
10 #include "TestHello.h"
19 /*----------------------------------------------------------------------*\
21 \*---------------------------------------------------------------------*/
23 /*--------------------------------------*\
25 \*-------------------------------------*/
27 /*--------------------------------------*\
29 \*-------------------------------------*/
31 static bool testALL();
33 /*--------------------------------------*\
35 \*-------------------------------------*/
39 /*----------------------------------------------------------------------*\
41 \*---------------------------------------------------------------------*/
43 /*--------------------------------------*\
45 \*-------------------------------------*/
49 bool isOk
= testALL();
51 cout
<< "\nisOK = " << isOk
<< endl
;
53 return isOk
? EXIT_SUCCESS
: EXIT_FAILURE
;
56 /*--------------------------------------*\
58 \*-------------------------------------*/
62 int deviceId
=Device::getDeviceId();
66 testSuite
.add(std::auto_ptr
< Suite
> (new TestHello(deviceId
)));
68 string titre
= "deviceId_" + StringTools::toString(deviceId
);
70 return runTestHtml(titre
, testSuite
); // Attention: html create in working directory!!
71 //return runTestConsole(titre, testSuite);
74 /*----------------------------------------------------------------------*\
76 \*---------------------------------------------------------------------*/