Refactor BinaryQueue and tests 63/227963/13
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Tue, 17 Mar 2020 12:56:58 +0000 (13:56 +0100)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Wed, 25 Mar 2020 19:20:31 +0000 (20:20 +0100)
commit5d910c593a7787cbde88c818c5a3ac8fc753ff0c
treeeae68db70a2978e8936a60b1c6e951876c85949b
parent22d7ce9b325028cc6d54450753157029a7cd40a3
Refactor BinaryQueue and tests

- Increase code coverage by removing code
- Check NULL/0 argument values
- Simplify buckets
- Adjust tests
- 50% negative tests

Change-Id: I39bc58b0809798313a26cf13a35668028bbf3be4
src/manager/dpl/core/include/dpl/binary_queue.h
src/manager/dpl/core/src/binary_queue.cpp
tests/test_binary-queue.cpp