Sha256: b2af1dff908d3f6bed8c30dad2169d52899530ddf8068e3974aa05c175f9d5b0

Contents?: true

Size: 664 Bytes

Versions: 13

Compression:

Stored size: 664 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.client_name_full %>Test < Minitest::Test
<%= indent render(partial: "service/test/method/setup"), 2 %>

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

<% end %>
<% end %>
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gapic-generator-0.3.3 templates/default/service/test/client.erb
gapic-generator-0.3.1 templates/default/service/test/client.erb
gapic-generator-0.3.0 templates/default/service/test/client.erb
gapic-generator-0.2.3 templates/default/service/test/client.erb
gapic-generator-0.2.2 templates/default/service/test/client.erb
gapic-generator-0.2.0 templates/default/service/test/client.erb
gapic-generator-0.1.7 templates/default/service/test/client.erb
gapic-generator-0.1.5 templates/default/service/test/client.erb
gapic-generator-0.1.4 templates/default/service/test/client.erb
gapic-generator-0.1.3 templates/default/service/test/client.erb
gapic-generator-0.1.2 templates/default/service/test/client.erb
gapic-generator-0.1.1 templates/default/service/test/client.erb
gapic-generator-0.1.0 templates/default/service/test/client.erb