Skip to content

Commit 7aec6cb

Browse files
committed
tests: Rename test method for clarity
1 parent fb6f162 commit 7aec6cb

File tree

4 files changed

+50
-50
lines changed

4 files changed

+50
-50
lines changed

Google.Api.Generator.Tests/ProtoTests/Lro/Lro.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ service Lro {
2828
option (google.api.method_signature) = "name";
2929
}
3030

31-
// Test an LRO RPC with customized default polling settings.
32-
rpc CustomDefaultPollingMethod(Request) returns(google.longrunning.Operation) {
31+
// Test an LRO RPC with polling settings specified in the service config.
32+
rpc ServiceConfigPollingMethod(Request) returns(google.longrunning.Operation) {
3333
option (google.longrunning.operation_info) = {
3434
response_type: "LroResponse"
3535
metadata_type: "LroMetadata"

Google.Api.Generator.Tests/ProtoTests/Lro/LroFakes.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public LroClient(CallInvoker callInvoker) { }
3636
public virtual Operation SignatureMethod(Request request, CallOptions options) => throw new NotImplementedException();
3737
public virtual AsyncUnaryCall<Operation> ResourcedMethodAsync(ResourceRequest request, CallOptions options) => throw new NotImplementedException();
3838
public virtual Operation ResourcedMethod(ResourceRequest request, CallOptions options) => throw new NotImplementedException();
39-
public virtual AsyncUnaryCall<Operation> CustomDefaultPollingMethodAsync(Request request, CallOptions options) => throw new NotImplementedException();
40-
public virtual Operation CustomDefaultPollingMethod(Request request, CallOptions options) => throw new NotImplementedException();
39+
public virtual AsyncUnaryCall<Operation> ServiceConfigPollingMethodAsync(Request request, CallOptions options) => throw new NotImplementedException();
40+
public virtual Operation ServiceConfigPollingMethod(Request request, CallOptions options) => throw new NotImplementedException();
4141
}
4242
}
4343

Google.Api.Generator.Tests/ProtoTests/Lro/ServiceConfig.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ apis:
88

99
publishing:
1010
method_settings:
11-
- selector: testing.lro.Lro.CustomDefaultPollingMethod
11+
- selector: testing.lro.Lro.ServiceConfigPollingMethod
1212
long_running:
1313
initial_poll_delay: 60s
1414
poll_delay_multiplier: 2

0 commit comments

Comments
 (0)