You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The unit test does not individually validate all of the values that "param_id" may have. This did not show up in the LCOV reports previously. However a recent PR changed the table lookup to a switch() block, the LCOV branch coverage now shows these param_id values as untested cases in the switch.
Describe the solution you'd like
Should add test cases to get back to 100% line and branch coverage.
Additional context
Note this was always the case, but it just didn't show up in the LCOV because of the code structure. Now it does.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
Rewrites the unit test on this function in order to get full line coverage.
This needs to call the routine with every defined param ID to get each case.
Is your feature request related to a problem? Please describe.
The unit test does not individually validate all of the values that "param_id" may have. This did not show up in the LCOV reports previously. However a recent PR changed the table lookup to a
switch()
block, the LCOV branch coverage now shows these param_id values as untested cases in the switch.Describe the solution you'd like
Should add test cases to get back to 100% line and branch coverage.
Additional context
Note this was always the case, but it just didn't show up in the LCOV because of the code structure. Now it does.
Requester Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: