Skip to content

Commit

Permalink
common-io: Refactoring and updates to Temp Sensor test cases (aws#1932)
Browse files Browse the repository at this point in the history
* Refactored and updated tsensor test cases. Added TEST_PROTECT sections and reworked AFQP_IotTsensorTriggerMinThreshold and AFQP_IotTsensorTriggerMaxThreshold. Updated expected return values based on what is defined by the API header file

* Updated AFQP_IotTsensorCalibrationSuccess to test NULL buffer

* Moved semaphore creation into setup phase and added test asserts to check for NULL return

* Create/delete semaphore for each test case

Co-authored-by: Max Wennerfeldt <[email protected]>
Co-authored-by: qiutongs <songqt01@gmail,com>
  • Loading branch information
3 people authored May 19, 2020
1 parent a34c8f2 commit 7eac471
Showing 1 changed file with 177 additions and 129 deletions.
Loading

0 comments on commit 7eac471

Please sign in to comment.