summaryrefslogtreecommitdiff
path: root/src/unitsuite.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-01-07 16:48:35 +0000
committerMike Buland <eichlan@xagasoft.com>2009-01-07 16:48:35 +0000
commitaba7c45c2c69d402d1b6fc427cde5bfa4661a0e1 (patch)
tree5b3849a8190cdb8742b1f43f4b8bbb43c73ababe /src/unitsuite.h
parent45e065bc4fc93731ea9a0543462bc7cf9e6084d7 (diff)
downloadlibbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.gz
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.bz2
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.tar.xz
libbu++-aba7c45c2c69d402d1b6fc427cde5bfa4661a0e1.zip
Corrected a couple of places where std:: classes were being used and shouldn't
have been. Also made the Unit tests actually use expected values, so you can mark a test as "expected fail" and it'll know. It also prints out cute reports at the end of each run.
Diffstat (limited to 'src/unitsuite.h')
-rw-r--r--src/unitsuite.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unitsuite.h b/src/unitsuite.h
index d75211a..97a1aec 100644
--- a/src/unitsuite.h
+++ b/src/unitsuite.h
@@ -9,7 +9,7 @@
9#define BU_UNIT_SUITE_H 9#define BU_UNIT_SUITE_H
10 10
11#include <stdint.h> 11#include <stdint.h>
12#include <list> 12#include "bu/list.h"
13#include "fstring.h" 13#include "fstring.h"
14 14
15namespace Bu 15namespace Bu
@@ -97,9 +97,10 @@ namespace Bu
97 { 97 {
98 FString sName; 98 FString sName;
99 Test fTest; 99 Test fTest;
100 Expect eExpect;
100 } TestInfo; 101 } TestInfo;
101 102
102 typedef std::list<TestInfo> TestList; 103 typedef Bu::List<TestInfo> TestList;
103 TestList lTests; 104 TestList lTests;
104 FString sSuiteName; 105 FString sSuiteName;
105 106