diff data/fileio/test/svcore-data-fileio-test.cpp @ 1345:c0cdacc47f4e 3.0-integration

Add filename encoding tests
author Chris Cannam
date Fri, 06 Jan 2017 12:11:08 +0000
parents 24c0d4c5356e
children 75ad55315db4
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp	Fri Jan 06 11:21:09 2017 +0000
+++ b/data/fileio/test/svcore-data-fileio-test.cpp	Fri Jan 06 12:11:08 2017 +0000
@@ -13,6 +13,7 @@
 */
 
 #include "AudioFileReaderTest.h"
+#include "EncodingTest.h"
 
 #include <QtTest>
 
@@ -32,6 +33,12 @@
 	else ++bad;
     }
 
+    {
+	EncodingTest t;
+	if (QTest::qExec(&t, argc, argv) == 0) ++good;
+	else ++bad;
+    }
+
     if (bad > 0) {
 	cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;
 	return 1;