Index: webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/echo_path_simulation_unittest.py |
diff --git a/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/echo_path_simulation_unittest.py b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/echo_path_simulation_unittest.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..be7153ec6794394f72519afad6826467238cf043 |
--- /dev/null |
+++ b/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/echo_path_simulation_unittest.py |
@@ -0,0 +1,26 @@ |
+# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
+# |
+# Use of this source code is governed by a BSD-style license |
+# that can be found in the LICENSE file in the root of the source |
+# tree. An additional intellectual property rights grant can be found |
+# in the file PATENTS. All contributing project authors may |
+# be found in the AUTHORS file in the root of the source tree. |
+ |
+"""Unit tests for the echo path simulation module. |
+""" |
+ |
+import unittest |
+ |
+from . import echo_path_simulation |
+ |
+ |
+class TestEvalScores(unittest.TestCase): |
+ """Unit tests for the eval_scores module. |
+ """ |
+ |
+ def testRegisteredClasses(self): |
+ # Check that there is at least one registered echo path simulator. |
+ registered_classes = ( |
+ echo_path_simulation.EchoPathSimulator.REGISTERED_CLASSES) |
+ self.assertIsInstance(registered_classes, dict) |
+ self.assertGreater(len(registered_classes), 0) |