From 7292af7c475c61920987ec498144a3fd1e90f1e8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 20 Jan 2011 18:16:38 +0000 Subject: Updated with new Bu::String. --- src/unit/basic.unit | 8 ++++---- src/unit/io.unit | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/unit') diff --git a/src/unit/basic.unit b/src/unit/basic.unit index c27b70c..369e095 100644 --- a/src/unit/basic.unit +++ b/src/unit/basic.unit @@ -52,10 +52,10 @@ suite Basic test string { - Bu::List lStrs; + Bu::List lStrs; Bu::MemBuf mb; - lStrs.append( Bu::FString() ); + lStrs.append( Bu::String() ); Gats::String("").write( mb ); { @@ -66,7 +66,7 @@ suite Basic } for( int j = 1; j <= (1<<16); j=j<<1 ) { - Bu::FString s( j ); + Bu::String s( j ); for( int x = 0; x < j; x++ ) { s[x] = (unsigned char)(random()%256); @@ -78,7 +78,7 @@ suite Basic mb.setPos( 0 ); - for( Bu::List::iterator i = lStrs.begin(); i; i++ ) + for( Bu::List::iterator i = lStrs.begin(); i; i++ ) { Gats::Object *pObj = Gats::Object::read( mb ); if( pObj->getType() != Gats::typeString ) diff --git a/src/unit/io.unit b/src/unit/io.unit index 2cd8376..1a9747f 100644 --- a/src/unit/io.unit +++ b/src/unit/io.unit @@ -26,7 +26,7 @@ suite Basic { test basic { - Bu::FString sTmpFileName("temp-XXXXXXXXX"); + Bu::String sTmpFileName("temp-XXXXXXXXX"); Bu::File fIo = tempFile( sTmpFileName ); { @@ -60,7 +60,7 @@ suite Basic test spacers { - Bu::FString sTmpFileName("temp-XXXXXXXXX"); + Bu::String sTmpFileName("temp-XXXXXXXXX"); Bu::File fIo = tempFile( sTmpFileName ); { @@ -94,7 +94,7 @@ suite Basic test biggerSpacers { - Bu::FString sTmpFileName("temp-XXXXXXXXX"); + Bu::String sTmpFileName("temp-XXXXXXXXX"); Bu::File fIo = tempFile( sTmpFileName ); { -- cgit v1.2.3