ola icon indicating copy to clipboard operation
ola copied to clipboard

Feature Request: RDM test: SetRealTimeClockBadData

Open ssilverman opened this issue 7 years ago • 1 comments

It would be nice to have an RDM test that tries to set out-of-range real-time-clock data.

ssilverman avatar Nov 08 '18 00:11 ssilverman

Want to have a go @ssilverman ? It should be pretty easy by combining these two test definitions: https://github.com/OpenLightingProject/ola/blob/master/tools/rdm/TestDefinitions.py#L3952-L3978

You may want to do both obvious failures (e.g. month 13), and more subtle ones (Feb 30th, or even Feb 29th on a non-leap year). You may also want to run a sequence of tests (e.g. a 2D array), so you can tell the user which bit failed to NAck.

peternewman avatar Nov 08 '18 00:11 peternewman