summaryrefslogtreecommitdiffstats
path: root/libkmime
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:02:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 21:02:00 +0200
commit533bad2a1503973aaf8186691422c2eda91d02d4 (patch)
treef7e52f62416048859aa9bde8425e20aac0e7c669 /libkmime
parent8144d5434bbd1c4448a37695aed6ad3d348043d8 (diff)
downloadtdepim-533bad2a1503973aaf8186691422c2eda91d02d4.tar.gz
tdepim-533bad2a1503973aaf8186691422c2eda91d02d4.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'libkmime')
-rwxr-xr-xlibkmime/tests/run_codec_tests2
-rw-r--r--libkmime/tests/test_kmime_codec.cpp10
2 files changed, 6 insertions, 6 deletions
diff --git a/libkmime/tests/run_codec_tests b/libkmime/tests/run_codec_tests
index 62908eeec..ccc27b945 100755
--- a/libkmime/tests/run_codec_tests
+++ b/libkmime/tests/run_codec_tests
@@ -4,7 +4,7 @@ TEST="./test_kmime_codec"
#BUFFER_SIZES="$(seq 7)"
#BUFFER_SIZES="$(seq 5) 15 16 17 23 24 25 31 32 33 4096"
BUFFER_SIZES="$(seq 17) 23 24 25 31 32 33 4096"
-USAGE_PATTERNS="chunkwise kio"
+USAGE_PATTERNS="chunkwise tdeio"
oldDirName=""
encoding=""
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 )
{