-
Notifications
You must be signed in to change notification settings - Fork 614
Remove test duplication #2494
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
Remove test duplication #2494
Conversation
This merges the ObjectValue and MutableObjectValue tests. They used to be different since we had ObjectValue and ObjectValueBuilder. The PR also makes an effort to remove test duplication, but makes no guarantees here.
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (87880934) is created by Prow via merging commits: 7bcedca 327c3bf. |
Binary Size ReportAffected SDKsNo changes between base commit (7bcedca) and head commit (87880934). Test Logs
NotesHead commit (87880934) is created by Prow via merging commits: 7bcedca 327c3bf. |
private Value emptyObject = Value.newBuilder().setMapValue(MapValue.getDefaultInstance()).build(); | ||
|
||
@Test | ||
public void supportsEmptyObjectValues() { |
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: All of the other test methods in this class have their names prefixed with "test". Can you rename supportsEmptyObjectValues
to also follow this convention?
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.
Done
This merges the ObjectValue and MutableObjectValue tests. They used to be different since we had ObjectValue and ObjectValueBuilder. The PR also makes an effort to remove test duplication, but makes no guarantees here.