2011-10-09 13:22:08 +02:00
|
|
|
/*
|
2015-01-01 19:48:13 +01:00
|
|
|
* Copyright (C) 2003-2015 The Music Player Daemon Project
|
2011-10-09 13:22:08 +02:00
|
|
|
* http://www.musicpd.org
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
2013-01-31 20:45:19 +01:00
|
|
|
#include "test_pcm_all.hxx"
|
2013-10-16 21:55:00 +02:00
|
|
|
#include "Compiler.h"
|
2011-10-09 13:22:08 +02:00
|
|
|
|
2013-10-16 21:55:00 +02:00
|
|
|
#include <cppunit/extensions/TestFactoryRegistry.h>
|
|
|
|
#include <cppunit/ui/text/TestRunner.h>
|
2011-10-09 13:22:08 +02:00
|
|
|
|
2013-11-05 17:28:23 +01:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
2014-03-15 10:00:07 +01:00
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmDitherTest);
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmPackTest);
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmChannelsTest);
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmVolumeTest);
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmFormatTest);
|
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmMixTest);
|
2015-06-22 15:08:17 +02:00
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmInterleaveTest);
|
2014-08-12 22:05:38 +02:00
|
|
|
CPPUNIT_TEST_SUITE_REGISTRATION(PcmExportTest);
|
2014-03-15 10:00:07 +01:00
|
|
|
|
2011-10-09 13:22:08 +02:00
|
|
|
int
|
2013-10-16 21:55:00 +02:00
|
|
|
main(gcc_unused int argc, gcc_unused char **argv)
|
2011-10-09 13:22:08 +02:00
|
|
|
{
|
2013-10-16 21:55:00 +02:00
|
|
|
CppUnit::TextUi::TestRunner runner;
|
|
|
|
auto ®istry = CppUnit::TestFactoryRegistry::getRegistry();
|
|
|
|
runner.addTest(registry.makeTest());
|
|
|
|
return runner.run() ? EXIT_SUCCESS : EXIT_FAILURE;
|
2011-10-09 13:22:08 +02:00
|
|
|
}
|