Mercurial > hg > svcore
diff data/fileio/test/svcore-data-fileio-test.cpp @ 1698:dbd13eb7dad1
Add tests for audio file readers presented with empty or nonsense input
author | Chris Cannam |
---|---|
date | Fri, 03 May 2019 13:33:53 +0100 |
parents | a77fc6da288b |
children | 83cb6e9d769b |
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp Tue Apr 23 16:17:13 2019 +0100 +++ b/data/fileio/test/svcore-data-fileio-test.cpp Fri May 03 13:33:53 2019 +0100 @@ -13,6 +13,7 @@ */ #include "AudioFileReaderTest.h" +#include "BogusAudioFileReaderTest.h" #include "AudioFileWriterTest.h" #include "EncodingTest.h" #include "MIDIFileReaderTest.h" @@ -65,6 +66,12 @@ } { + BogusAudioFileReaderTest t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; + } + + { EncodingTest t(testDir); if (QTest::qExec(&t, argc, argv) == 0) ++good; else ++bad;