Skip to content

Commit

Permalink
fix: Make HttpJsonTest generation depend on actual transport setting (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google committed Jun 17, 2022
1 parent 4d24580 commit df8d1f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
javaTests.add(javaPackage + "." + actualService + "ClientHttpJsonTest");
}
}

actualImports.addAll(extraImports);
Expand Down

0 comments on commit df8d1f2

Please sign in to comment.