aboutsummaryrefslogtreecommitdiff
path: root/src/unitsuite.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unitsuite.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/unitsuite.h b/src/unitsuite.h
index 74aac6f..ddd3835 100644
--- a/src/unitsuite.h
+++ b/src/unitsuite.h
@@ -10,8 +10,9 @@
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include "bu/list.h" 12#include "bu/list.h"
13#include "fstring.h" 13#include "bu/fstring.h"
14#include "bu/file.h" 14#include "bu/file.h"
15#include "bu/array.h"
15 16
16namespace Bu 17namespace Bu
17{ 18{
@@ -96,6 +97,9 @@ namespace Bu
96 void setName( const FString &sName ); 97 void setName( const FString &sName );
97 98
98 private: 99 private:
100 int onListCases( Bu::Array<Bu::FString> aParam );
101
102 private:
99 typedef struct TestInfo 103 typedef struct TestInfo
100 { 104 {
101 FString sName; 105 FString sName;
@@ -113,6 +117,8 @@ namespace Bu
113 StrList lFileCleanup; 117 StrList lFileCleanup;
114 int iNameWidth; 118 int iNameWidth;
115 }; 119 };
120
121Bu::Formatter &operator<<( Bu::Formatter &f, const Bu::UnitSuite::Expect &e );
116} 122}
117 123
118#define addTest( fn ) add( static_cast<Bu::UnitSuite::Test>(&fn), #fn ) 124#define addTest( fn ) add( static_cast<Bu::UnitSuite::Test>(&fn), #fn )