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

[MockHardware] Use consequently 'mock' instead of 'fake'. #1026

Merged
merged 1 commit into from
May 19, 2023

Conversation

destogl
Copy link
Member

@destogl destogl commented May 17, 2023

Now use consequntly mock instead of fake.

@codecov-commenter
Copy link

Codecov Report

Merging #1026 (158517e) into master (925f5f3) will decrease coverage by 1.91%.
The diff coverage is 35.60%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #1026      +/-   ##
==========================================
- Coverage   34.61%   32.71%   -1.91%     
==========================================
  Files          52       91      +39     
  Lines        2981     9567    +6586     
  Branches     1855     6441    +4586     
==========================================
+ Hits         1032     3130    +2098     
- Misses        310      705     +395     
- Partials     1639     5732    +4093     
Flag Coverage Δ
unittests 32.71% <35.60%> (-1.91%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
controller_manager/src/controller_manager.cpp 38.27% <ø> (-1.44%) ⬇️
controller_manager/src/ros2_control_node.cpp 0.00% <0.00%> (ø)
..._interface/include/hardware_interface/actuator.hpp 100.00% <ø> (ø)
...re_interface/include/hardware_interface/sensor.hpp 100.00% <ø> (ø)
...re_interface/include/hardware_interface/system.hpp 100.00% <ø> (ø)
hardware_interface/src/resource_manager.cpp 49.91% <ø> (-3.72%) ⬇️
hardware_interface/src/sensor.cpp 50.52% <ø> (ø)
hardware_interface/src/system.cpp 55.45% <ø> (ø)
...rface/test/mock_components/test_generic_system.cpp 9.66% <ø> (ø)
...dware_interface/test/test_component_interfaces.cpp 32.44% <ø> (+4.25%) ⬆️
... and 68 more

... and 19 files with indirect coverage changes

@bmagyar bmagyar merged commit 7174a1d into master May 19, 2023
1 check passed
@destogl destogl added the backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble. label Jun 5, 2023
mergify bot pushed a commit that referenced this pull request Jun 5, 2023
(cherry picked from commit 7174a1d)

# Conflicts:
#	hardware_interface/include/mock_components/generic_system.hpp
#	hardware_interface/src/mock_components/generic_system.cpp
#	hardware_interface/test/mock_components/test_generic_system.cpp
@destogl destogl deleted the convert-all-fake-to-mock branch June 5, 2023 13:26
destogl added a commit that referenced this pull request Jun 7, 2023
…1026) – And deprecate parameters. (#1051)

* Use consequently 'mock' instead of 'fake'. (#1026)

(cherry picked from commit 7174a1d)

# Conflicts:
#	hardware_interface/include/mock_components/generic_system.hpp
#	hardware_interface/src/mock_components/generic_system.cpp
#	hardware_interface/test/mock_components/test_generic_system.cpp

---------

Co-authored-by: Dr. Denis <[email protected]>
flochre pushed a commit to flochre/ros2_control that referenced this pull request Jul 5, 2023
…os-controls#1026) – And deprecate parameters. (ros-controls#1051)

* Use consequently 'mock' instead of 'fake'. (ros-controls#1026)

(cherry picked from commit 7174a1d)

# Conflicts:
#	hardware_interface/include/mock_components/generic_system.hpp
#	hardware_interface/src/mock_components/generic_system.cpp
#	hardware_interface/test/mock_components/test_generic_system.cpp

---------

Co-authored-by: Dr. Denis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants