diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-01 10:50:15 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-02-01 14:01:29 +0100 |
commit | 9f4c15a8e89d798077ca3edf7f786dbc740aa176 (patch) | |
tree | 878af38925ee08720418790d85b9938877aa452e /AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp | |
parent | 52a769615e476860f3e4c0196fdf7e5159a7a7c1 (diff) | |
download | audiomanager-9f4c15a8e89d798077ca3edf7f786dbc740aa176.tar.gz |
* implemented peeksinkclassIDs and peeksourceclassIDs
* changed interface of both from const to non-const
* corrected include headers to c++ style, eg. <cassert>
* corrected sendChangedData return type to void
* implemented tests for sinkclass and sourceclass peeking
* fixed bug in sockethandler (FD could not be removed) thanks to Frank
Diffstat (limited to 'AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp')
-rw-r--r-- | AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp index 9165fa2..1f1abea 100644 --- a/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp +++ b/AudioManagerDaemon/test/sockethandler/sockethandlerTest.cpp @@ -15,6 +15,9 @@ #include <fcntl.h> #include <sys/un.h> +//todo: expand test, implement more usecases +//todo: test removeFD + #define SOCK_PATH "/tmp/mysock" using namespace testing; |