Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ros2 - Add GPIO Tests #220

Merged
merged 17 commits into from
Feb 15, 2024
Merged

Ros2 - Add GPIO Tests #220

merged 17 commits into from
Feb 15, 2024

Conversation

pkowalsk1
Copy link
Contributor

No description provided.

@pkowalsk1 pkowalsk1 requested a review from KmakD January 23, 2024 11:58
Copy link
Contributor

@KmakD KmakD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing test for IsPinAvailable method
missing test for IsPinActive method
Dont we want to test CreateLineRequest? For exceptions like "No name defined for one of pins" etc.
Generally i think some private methods could be made protected and tested like HandleEdgeEvent

panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/CMakeLists.txt Outdated Show resolved Hide resolved
panther_gpiod/CMakeLists.txt Show resolved Hide resolved
panther_gpiod/README.md Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpiod.cpp Outdated Show resolved Hide resolved
pkowalsk1 and others added 4 commits January 24, 2024 11:27
Co-authored-by: Dawid Kmak <73443304+KmakD@users.noreply.github.com>
@pkowalsk1 pkowalsk1 requested a review from KmakD February 9, 2024 14:02
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
panther_gpiod/test/test_gpio_driver.cpp Outdated Show resolved Hide resolved
@pkowalsk1 pkowalsk1 requested a review from KmakD February 14, 2024 14:34
@KmakD KmakD merged commit 797187d into ros2-devel Feb 15, 2024
@KmakD KmakD deleted the ros2-add-gpio-tests branch February 15, 2024 09:28
@KmakD KmakD mentioned this pull request Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants