aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/bin/interop/third_party
diff options
context:
space:
mode:
authorGravatar ctiller <ctiller@google.com>2015-01-07 12:13:17 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-09 17:23:18 -0800
commite4b409364e4c493a66d4b2a6fe897075aa5c174e (patch)
tree29467626f50aea49e072e15004dd141625146709 /src/ruby/bin/interop/third_party
parent8232204a36712553b9eedb2dacab13b7c38642c6 (diff)
Add a --forever flag, to continuously run tests as things change.
Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
Diffstat (limited to 'src/ruby/bin/interop/third_party')
-rwxr-xr-xsrc/ruby/bin/interop/third_party/stubby/testing/proto/messages.pb.rb94
-rwxr-xr-xsrc/ruby/bin/interop/third_party/stubby/testing/proto/test.pb.rb30
2 files changed, 124 insertions, 0 deletions
diff --git a/src/ruby/bin/interop/third_party/stubby/testing/proto/messages.pb.rb b/src/ruby/bin/interop/third_party/stubby/testing/proto/messages.pb.rb
new file mode 100755
index 0000000000..9a913f93e5
--- /dev/null
+++ b/src/ruby/bin/interop/third_party/stubby/testing/proto/messages.pb.rb
@@ -0,0 +1,94 @@
+## Generated from third_party/stubby/testing/proto/messages.proto for grpc.testing
+require 'beefcake'
+
+require 'net/proto2/bridge/proto/message_set.pb'
+
+module Grpc
+ module Testing
+
+ module PayloadType
+ COMPRESSABLE = 0
+ UNCOMPRESSABLE = 1
+ RANDOM = 2
+ end
+
+ class Payload
+ include Beefcake::Message
+ end
+
+ class SimpleRequest
+ include Beefcake::Message
+ end
+
+ class SimpleResponse
+ include Beefcake::Message
+ end
+
+ class SimpleContext
+ include Beefcake::Message
+ end
+
+ class StreamingInputCallRequest
+ include Beefcake::Message
+ end
+
+ class StreamingInputCallResponse
+ include Beefcake::Message
+ end
+
+ class ResponseParameters
+ include Beefcake::Message
+ end
+
+ class StreamingOutputCallRequest
+ include Beefcake::Message
+ end
+
+ class StreamingOutputCallResponse
+ include Beefcake::Message
+ end
+
+ class Payload
+ optional :type, PayloadType, 1
+ optional :body, :bytes, 2
+ end
+
+ class SimpleRequest
+ optional :response_type, PayloadType, 1
+ optional :response_size, :int32, 2
+ optional :payload, Payload, 3
+ end
+
+ class SimpleResponse
+ optional :payload, Payload, 1
+ optional :effective_gaia_user_id, :int64, 2
+ end
+
+ class SimpleContext
+ optional :value, :string, 1
+ end
+
+ class StreamingInputCallRequest
+ optional :payload, Payload, 1
+ end
+
+ class StreamingInputCallResponse
+ optional :aggregated_payload_size, :int32, 1
+ end
+
+ class ResponseParameters
+ optional :size, :int32, 1
+ optional :interval_us, :int32, 2
+ end
+
+ class StreamingOutputCallRequest
+ optional :response_type, PayloadType, 1
+ repeated :response_parameters, ResponseParameters, 2
+ optional :payload, Payload, 3
+ end
+
+ class StreamingOutputCallResponse
+ optional :payload, Payload, 1
+ end
+ end
+end
diff --git a/src/ruby/bin/interop/third_party/stubby/testing/proto/test.pb.rb b/src/ruby/bin/interop/third_party/stubby/testing/proto/test.pb.rb
new file mode 100755
index 0000000000..2e21460fe6
--- /dev/null
+++ b/src/ruby/bin/interop/third_party/stubby/testing/proto/test.pb.rb
@@ -0,0 +1,30 @@
+## Generated from third_party/stubby/testing/proto/test.proto for grpc.testing
+require 'beefcake'
+require 'grpc'
+
+require 'third_party/stubby/testing/proto/messages.pb'
+require 'net/proto2/proto/empty.pb'
+
+module Grpc
+ module Testing
+
+ module TestService
+
+ class Service
+ include GRPC::GenericService
+
+ self.marshal_class_method = :encode
+ self.unmarshal_class_method = :decode
+
+ rpc :EmptyCall, Proto2::Empty, Proto2::Empty
+ rpc :UnaryCall, SimpleRequest, SimpleResponse
+ rpc :StreamingOutputCall, StreamingOutputCallRequest, stream(StreamingOutputCallResponse)
+ rpc :StreamingInputCall, stream(StreamingInputCallRequest), StreamingInputCallResponse
+ rpc :FullDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
+ rpc :HalfDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
+ end
+ Stub = Service.rpc_stub_class
+
+ end
+ end
+end