[TVChannel] Throw InvalidValues in getChannelList
authorPrzemyslaw Ciezkowski <p.ciezkowski@samsung.com>
Tue, 17 Feb 2015 13:28:49 +0000 (14:28 +0100)
committerPawel Andruszkiewicz <p.andruszkie@samsung.com>
Wed, 18 Feb 2015 14:42:57 +0000 (23:42 +0900)
commitf4bb7ac3c7784a76bf01691e5b56e1436dad886e
tree3ed35ed987bf23f0a82c1f7c17d6bf0da0346096
parenteb9ffeabddf99464e9ad9ff03aee72d99bf5a521
[TVChannel] Throw InvalidValues in getChannelList

Throw exception when nStart or number arguments are lower
than 0.

[Verification]
Fixes tests:
ChannelManager_getChannelList_negative_nStart
ChannelManager_getChannelList_negative_number

Change-Id: I94f5cb55c92c352724c872e91a190d3204aef783
Signed-off-by: Przemyslaw Ciezkowski <p.ciezkowski@samsung.com>
src/tvchannel/tvchannel_api.js