Add event_groups.c Unit Test (#536)

* Added event_groups.c Unit Test.

* Formatted and more comments.

* Formatted

* Split some test cases and add comment and coverage tag.

* Update test cases.

* Remove xEventGroupDelete Invalid Input test case, since the implementation does not handle this.
This commit is contained in:
Ming Yue 2021-04-01 01:57:42 -07:00 committed by GitHub
parent 19271ddc8d
commit fb0c517148
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 952 additions and 4 deletions

View file

@ -7,11 +7,12 @@ export CC ?= /usr/local/bin/gcc
export LD ?= /usr/local/bin/ld
# Add units here when adding a new unit test directory with the same name
UNITS += list
#UNITS += list
#UNITS += queue
#UNITS += timers
UNITS += stream_buffer
UNITS += message_buffer
#UNITS += timers
#UNITS += stream_buffer
#UNITS += message_buffer
UNITS += event_groups
COVINFO := $(BUILD_DIR)/cmock_test.info
LCOV_LIST := $(foreach unit,$(UNITS),$(GENERATED_DIR)/$(unit).info )