Sha256: 4af13584353b002b97a0a65f1f8252a42848ed2ed9e2bf9b7f0815e560dd1d20

Contents?: true

Size: 840 Bytes

Versions: 2

Compression:

Stored size: 840 Bytes

Contents

<%- assert_locals service -%>
# frozen_string_literal: true

<%= render partial: "shared/license" %>
require "simplecov"
require "minitest/autorun"

require "gapic/grpc/service_stub"

require "<%= service.proto_service_require %>"
require "<%= service.proto_services_require %>"
require "<%= service.service_require %>"

class <%= service.operations_name_full %>Test < Minitest::Test
<%= indent render(partial: "service/test/method/setup"), 2 %>

<% service.lro_service.methods.each do |method| %>
<%= indent render(partial: "service/test/method/#{method.kind}",
                  locals: { client_name_full: service.operations_name_full, method: method }), 2 %>

<% end %>
<%= indent render(partial: "service/test/method/configure",
                  locals: { service: service, client_name_full: service.operations_name_full }), 2 %>
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gapic-generator-0.4.2 templates/default/service/test/client_operations.erb
gapic-generator-0.4.0 templates/default/service/test/client_operations.erb