comparison base/test/svcore-base-test.cpp @ 1429:48e9f538e6e9

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents 87ae75da6527
children f04038819c26
comparison
equal deleted inserted replaced
1428:87ae75da6527 1429:48e9f538e6e9
31 QCoreApplication app(argc, argv); 31 QCoreApplication app(argc, argv);
32 app.setOrganizationName("sonic-visualiser"); 32 app.setOrganizationName("sonic-visualiser");
33 app.setApplicationName("test-svcore-base"); 33 app.setApplicationName("test-svcore-base");
34 34
35 { 35 {
36 TestRangeMapper t; 36 TestRangeMapper t;
37 if (QTest::qExec(&t, argc, argv) == 0) ++good; 37 if (QTest::qExec(&t, argc, argv) == 0) ++good;
38 else ++bad; 38 else ++bad;
39 } 39 }
40 { 40 {
41 TestPitch t; 41 TestPitch t;
42 if (QTest::qExec(&t, argc, argv) == 0) ++good; 42 if (QTest::qExec(&t, argc, argv) == 0) ++good;
43 else ++bad; 43 else ++bad;
44 } 44 }
45 { 45 {
46 TestOurRealTime t; 46 TestOurRealTime t;
47 if (QTest::qExec(&t, argc, argv) == 0) ++good; 47 if (QTest::qExec(&t, argc, argv) == 0) ++good;
48 else ++bad; 48 else ++bad;
49 } 49 }
50 { 50 {
51 TestVampRealTime t; 51 TestVampRealTime t;
52 if (QTest::qExec(&t, argc, argv) == 0) ++good; 52 if (QTest::qExec(&t, argc, argv) == 0) ++good;
53 else ++bad; 53 else ++bad;
54 } 54 }
55 { 55 {
56 TestStringBits t; 56 TestStringBits t;
57 if (QTest::qExec(&t, argc, argv) == 0) ++good; 57 if (QTest::qExec(&t, argc, argv) == 0) ++good;
58 else ++bad; 58 else ++bad;
59 } 59 }
60 { 60 {
61 TestColumnOp t; 61 TestColumnOp t;
62 if (QTest::qExec(&t, argc, argv) == 0) ++good; 62 if (QTest::qExec(&t, argc, argv) == 0) ++good;
63 else ++bad; 63 else ++bad;
64 } 64 }
65 { 65 {
66 TestLogRange t; 66 TestLogRange t;
67 if (QTest::qExec(&t, argc, argv) == 0) ++good; 67 if (QTest::qExec(&t, argc, argv) == 0) ++good;
68 else ++bad; 68 else ++bad;
69 } 69 }
70 { 70 {
71 TestScaleTickIntervals t; 71 TestScaleTickIntervals t;
72 if (QTest::qExec(&t, argc, argv) == 0) ++good; 72 if (QTest::qExec(&t, argc, argv) == 0) ++good;
73 else ++bad; 73 else ++bad;
74 } 74 }
75 75
76 if (bad > 0) { 76 if (bad > 0) {
77 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; 77 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl;
78 return 1; 78 return 1;