X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDRO_tests%2FTestLib_Listener.h;h=5bb456e67ac0de670e5e8a497511f233a775533c;hb=3bece499e83cc9ca95536228c7f6740030e9d5d8;hp=8953a29d7e1b4ea21c18987cd047ed0bd4105ccf;hpb=98fde663cb36c97eec9f7972709d43b860973f48;p=modules%2Fhydro.git diff --git a/src/HYDRO_tests/TestLib_Listener.h b/src/HYDRO_tests/TestLib_Listener.h index 8953a29d..5bb456e6 100644 --- a/src/HYDRO_tests/TestLib_Listener.h +++ b/src/HYDRO_tests/TestLib_Listener.h @@ -19,6 +19,8 @@ #pragma once #include +#include +#include typedef long long INT64; ///< the cross-platform type definition for 64-bits integer @@ -34,6 +36,9 @@ public: void Clear(); INT64 GetCompleteTimeInMS() const; + int GetNbTests() const; + int GetNbSuites() const; + void DumpFailures(); virtual void startTest( CppUnit::Test* ); virtual void endTest( CppUnit::Test* ); @@ -46,5 +51,8 @@ public: private: INT64 myStart; ///< start time in milliseconds INT64 myComplete; ///< complete time of all tests execution in milliseconds + int myNbTests; + int myNbSuites; + std::vector myFailures; };