summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/test/CommonFunctions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/test/CommonFunctions.cpp')
-rw-r--r--AudioManagerDaemon/test/CommonFunctions.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/AudioManagerDaemon/test/CommonFunctions.cpp b/AudioManagerDaemon/test/CommonFunctions.cpp
index 1504412..b62169e 100644
--- a/AudioManagerDaemon/test/CommonFunctions.cpp
+++ b/AudioManagerDaemon/test/CommonFunctions.cpp
@@ -27,6 +27,10 @@
#include "CommandInterfaceBackdoor.h"
#include "RoutingInterfaceBackdoor.h"
#include "ControlInterfaceBackdoor.h"
+#include <assert.h>
+#include <sstream>
+
+using namespace am;
CommandInterfaceBackdoor::CommandInterfaceBackdoor() {
}
@@ -87,9 +91,9 @@ bool ControlInterfaceBackdoor::replaceController(ControlSender *controlSender, C
}
-int GetRandomNumber(int nLow, int nHigh) {
- return (rand() % (nHigh - nLow + 1)) + nLow;
-}
+//int GetRandomNumber(int nLow, int nHigh) {
+// return (rand() % (nHigh - nLow + 1)) + nLow;
+//}
bool equalSoundProperty(const am_SoundProperty_s a,
const am_SoundProperty_s b) {