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

fix: Make HttpJsonTest generation depend on actual transport setting #105

Merged
merged 1 commit into from
Jun 17, 2022

Conversation

vam-google
Copy link
Contributor

No description provided.

@vam-google vam-google requested a review from a team as a code owner June 17, 2022 17:30
@@ -137,7 +137,9 @@ class BazelBuildFileView {
// Default service name as it appears in the proto.
: service;
javaTests.add(javaPackage + "." + actualService + "ClientTest");
javaTests.add(javaPackage + "." + actualService + "ClientHttpJsonTest");
if ("grpc+rest".equals(transport)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if transport is only "rest"? Shouldn't we include the test then as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is only rest, then the test is called just ClientTest. I.e. HttpJsonTests appear only if there is multitransport.

@vam-google vam-google merged commit df8d1f2 into googleapis:main Jun 17, 2022
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.

None yet

3 participants