Mercurial > hg > svcore
view data/fileio/test/main.cpp @ 864:6d07bcc844a1 tonioni
sample id instead of plugin data
author | Chris Cannam |
---|---|
date | Tue, 07 Jan 2014 13:09:53 +0000 |
parents | e802e550a1f2 |
children | eb6b6a88faed |
line wrap: on
line source
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Copyright Chris Cannam - All Rights Reserved */ #include "AudioFileReaderTest.h" #include <QtTest> #include <iostream> int main(int argc, char *argv[]) { int good = 0, bad = 0; QCoreApplication app(argc, argv); app.setOrganizationName("Sonic Visualiser"); app.setApplicationName("test-fileio"); { AudioFileReaderTest t; if (QTest::qExec(&t, argc, argv) == 0) ++good; else ++bad; } if (bad > 0) { cerr << "\n********* " << bad << " test suite(s) failed!\n" << endl; return 1; } else { cerr << "All tests passed" << endl; return 0; } }