nasa / bplib

Apache License 2.0
27 stars 13 forks source link

Add UT handler for bplib_os_get_dtntime_ms #217

Closed jphickey closed 1 year ago

jphickey commented 1 year ago

Is your feature request related to a problem? Please describe. The function bplib_os_get_dtntime_ms() returns a 64-bit value. As such, the default handler built into UT assert does not provide a return value because it only handles 32-bit quanities.

Describe the solution you'd like A default handler should be provided to produce the required 64-bit value.

Describe alternatives you've considered A custom handler would need to be provided every time the stub function was used.

Additional context Adding this makes testing easier.

Requester Info Joseph Hickey, Vantage Systems, Inc.