Mercurial > hg > svcore
comparison base/test/svcore-base-test.cpp @ 1622:172bd3374adf single-point
Add (disabled by default) stress test for EventSeries
author | Chris Cannam |
---|---|
date | Mon, 11 Mar 2019 09:53:28 +0000 |
parents | 24dc8cb42755 |
children | 52705a328b34 |
comparison
equal
deleted
inserted
replaced
1621:cf5196881e3e | 1622:172bd3374adf |
---|---|
19 #include "TestOurRealTime.h" | 19 #include "TestOurRealTime.h" |
20 #include "TestVampRealTime.h" | 20 #include "TestVampRealTime.h" |
21 #include "TestColumnOp.h" | 21 #include "TestColumnOp.h" |
22 #include "TestMovingMedian.h" | 22 #include "TestMovingMedian.h" |
23 #include "TestEventSeries.h" | 23 #include "TestEventSeries.h" |
24 #include "StressEventSeries.h" | |
24 | 25 |
25 #include "system/Init.h" | 26 #include "system/Init.h" |
26 | 27 |
27 #include <QtTest> | 28 #include <QtTest> |
28 | 29 |
88 { | 89 { |
89 TestEventSeries t; | 90 TestEventSeries t; |
90 if (QTest::qExec(&t, argc, argv) == 0) ++good; | 91 if (QTest::qExec(&t, argc, argv) == 0) ++good; |
91 else ++bad; | 92 else ++bad; |
92 } | 93 } |
93 | 94 /* |
95 { | |
96 StressEventSeries t; | |
97 if (QTest::qExec(&t, argc, argv) == 0) ++good; | |
98 else ++bad; | |
99 } | |
100 */ | |
101 | |
94 if (bad > 0) { | 102 if (bad > 0) { |
95 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; | 103 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; |
96 return 1; | 104 return 1; |
97 } else { | 105 } else { |
98 SVCERR << "All tests passed" << endl; | 106 SVCERR << "All tests passed" << endl; |