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

impl(internal/language): refactor TestGo_MessageNames #664

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

julieqiu
Copy link
Member

Refactor TestGo_MessageNames into a parameterized test, and remove the use of newTestAPI since the state argument is unnecessary. The state parameter exists solely because GoCodec needs to implement the Codec interface.

Additionally, explicitly document that state is not utilized by either GoCodec.MessageName or GoCodec.FQMessageName.

Refactor `TestGo_MessageNames` into a parameterized test, and remove the
use of `newTestAPI` since the `state` argument is unnecessary. The
`state` parameter exists solely because `GoCodec` needs to implement the
`Codec` interface.

Additionally, explicitly document that `state` is not utilized by either
`GoCodec.MessageName` or `GoCodec.FQMessageName`.
Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.51%. Comparing base (9427edb) to head (5084486).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #664   +/-   ##
=======================================
  Coverage   95.51%   95.51%           
=======================================
  Files          31       31           
  Lines        1181     1181           
=======================================
  Hits         1128     1128           
  Misses         53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julieqiu julieqiu requested a review from coryan January 11, 2025 17:52
@julieqiu julieqiu merged commit 26c39b2 into googleapis:main Jan 11, 2025
14 checks passed
@julieqiu julieqiu deleted the pr1 branch January 11, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants