-
Couldn't load subscription status.
- Fork 642
Shadow initial commit #1081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shadow initial commit #1081
Conversation
- refine implementation for Shadow_MatchTopic - added logs for shadow library - added more negative test cases - added comments to by pass MISRA 5_2, 5_4
Will remove it after shadow demo is merged
- rename SHADOW_TOPIC_STRING_TYPE_GET to ShadowTopicStringTypeGet and other enums - fix test case test_Shadow_MacrosString, test_Shadow_MacrosLength miss matched expected/observed for TEST_ASSERT_EQUAL - added logs for BAD parameters - fixed typo
- rename return code SHADOW_STATUS_XXX to SHADOW_XXX - split test cases for invalid parameters into Happy_Path/Invalid_Parameters
Codecov Report
@@ Coverage Diff @@
## development #1081 +/- ##
===============================================
+ Coverage 96.54% 98.31% +1.77%
===============================================
Files 9 4 -5
Lines 5643 1189 -4454
Branches 641 369 -272
===============================================
- Hits 5448 1169 -4279
+ Misses 9 0 -9
+ Partials 186 20 -166
Continue to review full report at Codecov.
|
- fixed 5.4 by shorten the macro names, and used abbreviation for operation, the comments will explain the macro is related to which operation - simplfiy parameters internal function extractThingName - added getShadowOperationString, getShadowOperationLength to avoid indexing into the array with the value of the enum - fixed typo in shadow_utest.c
- fixed grammer issue - remove unused header file
* Shadow LTS initial commit: - added shadow library src folder - added utest for shadow to test shadow library APIs and MACROS Co-authored-by: DanielYEHsieh <wnf007z@example.com> Co-authored-by: Hsieh <dhs@amazon.com>
* Shadow LTS initial commit: - added shadow library src folder - added utest for shadow to test shadow library APIs and MACROS Co-authored-by: DanielYEHsieh <wnf007z@example.com> Co-authored-by: Hsieh <dhs@amazon.com>
* Shadow LTS initial commit: - added shadow library src folder - added utest for shadow to test shadow library APIs and MACROS Co-authored-by: DanielYEHsieh <wnf007z@example.com> Co-authored-by: Hsieh <dhs@amazon.com>
* Shadow LTS initial commit: - added shadow library src folder - added utest for shadow to test shadow library APIs and MACROS Co-authored-by: DanielYEHsieh <wnf007z@example.com> Co-authored-by: Hsieh <dhs@amazon.com>
Shadow LTS library
Description of changes:
Added Shadow library
utest code
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.