diff base/test/main.cpp @ 1022:eecf544bed92

Unit tests for StringBits::splitQuoted
author Chris Cannam
date Mon, 01 Dec 2014 15:42:58 +0000
parents ee9f4477f65b
children
line wrap: on
line diff
--- a/base/test/main.cpp	Mon Dec 01 10:18:55 2014 +0000
+++ b/base/test/main.cpp	Mon Dec 01 15:42:58 2014 +0000
@@ -14,6 +14,7 @@
 #include "TestRangeMapper.h"
 #include "TestPitch.h"
 #include "TestRealTime.h"
+#include "TestStringBits.h"
 
 #include <QtTest>
 
@@ -42,6 +43,11 @@
 	if (QTest::qExec(&t, argc, argv) == 0) ++good;
 	else ++bad;
     }
+    {
+	TestStringBits t;
+	if (QTest::qExec(&t, argc, argv) == 0) ++good;
+	else ++bad;
+    }
 
     if (bad > 0) {
 	cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl;