Added initial timing support. Individual test cases now display run time
information for verbosity >= v2. I'll probably add a command-line toggle specifically for timing info someday. I also hope to add per-test and per-suite run time info eventually as well. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
537842b6ee
commit
bb24170e40
@ -2,6 +2,7 @@
|
||||
#define _beos_test_listener_h_
|
||||
|
||||
#include <cppunit/TestListener.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
class CppUnit::Test;
|
||||
class CppUnit::TestFailure;
|
||||
@ -21,7 +22,9 @@ public:
|
||||
virtual void addFailure( const CppUnit::TestFailure &failure );
|
||||
virtual void endTest( CppUnit::Test *test );
|
||||
protected:
|
||||
void printTime(bigtime_t time);
|
||||
bool fOkay;
|
||||
bigtime_t startTime;
|
||||
};
|
||||
|
||||
#endif // _beos_test_listener_h_
|
||||
|
Loading…
x
Reference in New Issue
Block a user