diff data/fileio/test/svcore-data-fileio-test.cpp @ 1867:2654bf447a84

CSV reader tests and fixes - avoid creating null events for lines in which the timings could not be read
author Chris Cannam
date Thu, 11 Jun 2020 14:09:59 +0100
parents 021556fcd30b
children
line wrap: on
line diff
--- a/data/fileio/test/svcore-data-fileio-test.cpp	Thu Jun 11 14:07:56 2020 +0100
+++ b/data/fileio/test/svcore-data-fileio-test.cpp	Thu Jun 11 14:09:59 2020 +0100
@@ -18,6 +18,7 @@
 #include "EncodingTest.h"
 #include "MIDIFileReaderTest.h"
 #include "CSVFormatTest.h"
+#include "CSVReaderTest.h"
 #include "CSVStreamWriterTest.h"
 
 #include "system/Init.h"
@@ -90,6 +91,12 @@
     }
 
     {
+        CSVReaderTest t(testDir);
+        if (QTest::qExec(&t, argc, argv) == 0) ++good;
+        else ++bad;
+    }
+
+    {
         CSVStreamWriterTest t;
         if (QTest::qExec(&t, argc, argv) == 0) ++good;
         else ++bad;