mbox series

[v3,0/2] cec: Timer Programming

Message ID cover.1625962440.git.deborahbrouwer3563@gmail.com (mailing list archive)
Headers show
Series cec: Timer Programming | expand

Message

Deborah Brouwer July 11, 2021, 12:37 a.m. UTC
This is part of an Outreachy project to expand the testing of
Timer Programming messages as handled by CEC adapters.

Changes since v2:
	Patch 1/2: cec: expand Timer Programming tests
	- use 3-character abbreviations for months
	- in set_timer tests, simplify the method for finding "tomorrow"
	- use fixed dates for timer_error tests
	- use full leap-year algorithm
	- add source type and recording sequence as ways to compare timers
	- add source type and recording sequence to print_timers()
	- replace timer field end_time with duration in seconds
	- replace timer_duplicate function with std::set::find
	- do not truncate overlapped timers, just set them with a warning
	Patch 2/2: cec-follower: emulate programmed timer recordings
	- new patch

Changes since v1:
	- rename functions for clarity
	- set most test timers as a function of current time, not fixed times
	- use time_t instead of struct tm to hold start/stop times
	- use std::set instead of std::list to hold timers
	- add repeat timers (recording sequence) emulation

Deborah Brouwer (2):
  cec: expand Timer Programming tests
  cec-follower: emulate programmed timer recordings

 utils/cec-compliance/cec-compliance.cpp |   1 +
 utils/cec-compliance/cec-compliance.h   |   1 +
 utils/cec-compliance/cec-test.cpp       | 512 ++++++++++++++++++++----
 utils/cec-follower/cec-follower.cpp     |  59 +++
 utils/cec-follower/cec-follower.h       |  44 ++
 utils/cec-follower/cec-processing.cpp   |  56 +++
 utils/cec-follower/cec-tuner.cpp        | 245 +++++++++++-
 7 files changed, 824 insertions(+), 94 deletions(-)