diff options
Diffstat (limited to 'src/unitsuite.h')
-rw-r--r-- | src/unitsuite.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/unitsuite.h b/src/unitsuite.h index d27e322..d75211a 100644 --- a/src/unitsuite.h +++ b/src/unitsuite.h | |||
@@ -81,9 +81,15 @@ namespace Bu | |||
81 | { | 81 | { |
82 | optStopOnError = 0x000001 | 82 | optStopOnError = 0x000001 |
83 | }; | 83 | }; |
84 | |||
85 | enum Expect | ||
86 | { | ||
87 | expectPass, | ||
88 | expectFail | ||
89 | }; | ||
84 | 90 | ||
85 | protected: | 91 | protected: |
86 | void add( Test fTest, Bu::FString sName ); | 92 | void add( Test fTest, const Bu::FString &sName, Expect e=expectPass ); |
87 | void setName( const FString &sName ); | 93 | void setName( const FString &sName ); |
88 | 94 | ||
89 | private: | 95 | private: |