-
Notifications
You must be signed in to change notification settings - Fork 385
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
refactor(generator): split DescriptorPoolFixture #10676
refactor(generator): split DescriptorPoolFixture #10676
Conversation
* | ||
* TEST_F(MyTest, Name) { | ||
* ASSERT_TRUE(AddProtoFile("foo.proto", contents)); | ||
* } |
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: @endcode
?
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.
Thanks, fixed.
/** | ||
* Implements a fixture for test using a `google::protobuf::DescriptorPool`. | ||
* | ||
* Some test need a properly initialized descriptor pool, with: |
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.
s/test/tests/
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.
Fixed
* | ||
* Some test need a properly initialized descriptor pool, with: | ||
* - the basic protobuf types and options already available | ||
* - connected to error collectors so the test fails with meaningful errors |
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.
s/connected to//
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.
Fixed
namespace generator_testing { | ||
|
||
/** | ||
* Implements a fixture for test using a `google::protobuf::DescriptorPool`. |
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.
optional: s/test using/testing with/ ?
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.
Fixed
Codecov ReportBase: 93.71% // Head: 93.70% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #10676 +/- ##
==========================================
- Coverage 93.71% 93.70% -0.01%
==========================================
Files 1692 1695 +3
Lines 152774 152786 +12
==========================================
+ Hits 143170 143174 +4
- Misses 9604 9612 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Part of the work for #7664
This change is