ACM test are modified to run with both ACM1 and ACM2.
Beside the changes in test files. acm2/acm_generic_codec.cc and acm2/audio_coding_module_impl.cc are modified to fix a bug.
Also, nack{.cc, .h, _unittest.cc} are removed form main/sourc as nack files in both ACM1 and ACM2 are essentially identical.
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/2192005
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4908 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/main/test/TestFEC.h b/webrtc/modules/audio_coding/main/test/TestFEC.h
index 9439112..af3cdd7 100644
--- a/webrtc/modules/audio_coding/main/test/TestFEC.h
+++ b/webrtc/modules/audio_coding/main/test/TestFEC.h
@@ -8,19 +8,21 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef TEST_FEC_H
-#define TEST_FEC_H
+#ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TESTFEC_H_
+#define WEBRTC_MODULES_AUDIO_CODING_MAIN_TESTFEC_H_
+#include "webrtc/modules/audio_coding/main/test/ACMTest.h"
+#include "webrtc/modules/audio_coding/main/test/Channel.h"
+#include "webrtc/modules/audio_coding/main/test/PCMFile.h"
#include "webrtc/system_wrappers/interface/scoped_ptr.h"
-#include "ACMTest.h"
-#include "Channel.h"
-#include "PCMFile.h"
namespace webrtc {
+class Config;
+
class TestFEC : public ACMTest {
public:
- TestFEC();
+ explicit TestFEC(const Config& config);
~TestFEC();
void Perform();
@@ -45,4 +47,4 @@
} // namespace webrtc
-#endif
+#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TESTFEC_H_