googleapis / googleapis/google-cloud-java

[sdk-platform-java] showcase test: refactor and migrate client interceptors to TestClientInitializer

未关闭
#12,439 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: cleanup
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

context: https://github.com/googleapis/sdk-platform-java/pull/2737#discussion_r1591547671

There are a couple of slightly different flavored client interceptors implemented for tests. e.g. [ITApiVersionHeaders.java](https://github.com/googleapis/sdk-platform-java/pull/2737/files/219c8fdb150a33a9f2e44c442f4e91a586000ead#diff-0c74baec42410162926db3ec4be8e8f2c04fd9d6cf214ef5bbf407e7e350f0b5) [ITAutoPopulatedFields.java](showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITAutoPopulatedFields.java) [ITDynamicRoutingHeaders.java](showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/ITDynamicRoutingHeaders.java). We should try to migrate them into TestClientInitializer.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。