-
Notifications
You must be signed in to change notification settings - Fork 639
Add remaining unit test coverage from CBMC changes to HTTP library #1116
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
Conversation
Codecov Report
@@ Coverage Diff @@
## development #1116 +/- ##
===============================================
+ Coverage 96.54% 98.85% +2.31%
===============================================
Files 9 4 -5
Lines 5643 1312 -4331
Branches 641 391 -250
===============================================
- Hits 5448 1297 -4151
+ Misses 9 0 -9
+ Partials 186 15 -171
Continue to review full report at Codecov.
|
TEST_ASSERT_EQUAL( HTTP_INSUFFICIENT_MEMORY, retCode ); | ||
|
||
/* Length of headers > length of buffer.*/ | ||
tearDown(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explicit call to teardown
is probably an indication that these should be separate tests. Though this PR is not introducing it, so approving it.
…ws#1116) * Remove extra wrapping parenthesis * Add remaining coverage for HTTPClient_Send and its private methods * Add remaining coverage for HTTPClient_AddRangeHeader
…ws#1116) * Remove extra wrapping parenthesis * Add remaining coverage for HTTPClient_Send and its private methods * Add remaining coverage for HTTPClient_AddRangeHeader
…ws#1116) * Remove extra wrapping parenthesis * Add remaining coverage for HTTPClient_Send and its private methods * Add remaining coverage for HTTPClient_AddRangeHeader
…ws#1116) * Remove extra wrapping parenthesis * Add remaining coverage for HTTPClient_Send and its private methods * Add remaining coverage for HTTPClient_AddRangeHeader
…ws#1116) * Remove extra wrapping parenthesis * Add remaining coverage for HTTPClient_Send and its private methods * Add remaining coverage for HTTPClient_AddRangeHeader
This adds unit tests for HTTPClient_Send and HTTPClient_ReadHeader
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.