aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pcm_all.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_pcm_all.hxx27
1 files changed, 15 insertions, 12 deletions
diff --git a/test/test_pcm_all.hxx b/test/test_pcm_all.hxx
index 2a0aa8628..7cdd8b63f 100644
--- a/test/test_pcm_all.hxx
+++ b/test/test_pcm_all.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -34,8 +34,6 @@ public:
void TestDither32();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmDitherTest);
-
class PcmPackTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(PcmPackTest);
CPPUNIT_TEST(TestPack24);
@@ -47,8 +45,6 @@ public:
void TestUnpack24();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmPackTest);
-
class PcmChannelsTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(PcmChannelsTest);
CPPUNIT_TEST(TestChannels16);
@@ -60,8 +56,6 @@ public:
void TestChannels32();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmChannelsTest);
-
class PcmVolumeTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(PcmVolumeTest);
CPPUNIT_TEST(TestVolume8);
@@ -79,8 +73,6 @@ public:
void TestVolumeFloat();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmVolumeTest);
-
class PcmFormatTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(PcmFormatTest);
CPPUNIT_TEST(TestFormat8to16);
@@ -96,8 +88,6 @@ public:
void TestFormatFloat();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmFormatTest);
-
class PcmMixTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(PcmMixTest);
CPPUNIT_TEST(TestMix8);
@@ -113,6 +103,19 @@ public:
void TestMix32();
};
-CPPUNIT_TEST_SUITE_REGISTRATION(PcmMixTest);
+class PcmExportTest : public CppUnit::TestFixture {
+ CPPUNIT_TEST_SUITE(PcmExportTest);
+ CPPUNIT_TEST(TestShift8);
+ CPPUNIT_TEST(TestPack24);
+ CPPUNIT_TEST(TestReverseEndian);
+ CPPUNIT_TEST(TestDop);
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ void TestShift8();
+ void TestPack24();
+ void TestReverseEndian();
+ void TestDop();
+};
#endif