aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKarol Latecki <karolx.latecki@intel.com>2016-10-21 12:21:38 -0400
committerKarol Latecki <karolx.latecki@intel.com>2017-01-19 13:32:18 +0000
commitc603d3ed138c0fe8a0944baf499c271aae620bc2 (patch)
treee2eec73c47192cc5cc63fea3f2ece7581229e7cf /test
parentaf7f90313b4f97cdfa401615b99beb2aeaa67f96 (diff)
tldk: fix possibility of tle_event_active() from DOWN to UP
Docstring in tle_event.h for tle_event_active() only describes possibility of activating event from IDLE state. Also re-added previously failing test case. Change-Id: Ib9e19b6b3e64cc2836337b6a86884f312df73858 Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Diffstat (limited to 'test')
-rw-r--r--test/gtest/test_tle_udp_event.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gtest/test_tle_udp_event.cpp b/test/gtest/test_tle_udp_event.cpp
index c7c25a0..c012ccc 100644
--- a/test/gtest/test_tle_udp_event.cpp
+++ b/test/gtest/test_tle_udp_event.cpp
@@ -125,6 +125,7 @@ INSTANTIATE_TEST_CASE_P(Default, udp_event_state_active_twice,
event_state_active_twice{TLE_SEV_IDLE, TLE_SEV_DOWN, TLE_SEV_DOWN},
event_state_active_twice{TLE_SEV_IDLE, TLE_SEV_UP, TLE_SEV_UP},
event_state_active_twice{TLE_SEV_DOWN, TLE_SEV_IDLE, TLE_SEV_DOWN},
+ event_state_active_twice{TLE_SEV_DOWN, TLE_SEV_UP, TLE_SEV_DOWN},
event_state_active_twice{TLE_SEV_DOWN, TLE_SEV_DOWN, TLE_SEV_DOWN},
event_state_active_twice{TLE_SEV_UP, TLE_SEV_IDLE, TLE_SEV_UP},
event_state_active_twice{TLE_SEV_UP, TLE_SEV_DOWN, TLE_SEV_UP},