From da1de5cdb5c42ce811a66d377789e585042b98c7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 14 Apr 2012 18:04:52 +0000 Subject: Added support for running subsets of unit tests to Bu::UnitSuite, now just list the names of the tests you want to run on the command line. Also, fixed some minor issues in two of the test suites. --- src/stable/unitsuite.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stable/unitsuite.h') diff --git a/src/stable/unitsuite.h b/src/stable/unitsuite.h index 2250a4d..6915fb4 100644 --- a/src/stable/unitsuite.h +++ b/src/stable/unitsuite.h @@ -13,6 +13,7 @@ #include "bu/string.h" #include "bu/file.h" #include "bu/array.h" +#include "bu/hash.h" namespace Bu { @@ -103,6 +104,7 @@ namespace Bu private: int onListCases( Bu::Array aParam ); + int onAddTest( Bu::Array aParam ); private: typedef struct TestInfo @@ -124,6 +126,8 @@ namespace Bu int iStepCount; int iProgress; time_t tLastUpdate; + + Bu::Hash hSelTests; }; Bu::Formatter &operator<<( Bu::Formatter &f, const Bu::UnitSuite::Expect &e ); -- cgit v1.2.3