summaryrefslogtreecommitdiffstats
path: root/tdeio/tests
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-05-08 21:43:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-05-08 21:43:39 +0200
commit7f328ba6990044b0a9d510060a2dcd468cf0fd9f (patch)
treefa0fb5f2955c91a030b4c244667818fd4f72f070 /tdeio/tests
parentd2f1ad161d5a3e5c672980146846936e2474fa2b (diff)
downloadtdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.tar.gz
tdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.zip
Add XZ tdeioslave
Based on KDE GIT commit bbe9e8f5
Diffstat (limited to 'tdeio/tests')
-rw-r--r--tdeio/tests/kfiltertest.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tdeio/tests/kfiltertest.cpp b/tdeio/tests/kfiltertest.cpp
index 1922e207e..f16b957ab 100644
--- a/tdeio/tests/kfiltertest.cpp
+++ b/tdeio/tests/kfiltertest.cpp
@@ -94,11 +94,14 @@ int main()
getcwd( currentdir, PATH_MAX );
TQString pathgz = TQFile::decodeName(currentdir) + "/test.gz";
TQString pathbz2 = TQFile::decodeName(currentdir) + "/test.bz2";
+ TQString pathxz = TQFile::decodeName(currentdir) + "/test.xz";
kdDebug() << " -- test_block_write gzip -- " << endl;
test_block_write(pathgz);
kdDebug() << " -- test_block_write bzip2 -- " << endl;
test_block_write(pathbz2);
+ kdDebug() << " -- test_block_write xz -- " << endl;
+ test_block_write(pathxz);
kdDebug() << " -- test_block gzip -- " << endl;
test_block(pathgz);
@@ -114,5 +117,12 @@ int main()
kdDebug() << " -- test_textstream bzip2 -- " << endl;
test_textstream(pathbz2);
+ kdDebug() << " -- test_block xz -- " << endl;
+ test_block(pathxz);
+ kdDebug() << " -- test_getch xz -- " << endl;
+ test_getch(pathxz);
+ kdDebug() << " -- test_textstream xz -- " << endl;
+ test_textstream(pathxz);
+
return 0;
}