diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2013-07-18 15:37:39 +0500 |
---|---|---|
committer | Christian Linke <christian.linke@bmw.de> | 2013-07-19 09:13:39 +0200 |
commit | 2b06ee2a8d4b20c05f5f25b7357cae765ec864a8 (patch) | |
tree | a635786f912bcb3c7c6beb737f4e771748064489 /AudioManagerDaemon/test | |
parent | c4bbd5a3b5d1d9c857ad2c8ff7b2d8e7be5668fa (diff) | |
download | audiomanager-2b06ee2a8d4b20c05f5f25b7357cae765ec864a8.tar.gz |
Fix for bug 78: AmNodeStateCommunicatorTest throws a runtime exception
- Fixed data type issues
- Fixed some error log messages
- Modified the way for reading XML file
- Explicitly type cast the variables before sending message to
sendLifeCycleRequest interface
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Diffstat (limited to 'AudioManagerDaemon/test')
-rw-r--r-- | AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py index 3b6cad3..c7e8bf5 100644 --- a/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py +++ b/AudioManagerDaemon/test/AmNodeStateCommunicatorTest/send2nsm.py @@ -53,7 +53,7 @@ def LifecycleRequest(Request,RequestID): bus = dbus.SessionBus() remote_object = bus.get_object('org.genivi.NodeStateManager','/org/genivi/NodeStateManager') iface = dbus.Interface(remote_object, 'org.genivi.NodeStateManager.Control') - iface.sendLifeCycleRequest(Request,RequestID) + iface.sendLifeCycleRequest(dbus.UInt32(Request),dbus.UInt32(RequestID)) command=sys.argv[1] if command=="nodeState": |