summaryrefslogtreecommitdiff
path: root/src/unitsuite.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-04-10 17:23:35 +0000
committerMike Buland <eichlan@xagasoft.com>2007-04-10 17:23:35 +0000
commit903e7a1e3d4fe99e9de7f4adc1e401ba871caec9 (patch)
treeb907c597cf228d4fd58a771f1b65d559c2c01c89 /src/unitsuite.h
parentb6e100b94b12f3f92ec025dc2363eaf7c0ee6662 (diff)
downloadlibbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.gz
libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.bz2
libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.tar.xz
libbu++-903e7a1e3d4fe99e9de7f4adc1e401ba871caec9.zip
Wrote some cute file unit tests, and added some more error reporting to SFile.
Also fixed the stream system to use void * pointers instead of char *.
Diffstat (limited to '')
-rw-r--r--src/unitsuite.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unitsuite.h b/src/unitsuite.h
index 3502a1b..db249b2 100644
--- a/src/unitsuite.h
+++ b/src/unitsuite.h
@@ -56,5 +56,6 @@ namespace Bu
56{ \ 56{ \
57 throw Bu::UnitSuite::Failed( #tst, __FILE__, __LINE__ ); \ 57 throw Bu::UnitSuite::Failed( #tst, __FILE__, __LINE__ ); \
58} 58}
59#define unitFailed( msg ) throw Bu::UnitSuite::Failed(msg, __FILE__, __LINE__);
59 60
60#endif 61#endif