aboutsummaryrefslogtreecommitdiff
path: root/src/unitsuite.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-24 15:10:19 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-24 15:10:19 +0000
commitecc191f590f76584a14c9c51727412b0b7b3086e (patch)
treeb27ee434ed541ba3a386ff6a3238f66b9451ef22 /src/unitsuite.h
parent71191e311d949b1b7bdd74fc36a14306f492c181 (diff)
downloadlibbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.gz
libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.bz2
libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.tar.xz
libbu++-ecc191f590f76584a14c9c51727412b0b7b3086e.zip
Changed the Bu::Stream API, setSize is now standard. There may be a few more
things that should be added. A few of them still need to be implemented. I know that truncate for Bu::File is possible on windows, I've used it before, but hell if I can find it. Myriad also needs the setSize function completed.
Diffstat (limited to 'src/unitsuite.h')
-rw-r--r--src/unitsuite.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unitsuite.h b/src/unitsuite.h
index ad6bedb..7d026c2 100644
--- a/src/unitsuite.h
+++ b/src/unitsuite.h
@@ -61,6 +61,8 @@ namespace Bu
61 61
62 int run( int argc=0, char *argv[]=NULL ); 62 int run( int argc=0, char *argv[]=NULL );
63 63
64 void tempFile( Bu::FString &sFileName );
65
64 typedef void (UnitSuite::*Test)(); 66 typedef void (UnitSuite::*Test)();
65 67
66 class Failed 68 class Failed
@@ -105,6 +107,9 @@ namespace Bu
105 FString sSuiteName; 107 FString sSuiteName;
106 108
107 int iOptions; 109 int iOptions;
110
111 typedef Bu::List<Bu::FString> StrList;
112 StrList lFileCleanup;
108 }; 113 };
109} 114}
110 115