summaryrefslogtreecommitdiffstats
path: root/libkmime/tests/test_kmime_codec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/tests/test_kmime_codec.cpp')
-rw-r--r--libkmime/tests/test_kmime_codec.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkmime/tests/test_kmime_codec.cpp b/libkmime/tests/test_kmime_codec.cpp
index eb758ea7c..3d32f36b4 100644
--- a/libkmime/tests/test_kmime_codec.cpp
+++ b/libkmime/tests/test_kmime_codec.cpp
@@ -58,7 +58,7 @@ void usage( const char * msg=0 ) {
" --with-crlf use CRLF instead of LF in output\n"
" --iterations <number> do more than one iteration\n"
" default: 1\n"
- " --usage-pattern { kio | chunkwise | convenience-qba }\n"
+ " --usage-pattern { tdeio | chunkwise | convenience-qba }\n"
" use a certain usage pattern to be tested\n"
" (default: chunkwise)\n"
" --without-finish don't call the finish() method\n"
@@ -81,7 +81,7 @@ static bool withCRLF = false;
static bool withFinish = true;
static bool verbose = false;
-void encode_decode_kio( bool, const Codec *, const TQByteArray &, TQFile & );
+void encode_decode_tdeio( bool, const Codec *, const TQByteArray &, TQFile & );
void encode_decode_chunkwise( bool, const Codec *,
const TQByteArray &, TQFile & );
void encode_decode_convenience_qba( bool, const Codec *, const TQByteArray &,
@@ -138,7 +138,7 @@ int main( int argc, char * argv[] ) {
verbose = true;
break;
case 9: // usage-pattern
- if ( !tqstricmp( "kio", optarg ) )
+ if ( !tqstricmp( "tdeio", optarg ) )
pattern = Kio;
else if ( !tqstricmp( "chunkwise", optarg ) )
pattern = ChunkWise;
@@ -216,7 +216,7 @@ int main( int argc, char * argv[] ) {
encode_decode_chunkwise( encode, codec, infile_buffer, outfile );
break;
case Kio:
- encode_decode_kio( encode, codec, infile_buffer, outfile );
+ encode_decode_tdeio( encode, codec, infile_buffer, outfile );
break;
case ConvenienceTQBA:
encode_decode_convenience_qba( encode, codec, infile_buffer, outfile );
@@ -277,7 +277,7 @@ void decode_tdeio_internal( Decoder * dec, TQByteArray::ConstIterator & iit,
out.truncate( oit - out.begin() );
}
-void encode_decode_kio( bool encode, const Codec * codec,
+void encode_decode_tdeio( bool encode, const Codec * codec,
const TQByteArray & infile_buffer, TQFile & outfile )
{