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

Untabify
author Chris Cannam
date Thu, 01 Mar 2018 18:02:22 +0000
parents 87ae75da6527
children 5afbac960a30
comparison
equal deleted inserted replaced
1428:87ae75da6527 1429:48e9f538e6e9
26 QCoreApplication app(argc, argv); 26 QCoreApplication app(argc, argv);
27 app.setOrganizationName("sonic-visualiser"); 27 app.setOrganizationName("sonic-visualiser");
28 app.setApplicationName("test-model"); 28 app.setApplicationName("test-model");
29 29
30 { 30 {
31 TestFFTModel t; 31 TestFFTModel t;
32 if (QTest::qExec(&t, argc, argv) == 0) ++good; 32 if (QTest::qExec(&t, argc, argv) == 0) ++good;
33 else ++bad; 33 else ++bad;
34 } 34 }
35 35
36 if (bad > 0) { 36 if (bad > 0) {
37 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl; 37 SVCERR << "\n********* " << bad << " test suite(s) failed!\n" << endl;
38 return 1; 38 return 1;
39 } else { 39 } else {
40 SVCERR << "All tests passed" << endl; 40 SVCERR << "All tests passed" << endl;
41 return 0; 41 return 0;
42 } 42 }
43 } 43 }
44 44