Mercurial > hg > svcore
comparison base/test/TestVampRealTime.h @ 1355:1a7687631136 3.0-integration
Fix inadequate #if guard for non-gcc builds
author | Chris Cannam |
---|---|
date | Mon, 09 Jan 2017 16:31:57 +0000 |
parents | 2001fe23e449 |
children | b7be05d57f0a |
comparison
equal
deleted
inserted
replaced
1354:97deefd38060 | 1355:1a7687631136 |
---|---|
30 class TestVampRealTime : public QObject | 30 class TestVampRealTime : public QObject |
31 { | 31 { |
32 Q_OBJECT | 32 Q_OBJECT |
33 | 33 |
34 void compareTexts(string s, const char *e) { | 34 void compareTexts(string s, const char *e) { |
35 QCOMPARE(QString(s.c_str()), QString(e)); | 35 cerr << "string obtained: \"" << s << "\"" << endl; |
36 QString actual(s.c_str()); | |
37 QString expected(e); | |
38 QCOMPARE(actual, expected); | |
36 } | 39 } |
37 | 40 |
38 typedef Vamp::RealTime RealTime; | 41 typedef Vamp::RealTime RealTime; |
39 typedef long frame_type; | 42 typedef long frame_type; |
40 | 43 |