aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-25 02:29:05 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-25 02:29:05 +0000
commita0c6e974a3393642bda80fed5bce464a6c6cf2ec (patch)
tree30e3098bb9a4da43bf5f94bd1e1944e070144615 /src/unit
parentecc191f590f76584a14c9c51727412b0b7b3086e (diff)
downloadlibbu++-a0c6e974a3393642bda80fed5bce464a6c6cf2ec.tar.gz
libbu++-a0c6e974a3393642bda80fed5bce464a6c6cf2ec.tar.bz2
libbu++-a0c6e974a3393642bda80fed5bce464a6c6cf2ec.tar.xz
libbu++-a0c6e974a3393642bda80fed5bce464a6c6cf2ec.zip
We now have a portable tempfile function, cool, it compiles on windows.
Fixed a bug in Socket, it wasn't closing the socket in all exception cases. Also fixed a few things in the unit test framework, going to add some more helpers soon.
Diffstat (limited to 'src/unit')
-rw-r--r--src/unit/myriad.unit3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unit/myriad.unit b/src/unit/myriad.unit
index cf861a3..ed121cc 100644
--- a/src/unit/myriad.unit
+++ b/src/unit/myriad.unit
@@ -76,8 +76,7 @@ suite Myriad
76 { 76 {
77 FString sFileName("myriad-XXXXXXX"); 77 FString sFileName("myriad-XXXXXXX");
78 78
79 tempFile( sFileName ); 79 File fMyriad = tempFile( sFileName );
80 File fMyriad( sFileName, File::WriteNew|File::Read );
81 Myriad m( fMyriad ); 80 Myriad m( fMyriad );
82 m.initialize( 64 ); 81 m.initialize( 64 );
83 82