-
Notifications
You must be signed in to change notification settings - Fork 100
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
ParamPassing: sdfwarns to sdf::Errors when warnings policy set to sdf::EnforcementPolicy::ERR #1135
Conversation
Codecov Report
@@ Coverage Diff @@
## sdf13 #1135 +/- ##
==========================================
- Coverage 87.53% 87.53% -0.01%
==========================================
Files 124 124
Lines 16143 16144 +1
==========================================
Hits 14131 14131
- Misses 2012 2013 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: Marco A. Gutierrez <[email protected]>
Signed-off-by: Marco A. Gutierrez <[email protected]>
a5ea05e
to
ba83968
Compare
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.
Just minor commenst. LGTM, otherwise!
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Marco A. Gutierrez <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Marco A. Gutierrez <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Marco A. Gutierrez <[email protected]>
Signed-off-by: Marco A. Gutierrez <[email protected]>
826ff15
to
031064f
Compare
Signed-off-by: Marco A. Gutierrez [email protected]
🎉 New feature
Work towards #820.
Summary
Makes warnings to be reported through
sdf::Errors
when the warnings policy is set tosdf::EnforcementPolicy::ERR
in theParamPassing
class .Since the tests added here directly test the specific messages on the specific functions of the
ParamPassing
class, they have been added to ParamPassing_TEST.cc instead of the integration test error_output.cc, but let me know if you think it's should be different.Test it
When using the
ParamPassing
class and setting the warnings policy tosdf::EnforcementPolicy::ERR
warnings should be reported through in thesdf::Errors
structure, they should be printed if the policy is different.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.