-
Notifications
You must be signed in to change notification settings - Fork 44
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
Test refactoring part 3 #464
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## gz-transport12 #464 +/- ##
==================================================
- Coverage 87.23% 85.64% -1.60%
==================================================
Files 60 60
Lines 5211 5211
==================================================
- Hits 4546 4463 -83
- Misses 665 748 +83 ☔ View full report in Codecov by Sentry. |
b10196d
to
70ee1a0
Compare
@caguero to take a look. |
@osrf-jenkins run tests please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good to me besides:
- Some minor comments.
- CI seems unhappy.
test/test_utils.hh
Outdated
|
||
/// \brief Get the randomly generated partition for this test | ||
/// \return string value of the partition | ||
protected: [[nodiscard]] std::string Partition() const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Opening bracket in the next line.
test/test_utils.hh
Outdated
} | ||
|
||
/// \brief Clean up the test fixture | ||
protected: void TearDown() override { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Opening bracket in the next line.
std::make_unique<gz::utils::Subprocess>(_commandLine, environment); | ||
} | ||
|
||
private: std::string prevPartition; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Missing doxygen doc for these members.
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
5efc81c
to
d4966cc
Compare
@caguero I'm going to just retarget this to main. It was targeted to |
Signed-off-by: Michael Carroll <[email protected]>
Continuation of #463