Commit Graph

87 Commits

Author SHA1 Message Date
Ed
415bd8605d Disable assert in uint test as we intentionally exercise this condition 2024-04-30 09:58:04 +01:00
Ed
d8cc579518 Extend queue unit test for under/overflow 2024-04-29 15:05:26 +01:00
Ed
d57559764f Remove byte API from UT helper 2024-04-29 10:17:43 +01:00
Ed
6562a35b73 Add queue full unit test 2024-04-26 10:59:42 +01:00
Ed
c2da737961 sysex parse test 2024-04-26 10:53:52 +01:00
Ed
4e4a026261 Review feedback 2024-04-25 10:57:33 +01:00
Ed
a3670d6b85 Copyright and port clash fix 2024-04-24 12:45:26 +01:00
Ed
655612c673 Manual setUp in HID unity tests 2024-04-24 12:27:23 +01:00
Ed
e83bbf51cf Review feedback 2024-04-24 12:01:52 +01:00
Ed
cd497a0c78 Add debug on fail and lengthen unit tests 2024-04-19 16:59:40 +01:00
Ed
9a8dfea641 xrun -> xsim 2024-04-19 10:42:23 +01:00
Ed
25cd5ffafc Rejig runner gen 2024-04-19 10:34:56 +01:00
Ed
82f7649079 Jenkins using xcommon cmake for UT 2024-04-19 08:32:16 +01:00
Ed
7853807790 Working xcommon cmake unit test build 2024-04-19 08:14:00 +01:00
Ed
fb6cdbb57b Nearly working xcommon cmake UT 2024-04-18 16:48:52 +01:00
Ed
5822ec7037 Initial copy of lib_ic UT cmake 2024-04-18 15:31:09 +01:00
Ed
7967275001 Queue unit tests 2024-04-18 09:34:33 +01:00
Ed
b15eb3a329 Make sure dir is off cwd 2024-04-17 15:21:22 +01:00
Ed
36b32a36db Initial queue unit test 2024-04-17 15:12:41 +01:00
Ed
2fbeb47191 Midi parse test passing 2024-04-15 10:38:19 +01:00
Ed
255ca79718 WIP unit test for midi parse 2024-04-12 17:29:58 +01:00
xross
b17cc0de6d Copyright and licence comments 2022-08-08 11:15:50 +01:00
xross
a0f5591e0b Auto-format via black 2022-07-21 13:10:47 +01:00
xross
638a4f0d16 Bulk copyright comment update 2022-06-01 14:47:58 +01:00
xross
206a895b74 xpd: Cleaned up whitespace 2022-06-01 14:21:44 +01:00
Michael Banther
769bfa1a5a Remove unnecessary HID functionality (#243)
* Include HID report functionality only when the HID feature is enabled
* Define HID_CONTROLS=1 so HID unit tests work correctly
2022-02-21 13:20:52 +00:00
Angel Cascarino
c60da7fd82 Reversed renaming function to avoid upversioning 2022-01-11 17:57:18 +00:00
Angel Cascarino
45ab345521 Update copyright 2022-01-11 16:35:44 +00:00
Angel Cascarino
692c4ee7ed Missed brace 2022-01-11 16:31:07 +00:00
Angel Cascarino
5fa86dabbb Updated unit tests to remove "reportAll" tests 2022-01-11 16:27:28 +00:00
Ciaran Woodward
cb774f3c11 Modify unit test report descriptor to match the working 3610 2021-12-23 12:38:27 +00:00
Ciaran Woodward
466cc0abbb Fix the handling of setidle requests 2021-12-22 16:29:03 +00:00
Ciaran Woodward
e7f9428731 Fix typos in unit tests 2021-12-20 17:34:01 +00:00
Ciaran Woodward
6400e146d0 Add an iterator style mechanism for iterating through report IDs 2021-12-20 17:26:08 +00:00
Ciaran Woodward
d3d9b5ba23 Add hidReportIdInUse command to determine whether report IDs are used 2021-12-17 14:35:23 +00:00
Ciaran Woodward
c3e95a379f Add some report time tests & fix comments] 2021-12-15 12:44:39 +00:00
Ciaran Woodward
5be97ac227 Begin work on setidle unit tests 2021-12-14 14:15:48 +00:00
Ciaran Woodward
71dd8b5409 Add descriptor validation function & fix issues it found
Note this is in progress, I either want to move the check function somewhere else,
or convert the printf calls to something else (I imagine some kind of log function
exists?)
2021-12-10 18:00:04 +00:00
Ciaran Woodward
548ccebb27 Propegate constants and helper macro around codebase 2021-12-10 11:32:04 +00:00
Ciaran Woodward
3895b486ab Add constants header for common constants; helper macro for header 2021-12-10 10:45:54 +00:00
Ciaran Woodward
353d7c3c8d Fix merge issues 2021-12-09 17:28:16 +00:00
Ciaran Woodward
5f971af054 Merge remote-tracking branch 'michael/feature/multiple_hid_reports' into feature/multiple_hid_reports_tests 2021-12-09 17:19:04 +00:00
mbanth
2b5dab51b5 Add explicit initialization of static variables in hid_report.c 2021-12-09 16:15:29 +00:00
Ciaran Woodward
19be25809b Fix implementation of hidGetReportIdLimit to match docs & usage 2021-12-09 16:10:28 +00:00
mbanth
26cac1abb1 Update includes of xua_hid_report.h 2021-12-09 15:58:51 +00:00
Ciaran Woodward
1b186a0c2f Remove test-specific information from hid_report_descriptor.h 2021-12-09 14:55:38 +00:00
Ciaran Woodward
ed7a33b40f Write a bunch of unit tests that exercise the HID report IDs 2021-12-09 11:45:03 +00:00
Ciaran Woodward
459ce6bd63 Begin building up a set of multi-report unit tests
This work is starting by expanding the tests written for
single report purposes. I have also added a couple of
extra simple tests that made sense (under/overflow of
report IDs) as I went along.
2021-12-08 17:55:33 +00:00
Ciaran Woodward
3819f30ad0 Enable waf building unit tests in different confgurations 2021-12-08 15:47:15 +00:00
Ciaran Woodward
79e256f829 Update existing unit tests to work with the new API 2021-12-08 12:34:14 +00:00