summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorMatt Jordan <mjordan@digium.com>2015-06-27 17:53:37 -0500
committerMatt Jordan <mjordan@digium.com>2015-07-11 11:24:58 -0500
commit2325b106fd61817d6be65195b5568945cd5e3084 (patch)
tree0f4389cf553d3f8c25c48520a1aa201186f441b2 /pbx
parent328f0be806cc8236288c8760007ab149a865a196 (diff)
tests/test_devicestate: Add additional tests for the device state API
This patch adds more tests that exercise the device state API. This includes: * Tests that cover adding a device state provider, as well as deleting a device state provider. This also verifies that you cannot add an already added device state provider, and cannot delete an already deleted device state provider. * A test that covers changing device state and receiving said updates from a device state subscriber. This also covers hitting both the device state cache as well as a custom device state provider. * A test that covers converting device state to channel state and device state values to a string representation and back. * A test that covers obtaining device state from an active channel and a channel driver that provides its own device state. Change-Id: I2adca67ffb405cd8625a5d6df1e3f9b3d945c08d
Diffstat (limited to 'pbx')
0 files changed, 0 insertions, 0 deletions