Mercurial > hg > svcore
diff base/test/svcore-base-test.cpp @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | 48e9f538e6e9 |
children | f04038819c26 |
line wrap: on
line diff
--- a/base/test/svcore-base-test.cpp Tue Apr 17 10:03:51 2018 +0100 +++ b/base/test/svcore-base-test.cpp Tue Apr 17 10:35:42 2018 +0100 @@ -33,51 +33,51 @@ app.setApplicationName("test-svcore-base"); { - TestRangeMapper t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestRangeMapper t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { - TestPitch t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestPitch t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { TestOurRealTime t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { TestVampRealTime t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { - TestStringBits t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestStringBits t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { - TestColumnOp t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestColumnOp t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { - TestLogRange t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestLogRange t; + if (QTest::qExec(&t, argc, argv) == 0) ++good; + else ++bad; } { - TestScaleTickIntervals t; - if (QTest::qExec(&t, argc, argv) == 0) ++good; - else ++bad; + TestScaleTickIntervals 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; + SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; + return 1; } else { - cerr << "All tests passed" << endl; - return 0; + SVCERR << "All tests passed" << endl; + return 0; } }