Fix "source" name issues for product_store#121
Conversation
|
@phlexbot format |
|
Code-formatting changes pushed (commit 1629297) |
|
No CMake formatting changes to make |
knoepfel
left a comment
There was a problem hiding this comment.
Thanks, @greenc-FNAL, for the PR. Just a few comments below.
1629297 to
56a8cc0
Compare
See #121 (comment) Co-authored-by: Kyle Knoepfel <knoepfel@fnal.gov>
|
@phlexbot format |
|
No CMake formatting changes to make |
|
Code-formatting changes pushed (commit a6aa7fd) |
a6aa7fd to
de920f3
Compare
See #121 (comment) Co-authored-by: Kyle Knoepfel <knoepfel@fnal.gov> Committing clang-format changes
de920f3 to
e4babca
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #121 +/- ##
==========================================
+ Coverage 80.22% 80.26% +0.04%
==========================================
Files 115 115
Lines 1906 1910 +4
Branches 302 302
==========================================
+ Hits 1529 1533 +4
Misses 247 247
Partials 130 130
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
@phlexbot format |
|
Code-formatting changes pushed (commit c30a3b9) |
|
No CMake formatting changes to make |
Fixes #120.
#120 reported that diagnostic output in tests was empty or malformed.
The malformed output was due to
product_storesaving astring_viewto a temporary string provided at construction time.The empty output had two different causes:
base()product store was not initialized with a name.hierarchical_nodes) creates child product stores without providing a name.strings are passed and saved rather thanstring_views.staticmember functionproduct_store::base()to accept an optionalbase_name, which defaults to "Source" if not provided.There remains a question of whether
product_store::make_child()should: