Mercurial > hg > svcore
comparison base/test/main.cpp @ 883:4cc8265c4611
RangeMapperTest -> TestRangeMapper
author | Chris Cannam |
---|---|
date | Thu, 06 Feb 2014 10:14:19 +0000 |
parents | eb6b6a88faed |
children | 451f7f3ab6e7 |
comparison
equal
deleted
inserted
replaced
881:816c751a7979 | 883:4cc8265c4611 |
---|---|
9 published by the Free Software Foundation; either version 2 of the | 9 published by the Free Software Foundation; either version 2 of the |
10 License, or (at your option) any later version. See the file | 10 License, or (at your option) any later version. See the file |
11 COPYING included with this distribution for more information. | 11 COPYING included with this distribution for more information. |
12 */ | 12 */ |
13 | 13 |
14 #include "RangeMapperTest.h" | 14 #include "TestRangeMapper.h" |
15 | 15 |
16 #include <QtTest> | 16 #include <QtTest> |
17 | 17 |
18 #include <iostream> | 18 #include <iostream> |
19 | 19 |
24 QCoreApplication app(argc, argv); | 24 QCoreApplication app(argc, argv); |
25 app.setOrganizationName("Sonic Visualiser"); | 25 app.setOrganizationName("Sonic Visualiser"); |
26 app.setApplicationName("test-svcore-base"); | 26 app.setApplicationName("test-svcore-base"); |
27 | 27 |
28 { | 28 { |
29 RangeMapperTest t; | 29 TestRangeMapper t; |
30 if (QTest::qExec(&t, argc, argv) == 0) ++good; | 30 if (QTest::qExec(&t, argc, argv) == 0) ++good; |
31 else ++bad; | 31 else ++bad; |
32 } | 32 } |
33 | 33 |
34 if (bad > 0) { | 34 if (bad > 0) { |