Mercurial > hg > svcore
comparison base/test/main.cpp @ 1012:ee9f4477f65b
Start RealTime tests
author | Chris Cannam |
---|---|
date | Mon, 17 Nov 2014 17:09:32 +0000 |
parents | 451f7f3ab6e7 |
children | eecf544bed92 |
comparison
equal
deleted
inserted
replaced
991:1974859baba5 | 1012:ee9f4477f65b |
---|---|
11 COPYING included with this distribution for more information. | 11 COPYING included with this distribution for more information. |
12 */ | 12 */ |
13 | 13 |
14 #include "TestRangeMapper.h" | 14 #include "TestRangeMapper.h" |
15 #include "TestPitch.h" | 15 #include "TestPitch.h" |
16 #include "TestRealTime.h" | |
16 | 17 |
17 #include <QtTest> | 18 #include <QtTest> |
18 | 19 |
19 #include <iostream> | 20 #include <iostream> |
20 | 21 |
34 { | 35 { |
35 TestPitch t; | 36 TestPitch t; |
36 if (QTest::qExec(&t, argc, argv) == 0) ++good; | 37 if (QTest::qExec(&t, argc, argv) == 0) ++good; |
37 else ++bad; | 38 else ++bad; |
38 } | 39 } |
40 { | |
41 TestRealTime t; | |
42 if (QTest::qExec(&t, argc, argv) == 0) ++good; | |
43 else ++bad; | |
44 } | |
39 | 45 |
40 if (bad > 0) { | 46 if (bad > 0) { |
41 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; | 47 cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; |
42 return 1; | 48 return 1; |
43 } else { | 49 } else { |