gauge-ruby 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/api_pb.rb +182 -0
- data/lib/connector.rb +2 -2
- data/lib/executor.rb +19 -17
- data/lib/gauge_runtime.rb +21 -15
- data/lib/lsp_pb.rb +16 -0
- data/lib/lsp_server.rb +78 -0
- data/lib/lsp_services_pb.rb +51 -0
- data/lib/message_processor.rb +24 -22
- data/lib/messages_pb.rb +296 -0
- data/lib/method_cache.rb +1 -1
- data/lib/processors/cache_file_processor.rb +15 -10
- data/lib/processors/datastore_init_processor.rb +4 -4
- data/lib/processors/execution_handler.rb +6 -5
- data/lib/processors/execution_hook_processors.rb +1 -1
- data/lib/processors/implementation_file_list_processor.rb +6 -2
- data/lib/processors/implementation_glob_pattern_processor.rb +36 -0
- data/lib/processors/refactor_step_request_processor.rb +13 -7
- data/lib/processors/step_name_request_processor.rb +14 -12
- data/lib/processors/step_names_request_processor.rb +8 -4
- data/lib/processors/step_positions_request_processor.rb +7 -3
- data/lib/processors/step_validation_request_processor.rb +23 -18
- data/lib/processors/stub_implementation_processor.rb +9 -4
- data/lib/spec_pb.rb +226 -0
- metadata +37 -5
- data/lib/api.pb.rb +0 -273
- data/lib/messages.pb.rb +0 -413
- data/lib/spec.pb.rb +0 -319
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gauge-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gauge Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-protocol-buffers
|
@@ -108,6 +108,34 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 0.2.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: grpc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.10.0
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.10.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: grpc-tools
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 1.10.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 1.10.0
|
111
139
|
description: Adds Ruby support into Gauge tests
|
112
140
|
email:
|
113
141
|
- gauge@thoughtworks.com
|
@@ -115,7 +143,7 @@ executables: []
|
|
115
143
|
extensions: []
|
116
144
|
extra_rdoc_files: []
|
117
145
|
files:
|
118
|
-
- lib/
|
146
|
+
- lib/api_pb.rb
|
119
147
|
- lib/code_parser.rb
|
120
148
|
- lib/configuration.rb
|
121
149
|
- lib/connector.rb
|
@@ -125,8 +153,11 @@ files:
|
|
125
153
|
- lib/gauge_messages.rb
|
126
154
|
- lib/gauge_runtime.rb
|
127
155
|
- lib/log.rb
|
156
|
+
- lib/lsp_pb.rb
|
157
|
+
- lib/lsp_server.rb
|
158
|
+
- lib/lsp_services_pb.rb
|
128
159
|
- lib/message_processor.rb
|
129
|
-
- lib/
|
160
|
+
- lib/messages_pb.rb
|
130
161
|
- lib/method_cache.rb
|
131
162
|
- lib/processors/cache_file_processor.rb
|
132
163
|
- lib/processors/datastore_init_processor.rb
|
@@ -134,6 +165,7 @@ files:
|
|
134
165
|
- lib/processors/execution_handler.rb
|
135
166
|
- lib/processors/execution_hook_processors.rb
|
136
167
|
- lib/processors/implementation_file_list_processor.rb
|
168
|
+
- lib/processors/implementation_glob_pattern_processor.rb
|
137
169
|
- lib/processors/kill_request_processor.rb
|
138
170
|
- lib/processors/refactor_step_request_processor.rb
|
139
171
|
- lib/processors/step_name_request_processor.rb
|
@@ -141,7 +173,7 @@ files:
|
|
141
173
|
- lib/processors/step_positions_request_processor.rb
|
142
174
|
- lib/processors/step_validation_request_processor.rb
|
143
175
|
- lib/processors/stub_implementation_processor.rb
|
144
|
-
- lib/
|
176
|
+
- lib/spec_pb.rb
|
145
177
|
- lib/static_loader.rb
|
146
178
|
- lib/table.rb
|
147
179
|
- lib/util.rb
|
data/lib/api.pb.rb
DELETED
@@ -1,273 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
|
4
|
-
require 'protocol_buffers'
|
5
|
-
|
6
|
-
begin; require 'spec.pb'; rescue LoadError; end
|
7
|
-
|
8
|
-
module Gauge
|
9
|
-
module Messages
|
10
|
-
# forward declarations
|
11
|
-
class GetProjectRootRequest < ::ProtocolBuffers::Message; end
|
12
|
-
class GetProjectRootResponse < ::ProtocolBuffers::Message; end
|
13
|
-
class GetInstallationRootRequest < ::ProtocolBuffers::Message; end
|
14
|
-
class GetInstallationRootResponse < ::ProtocolBuffers::Message; end
|
15
|
-
class GetAllStepsRequest < ::ProtocolBuffers::Message; end
|
16
|
-
class GetAllStepsResponse < ::ProtocolBuffers::Message; end
|
17
|
-
class SpecsRequest < ::ProtocolBuffers::Message; end
|
18
|
-
class SpecsResponse < ::ProtocolBuffers::Message; end
|
19
|
-
class GetAllConceptsRequest < ::ProtocolBuffers::Message; end
|
20
|
-
class GetAllConceptsResponse < ::ProtocolBuffers::Message; end
|
21
|
-
class ConceptInfo < ::ProtocolBuffers::Message; end
|
22
|
-
class GetStepValueRequest < ::ProtocolBuffers::Message; end
|
23
|
-
class GetStepValueResponse < ::ProtocolBuffers::Message; end
|
24
|
-
class GetLanguagePluginLibPathRequest < ::ProtocolBuffers::Message; end
|
25
|
-
class GetLanguagePluginLibPathResponse < ::ProtocolBuffers::Message; end
|
26
|
-
class ErrorResponse < ::ProtocolBuffers::Message; end
|
27
|
-
class PerformRefactoringRequest < ::ProtocolBuffers::Message; end
|
28
|
-
class PerformRefactoringResponse < ::ProtocolBuffers::Message; end
|
29
|
-
class ExtractConceptRequest < ::ProtocolBuffers::Message; end
|
30
|
-
class TextInfo < ::ProtocolBuffers::Message; end
|
31
|
-
class Step < ::ProtocolBuffers::Message; end
|
32
|
-
class ExtractConceptResponse < ::ProtocolBuffers::Message; end
|
33
|
-
class FormatSpecsRequest < ::ProtocolBuffers::Message; end
|
34
|
-
class FormatSpecsResponse < ::ProtocolBuffers::Message; end
|
35
|
-
class UnsupportedApiMessageResponse < ::ProtocolBuffers::Message; end
|
36
|
-
class APIMessage < ::ProtocolBuffers::Message; end
|
37
|
-
|
38
|
-
class GetProjectRootRequest < ::ProtocolBuffers::Message
|
39
|
-
set_fully_qualified_name "gauge.messages.GetProjectRootRequest"
|
40
|
-
|
41
|
-
end
|
42
|
-
|
43
|
-
class GetProjectRootResponse < ::ProtocolBuffers::Message
|
44
|
-
set_fully_qualified_name "gauge.messages.GetProjectRootResponse"
|
45
|
-
|
46
|
-
optional :string, :projectRoot, 1
|
47
|
-
end
|
48
|
-
|
49
|
-
class GetInstallationRootRequest < ::ProtocolBuffers::Message
|
50
|
-
set_fully_qualified_name "gauge.messages.GetInstallationRootRequest"
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
class GetInstallationRootResponse < ::ProtocolBuffers::Message
|
55
|
-
set_fully_qualified_name "gauge.messages.GetInstallationRootResponse"
|
56
|
-
|
57
|
-
optional :string, :installationRoot, 1
|
58
|
-
end
|
59
|
-
|
60
|
-
class GetAllStepsRequest < ::ProtocolBuffers::Message
|
61
|
-
set_fully_qualified_name "gauge.messages.GetAllStepsRequest"
|
62
|
-
|
63
|
-
end
|
64
|
-
|
65
|
-
class GetAllStepsResponse < ::ProtocolBuffers::Message
|
66
|
-
set_fully_qualified_name "gauge.messages.GetAllStepsResponse"
|
67
|
-
|
68
|
-
repeated ::Gauge::Messages::ProtoStepValue, :allSteps, 1
|
69
|
-
end
|
70
|
-
|
71
|
-
class SpecsRequest < ::ProtocolBuffers::Message
|
72
|
-
set_fully_qualified_name "gauge.messages.SpecsRequest"
|
73
|
-
|
74
|
-
repeated :string, :specs, 1
|
75
|
-
end
|
76
|
-
|
77
|
-
class SpecsResponse < ::ProtocolBuffers::Message
|
78
|
-
# forward declarations
|
79
|
-
class SpecDetail < ::ProtocolBuffers::Message; end
|
80
|
-
|
81
|
-
set_fully_qualified_name "gauge.messages.SpecsResponse"
|
82
|
-
|
83
|
-
# nested messages
|
84
|
-
class SpecDetail < ::ProtocolBuffers::Message
|
85
|
-
set_fully_qualified_name "gauge.messages.SpecsResponse.SpecDetail"
|
86
|
-
|
87
|
-
optional ::Gauge::Messages::ProtoSpec, :spec, 1
|
88
|
-
repeated ::Gauge::Messages::Error, :parseErrors, 2
|
89
|
-
end
|
90
|
-
|
91
|
-
repeated ::Gauge::Messages::SpecsResponse::SpecDetail, :details, 1
|
92
|
-
end
|
93
|
-
|
94
|
-
class GetAllConceptsRequest < ::ProtocolBuffers::Message
|
95
|
-
set_fully_qualified_name "gauge.messages.GetAllConceptsRequest"
|
96
|
-
|
97
|
-
end
|
98
|
-
|
99
|
-
class GetAllConceptsResponse < ::ProtocolBuffers::Message
|
100
|
-
set_fully_qualified_name "gauge.messages.GetAllConceptsResponse"
|
101
|
-
|
102
|
-
repeated ::Gauge::Messages::ConceptInfo, :concepts, 1
|
103
|
-
end
|
104
|
-
|
105
|
-
class ConceptInfo < ::ProtocolBuffers::Message
|
106
|
-
set_fully_qualified_name "gauge.messages.ConceptInfo"
|
107
|
-
|
108
|
-
optional ::Gauge::Messages::ProtoStepValue, :stepValue, 1
|
109
|
-
optional :string, :filepath, 2
|
110
|
-
optional :int32, :lineNumber, 3
|
111
|
-
end
|
112
|
-
|
113
|
-
class GetStepValueRequest < ::ProtocolBuffers::Message
|
114
|
-
set_fully_qualified_name "gauge.messages.GetStepValueRequest"
|
115
|
-
|
116
|
-
optional :string, :stepText, 1
|
117
|
-
optional :bool, :hasInlineTable, 2
|
118
|
-
end
|
119
|
-
|
120
|
-
class GetStepValueResponse < ::ProtocolBuffers::Message
|
121
|
-
set_fully_qualified_name "gauge.messages.GetStepValueResponse"
|
122
|
-
|
123
|
-
optional ::Gauge::Messages::ProtoStepValue, :stepValue, 1
|
124
|
-
end
|
125
|
-
|
126
|
-
class GetLanguagePluginLibPathRequest < ::ProtocolBuffers::Message
|
127
|
-
set_fully_qualified_name "gauge.messages.GetLanguagePluginLibPathRequest"
|
128
|
-
|
129
|
-
optional :string, :language, 1
|
130
|
-
end
|
131
|
-
|
132
|
-
class GetLanguagePluginLibPathResponse < ::ProtocolBuffers::Message
|
133
|
-
set_fully_qualified_name "gauge.messages.GetLanguagePluginLibPathResponse"
|
134
|
-
|
135
|
-
optional :string, :path, 1
|
136
|
-
end
|
137
|
-
|
138
|
-
class ErrorResponse < ::ProtocolBuffers::Message
|
139
|
-
set_fully_qualified_name "gauge.messages.ErrorResponse"
|
140
|
-
|
141
|
-
optional :string, :error, 1
|
142
|
-
end
|
143
|
-
|
144
|
-
class PerformRefactoringRequest < ::ProtocolBuffers::Message
|
145
|
-
set_fully_qualified_name "gauge.messages.PerformRefactoringRequest"
|
146
|
-
|
147
|
-
optional :string, :oldStep, 1
|
148
|
-
optional :string, :newStep, 2
|
149
|
-
end
|
150
|
-
|
151
|
-
class PerformRefactoringResponse < ::ProtocolBuffers::Message
|
152
|
-
set_fully_qualified_name "gauge.messages.PerformRefactoringResponse"
|
153
|
-
|
154
|
-
optional :bool, :success, 1
|
155
|
-
repeated :string, :errors, 2
|
156
|
-
repeated :string, :filesChanged, 3
|
157
|
-
end
|
158
|
-
|
159
|
-
class ExtractConceptRequest < ::ProtocolBuffers::Message
|
160
|
-
set_fully_qualified_name "gauge.messages.ExtractConceptRequest"
|
161
|
-
|
162
|
-
optional ::Gauge::Messages::Step, :conceptName, 1
|
163
|
-
repeated ::Gauge::Messages::Step, :steps, 2
|
164
|
-
optional :bool, :changeAcrossProject, 3
|
165
|
-
optional :string, :conceptFileName, 4
|
166
|
-
optional ::Gauge::Messages::TextInfo, :selectedTextInfo, 5
|
167
|
-
end
|
168
|
-
|
169
|
-
class TextInfo < ::ProtocolBuffers::Message
|
170
|
-
set_fully_qualified_name "gauge.messages.textInfo"
|
171
|
-
|
172
|
-
optional :string, :fileName, 1
|
173
|
-
optional :int32, :startingLineNo, 2
|
174
|
-
optional :int32, :endLineNo, 3
|
175
|
-
end
|
176
|
-
|
177
|
-
class Step < ::ProtocolBuffers::Message
|
178
|
-
set_fully_qualified_name "gauge.messages.step"
|
179
|
-
|
180
|
-
optional :string, :name, 1
|
181
|
-
optional :string, :table, 2
|
182
|
-
optional :string, :paramTableName, 3
|
183
|
-
end
|
184
|
-
|
185
|
-
class ExtractConceptResponse < ::ProtocolBuffers::Message
|
186
|
-
set_fully_qualified_name "gauge.messages.ExtractConceptResponse"
|
187
|
-
|
188
|
-
optional :bool, :isSuccess, 1
|
189
|
-
optional :string, :error, 2
|
190
|
-
repeated :string, :filesChanged, 3
|
191
|
-
end
|
192
|
-
|
193
|
-
class FormatSpecsRequest < ::ProtocolBuffers::Message
|
194
|
-
set_fully_qualified_name "gauge.messages.FormatSpecsRequest"
|
195
|
-
|
196
|
-
repeated :string, :specs, 1
|
197
|
-
end
|
198
|
-
|
199
|
-
class FormatSpecsResponse < ::ProtocolBuffers::Message
|
200
|
-
set_fully_qualified_name "gauge.messages.FormatSpecsResponse"
|
201
|
-
|
202
|
-
repeated :string, :errors, 1
|
203
|
-
repeated :string, :warnings, 2
|
204
|
-
end
|
205
|
-
|
206
|
-
class UnsupportedApiMessageResponse < ::ProtocolBuffers::Message
|
207
|
-
set_fully_qualified_name "gauge.messages.UnsupportedApiMessageResponse"
|
208
|
-
|
209
|
-
end
|
210
|
-
|
211
|
-
class APIMessage < ::ProtocolBuffers::Message
|
212
|
-
# forward declarations
|
213
|
-
|
214
|
-
# enums
|
215
|
-
module APIMessageType
|
216
|
-
include ::ProtocolBuffers::Enum
|
217
|
-
|
218
|
-
set_fully_qualified_name "gauge.messages.APIMessage.APIMessageType"
|
219
|
-
|
220
|
-
GetProjectRootRequest = 0
|
221
|
-
GetProjectRootResponse = 1
|
222
|
-
GetInstallationRootRequest = 2
|
223
|
-
GetInstallationRootResponse = 3
|
224
|
-
GetAllStepsRequest = 4
|
225
|
-
GetAllStepResponse = 5
|
226
|
-
SpecsRequest = 6
|
227
|
-
SpecsResponse = 7
|
228
|
-
GetStepValueRequest = 8
|
229
|
-
GetStepValueResponse = 9
|
230
|
-
GetLanguagePluginLibPathRequest = 10
|
231
|
-
GetLanguagePluginLibPathResponse = 11
|
232
|
-
ErrorResponse = 12
|
233
|
-
GetAllConceptsRequest = 13
|
234
|
-
GetAllConceptsResponse = 14
|
235
|
-
PerformRefactoringRequest = 15
|
236
|
-
PerformRefactoringResponse = 16
|
237
|
-
ExtractConceptRequest = 17
|
238
|
-
ExtractConceptResponse = 18
|
239
|
-
FormatSpecsRequest = 19
|
240
|
-
FormatSpecsResponse = 20
|
241
|
-
UnsupportedApiMessageResponse = 21
|
242
|
-
end
|
243
|
-
|
244
|
-
set_fully_qualified_name "gauge.messages.APIMessage"
|
245
|
-
|
246
|
-
optional ::Gauge::Messages::APIMessage::APIMessageType, :messageType, 1
|
247
|
-
optional :int64, :messageId, 2
|
248
|
-
optional ::Gauge::Messages::GetProjectRootRequest, :projectRootRequest, 3
|
249
|
-
optional ::Gauge::Messages::GetProjectRootResponse, :projectRootResponse, 4
|
250
|
-
optional ::Gauge::Messages::GetInstallationRootRequest, :installationRootRequest, 5
|
251
|
-
optional ::Gauge::Messages::GetInstallationRootResponse, :installationRootResponse, 6
|
252
|
-
optional ::Gauge::Messages::GetAllStepsRequest, :allStepsRequest, 7
|
253
|
-
optional ::Gauge::Messages::GetAllStepsResponse, :allStepsResponse, 8
|
254
|
-
optional ::Gauge::Messages::SpecsRequest, :specsRequest, 9
|
255
|
-
optional ::Gauge::Messages::SpecsResponse, :specsResponse, 10
|
256
|
-
optional ::Gauge::Messages::GetStepValueRequest, :stepValueRequest, 11
|
257
|
-
optional ::Gauge::Messages::GetStepValueResponse, :stepValueResponse, 12
|
258
|
-
optional ::Gauge::Messages::GetLanguagePluginLibPathRequest, :libPathRequest, 13
|
259
|
-
optional ::Gauge::Messages::GetLanguagePluginLibPathResponse, :libPathResponse, 14
|
260
|
-
optional ::Gauge::Messages::ErrorResponse, :error, 15
|
261
|
-
optional ::Gauge::Messages::GetAllConceptsRequest, :allConceptsRequest, 16
|
262
|
-
optional ::Gauge::Messages::GetAllConceptsResponse, :allConceptsResponse, 17
|
263
|
-
optional ::Gauge::Messages::PerformRefactoringRequest, :performRefactoringRequest, 18
|
264
|
-
optional ::Gauge::Messages::PerformRefactoringResponse, :performRefactoringResponse, 19
|
265
|
-
optional ::Gauge::Messages::ExtractConceptRequest, :extractConceptRequest, 20
|
266
|
-
optional ::Gauge::Messages::ExtractConceptResponse, :extractConceptResponse, 21
|
267
|
-
optional ::Gauge::Messages::FormatSpecsRequest, :formatSpecsRequest, 22
|
268
|
-
optional ::Gauge::Messages::FormatSpecsResponse, :formatSpecsResponse, 23
|
269
|
-
optional ::Gauge::Messages::UnsupportedApiMessageResponse, :unsupportedApiMessageResponse, 24
|
270
|
-
end
|
271
|
-
|
272
|
-
end
|
273
|
-
end
|
data/lib/messages.pb.rb
DELETED
@@ -1,413 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
-
|
4
|
-
require 'protocol_buffers'
|
5
|
-
|
6
|
-
begin; require 'spec.pb'; rescue LoadError; end
|
7
|
-
|
8
|
-
module Gauge
|
9
|
-
module Messages
|
10
|
-
# forward declarations
|
11
|
-
class KillProcessRequest < ::ProtocolBuffers::Message; end
|
12
|
-
class ExecutionStatusResponse < ::ProtocolBuffers::Message; end
|
13
|
-
class ExecutionStartingRequest < ::ProtocolBuffers::Message; end
|
14
|
-
class ExecutionEndingRequest < ::ProtocolBuffers::Message; end
|
15
|
-
class SpecExecutionStartingRequest < ::ProtocolBuffers::Message; end
|
16
|
-
class SpecExecutionEndingRequest < ::ProtocolBuffers::Message; end
|
17
|
-
class ScenarioExecutionStartingRequest < ::ProtocolBuffers::Message; end
|
18
|
-
class ScenarioExecutionEndingRequest < ::ProtocolBuffers::Message; end
|
19
|
-
class StepExecutionStartingRequest < ::ProtocolBuffers::Message; end
|
20
|
-
class StepExecutionEndingRequest < ::ProtocolBuffers::Message; end
|
21
|
-
class ExecutionInfo < ::ProtocolBuffers::Message; end
|
22
|
-
class SpecInfo < ::ProtocolBuffers::Message; end
|
23
|
-
class ScenarioInfo < ::ProtocolBuffers::Message; end
|
24
|
-
class StepInfo < ::ProtocolBuffers::Message; end
|
25
|
-
class ExecuteStepRequest < ::ProtocolBuffers::Message; end
|
26
|
-
class StepValidateRequest < ::ProtocolBuffers::Message; end
|
27
|
-
class StepValidateResponse < ::ProtocolBuffers::Message; end
|
28
|
-
class SuiteExecutionResult < ::ProtocolBuffers::Message; end
|
29
|
-
class StepNamesRequest < ::ProtocolBuffers::Message; end
|
30
|
-
class StepNamesResponse < ::ProtocolBuffers::Message; end
|
31
|
-
class ScenarioDataStoreInitRequest < ::ProtocolBuffers::Message; end
|
32
|
-
class SpecDataStoreInitRequest < ::ProtocolBuffers::Message; end
|
33
|
-
class SuiteDataStoreInitRequest < ::ProtocolBuffers::Message; end
|
34
|
-
class ParameterPosition < ::ProtocolBuffers::Message; end
|
35
|
-
class RefactorRequest < ::ProtocolBuffers::Message; end
|
36
|
-
class FileChanges < ::ProtocolBuffers::Message; end
|
37
|
-
class RefactorResponse < ::ProtocolBuffers::Message; end
|
38
|
-
class StepNameRequest < ::ProtocolBuffers::Message; end
|
39
|
-
class StepNameResponse < ::ProtocolBuffers::Message; end
|
40
|
-
class UnsupportedMessageResponse < ::ProtocolBuffers::Message; end
|
41
|
-
class CacheFileRequest < ::ProtocolBuffers::Message; end
|
42
|
-
class StepPositionsRequest < ::ProtocolBuffers::Message; end
|
43
|
-
class StepPositionsResponse < ::ProtocolBuffers::Message; end
|
44
|
-
class ImplementationFileListRequest < ::ProtocolBuffers::Message; end
|
45
|
-
class ImplementationFileListResponse < ::ProtocolBuffers::Message; end
|
46
|
-
class StubImplementationCodeRequest < ::ProtocolBuffers::Message; end
|
47
|
-
class TextDiff < ::ProtocolBuffers::Message; end
|
48
|
-
class FileDiff < ::ProtocolBuffers::Message; end
|
49
|
-
class Message < ::ProtocolBuffers::Message; end
|
50
|
-
|
51
|
-
class KillProcessRequest < ::ProtocolBuffers::Message
|
52
|
-
set_fully_qualified_name "gauge.messages.KillProcessRequest"
|
53
|
-
|
54
|
-
end
|
55
|
-
|
56
|
-
class ExecutionStatusResponse < ::ProtocolBuffers::Message
|
57
|
-
set_fully_qualified_name "gauge.messages.ExecutionStatusResponse"
|
58
|
-
|
59
|
-
optional ::Gauge::Messages::ProtoExecutionResult, :executionResult, 1
|
60
|
-
end
|
61
|
-
|
62
|
-
class ExecutionStartingRequest < ::ProtocolBuffers::Message
|
63
|
-
set_fully_qualified_name "gauge.messages.ExecutionStartingRequest"
|
64
|
-
|
65
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
66
|
-
end
|
67
|
-
|
68
|
-
class ExecutionEndingRequest < ::ProtocolBuffers::Message
|
69
|
-
set_fully_qualified_name "gauge.messages.ExecutionEndingRequest"
|
70
|
-
|
71
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
72
|
-
end
|
73
|
-
|
74
|
-
class SpecExecutionStartingRequest < ::ProtocolBuffers::Message
|
75
|
-
set_fully_qualified_name "gauge.messages.SpecExecutionStartingRequest"
|
76
|
-
|
77
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
78
|
-
end
|
79
|
-
|
80
|
-
class SpecExecutionEndingRequest < ::ProtocolBuffers::Message
|
81
|
-
set_fully_qualified_name "gauge.messages.SpecExecutionEndingRequest"
|
82
|
-
|
83
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
84
|
-
end
|
85
|
-
|
86
|
-
class ScenarioExecutionStartingRequest < ::ProtocolBuffers::Message
|
87
|
-
set_fully_qualified_name "gauge.messages.ScenarioExecutionStartingRequest"
|
88
|
-
|
89
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
90
|
-
end
|
91
|
-
|
92
|
-
class ScenarioExecutionEndingRequest < ::ProtocolBuffers::Message
|
93
|
-
set_fully_qualified_name "gauge.messages.ScenarioExecutionEndingRequest"
|
94
|
-
|
95
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
96
|
-
end
|
97
|
-
|
98
|
-
class StepExecutionStartingRequest < ::ProtocolBuffers::Message
|
99
|
-
set_fully_qualified_name "gauge.messages.StepExecutionStartingRequest"
|
100
|
-
|
101
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
102
|
-
end
|
103
|
-
|
104
|
-
class StepExecutionEndingRequest < ::ProtocolBuffers::Message
|
105
|
-
set_fully_qualified_name "gauge.messages.StepExecutionEndingRequest"
|
106
|
-
|
107
|
-
optional ::Gauge::Messages::ExecutionInfo, :currentExecutionInfo, 1
|
108
|
-
end
|
109
|
-
|
110
|
-
class ExecutionInfo < ::ProtocolBuffers::Message
|
111
|
-
set_fully_qualified_name "gauge.messages.ExecutionInfo"
|
112
|
-
|
113
|
-
optional ::Gauge::Messages::SpecInfo, :currentSpec, 1
|
114
|
-
optional ::Gauge::Messages::ScenarioInfo, :currentScenario, 2
|
115
|
-
optional ::Gauge::Messages::StepInfo, :currentStep, 3
|
116
|
-
optional :string, :stacktrace, 4
|
117
|
-
end
|
118
|
-
|
119
|
-
class SpecInfo < ::ProtocolBuffers::Message
|
120
|
-
set_fully_qualified_name "gauge.messages.SpecInfo"
|
121
|
-
|
122
|
-
optional :string, :name, 1
|
123
|
-
optional :string, :fileName, 2
|
124
|
-
optional :bool, :isFailed, 3
|
125
|
-
repeated :string, :tags, 4
|
126
|
-
end
|
127
|
-
|
128
|
-
class ScenarioInfo < ::ProtocolBuffers::Message
|
129
|
-
set_fully_qualified_name "gauge.messages.ScenarioInfo"
|
130
|
-
|
131
|
-
optional :string, :name, 1
|
132
|
-
optional :bool, :isFailed, 2
|
133
|
-
repeated :string, :tags, 3
|
134
|
-
end
|
135
|
-
|
136
|
-
class StepInfo < ::ProtocolBuffers::Message
|
137
|
-
set_fully_qualified_name "gauge.messages.StepInfo"
|
138
|
-
|
139
|
-
optional ::Gauge::Messages::ExecuteStepRequest, :step, 1
|
140
|
-
optional :bool, :isFailed, 2
|
141
|
-
optional :string, :stackTrace, 3
|
142
|
-
optional :string, :errorMessage, 4
|
143
|
-
end
|
144
|
-
|
145
|
-
class ExecuteStepRequest < ::ProtocolBuffers::Message
|
146
|
-
set_fully_qualified_name "gauge.messages.ExecuteStepRequest"
|
147
|
-
|
148
|
-
optional :string, :actualStepText, 1
|
149
|
-
optional :string, :parsedStepText, 2
|
150
|
-
optional :bool, :scenarioFailing, 3
|
151
|
-
repeated ::Gauge::Messages::Parameter, :parameters, 4
|
152
|
-
end
|
153
|
-
|
154
|
-
class StepValidateRequest < ::ProtocolBuffers::Message
|
155
|
-
set_fully_qualified_name "gauge.messages.StepValidateRequest"
|
156
|
-
|
157
|
-
optional :string, :stepText, 1
|
158
|
-
optional :int32, :numberOfParameters, 2
|
159
|
-
optional ::Gauge::Messages::ProtoStepValue, :stepValue, 3
|
160
|
-
end
|
161
|
-
|
162
|
-
class StepValidateResponse < ::ProtocolBuffers::Message
|
163
|
-
# forward declarations
|
164
|
-
|
165
|
-
# enums
|
166
|
-
module ErrorType
|
167
|
-
include ::ProtocolBuffers::Enum
|
168
|
-
|
169
|
-
set_fully_qualified_name "gauge.messages.StepValidateResponse.ErrorType"
|
170
|
-
|
171
|
-
STEP_IMPLEMENTATION_NOT_FOUND = 0
|
172
|
-
DUPLICATE_STEP_IMPLEMENTATION = 1
|
173
|
-
end
|
174
|
-
|
175
|
-
set_fully_qualified_name "gauge.messages.StepValidateResponse"
|
176
|
-
|
177
|
-
optional :bool, :isValid, 1
|
178
|
-
optional :string, :errorMessage, 2
|
179
|
-
optional ::Gauge::Messages::StepValidateResponse::ErrorType, :errorType, 3
|
180
|
-
optional :string, :suggestion, 4
|
181
|
-
end
|
182
|
-
|
183
|
-
class SuiteExecutionResult < ::ProtocolBuffers::Message
|
184
|
-
set_fully_qualified_name "gauge.messages.SuiteExecutionResult"
|
185
|
-
|
186
|
-
optional ::Gauge::Messages::ProtoSuiteResult, :suiteResult, 1
|
187
|
-
end
|
188
|
-
|
189
|
-
class StepNamesRequest < ::ProtocolBuffers::Message
|
190
|
-
set_fully_qualified_name "gauge.messages.StepNamesRequest"
|
191
|
-
|
192
|
-
end
|
193
|
-
|
194
|
-
class StepNamesResponse < ::ProtocolBuffers::Message
|
195
|
-
set_fully_qualified_name "gauge.messages.StepNamesResponse"
|
196
|
-
|
197
|
-
repeated :string, :steps, 1
|
198
|
-
end
|
199
|
-
|
200
|
-
class ScenarioDataStoreInitRequest < ::ProtocolBuffers::Message
|
201
|
-
set_fully_qualified_name "gauge.messages.ScenarioDataStoreInitRequest"
|
202
|
-
|
203
|
-
end
|
204
|
-
|
205
|
-
class SpecDataStoreInitRequest < ::ProtocolBuffers::Message
|
206
|
-
set_fully_qualified_name "gauge.messages.SpecDataStoreInitRequest"
|
207
|
-
|
208
|
-
end
|
209
|
-
|
210
|
-
class SuiteDataStoreInitRequest < ::ProtocolBuffers::Message
|
211
|
-
set_fully_qualified_name "gauge.messages.SuiteDataStoreInitRequest"
|
212
|
-
|
213
|
-
end
|
214
|
-
|
215
|
-
class ParameterPosition < ::ProtocolBuffers::Message
|
216
|
-
set_fully_qualified_name "gauge.messages.ParameterPosition"
|
217
|
-
|
218
|
-
optional :int32, :oldPosition, 1
|
219
|
-
optional :int32, :newPosition, 2
|
220
|
-
end
|
221
|
-
|
222
|
-
class RefactorRequest < ::ProtocolBuffers::Message
|
223
|
-
set_fully_qualified_name "gauge.messages.RefactorRequest"
|
224
|
-
|
225
|
-
optional ::Gauge::Messages::ProtoStepValue, :oldStepValue, 1
|
226
|
-
optional ::Gauge::Messages::ProtoStepValue, :newStepValue, 2
|
227
|
-
repeated ::Gauge::Messages::ParameterPosition, :paramPositions, 3
|
228
|
-
optional :bool, :saveChanges, 4
|
229
|
-
end
|
230
|
-
|
231
|
-
class FileChanges < ::ProtocolBuffers::Message
|
232
|
-
set_fully_qualified_name "gauge.messages.FileChanges"
|
233
|
-
|
234
|
-
optional :string, :fileName, 1
|
235
|
-
optional :string, :fileContent, 2
|
236
|
-
end
|
237
|
-
|
238
|
-
class RefactorResponse < ::ProtocolBuffers::Message
|
239
|
-
set_fully_qualified_name "gauge.messages.RefactorResponse"
|
240
|
-
|
241
|
-
optional :bool, :success, 1
|
242
|
-
optional :string, :error, 2
|
243
|
-
repeated :string, :filesChanged, 3
|
244
|
-
repeated ::Gauge::Messages::FileChanges, :fileChanges, 4
|
245
|
-
end
|
246
|
-
|
247
|
-
class StepNameRequest < ::ProtocolBuffers::Message
|
248
|
-
set_fully_qualified_name "gauge.messages.StepNameRequest"
|
249
|
-
|
250
|
-
optional :string, :stepValue, 1
|
251
|
-
end
|
252
|
-
|
253
|
-
class StepNameResponse < ::ProtocolBuffers::Message
|
254
|
-
set_fully_qualified_name "gauge.messages.StepNameResponse"
|
255
|
-
|
256
|
-
optional :bool, :isStepPresent, 1
|
257
|
-
repeated :string, :stepName, 2
|
258
|
-
optional :bool, :hasAlias, 3
|
259
|
-
optional :string, :fileName, 4
|
260
|
-
optional ::Gauge::Messages::Span, :span, 5
|
261
|
-
end
|
262
|
-
|
263
|
-
class UnsupportedMessageResponse < ::ProtocolBuffers::Message
|
264
|
-
set_fully_qualified_name "gauge.messages.UnsupportedMessageResponse"
|
265
|
-
|
266
|
-
optional :string, :message, 1
|
267
|
-
end
|
268
|
-
|
269
|
-
class CacheFileRequest < ::ProtocolBuffers::Message
|
270
|
-
set_fully_qualified_name "gauge.messages.CacheFileRequest"
|
271
|
-
|
272
|
-
optional :string, :content, 1
|
273
|
-
optional :string, :filePath, 2
|
274
|
-
optional :bool, :isClosed, 3
|
275
|
-
end
|
276
|
-
|
277
|
-
class StepPositionsRequest < ::ProtocolBuffers::Message
|
278
|
-
set_fully_qualified_name "gauge.messages.StepPositionsRequest"
|
279
|
-
|
280
|
-
optional :string, :filePath, 1
|
281
|
-
end
|
282
|
-
|
283
|
-
class StepPositionsResponse < ::ProtocolBuffers::Message
|
284
|
-
# forward declarations
|
285
|
-
class StepPosition < ::ProtocolBuffers::Message; end
|
286
|
-
|
287
|
-
set_fully_qualified_name "gauge.messages.StepPositionsResponse"
|
288
|
-
|
289
|
-
# nested messages
|
290
|
-
class StepPosition < ::ProtocolBuffers::Message
|
291
|
-
set_fully_qualified_name "gauge.messages.StepPositionsResponse.StepPosition"
|
292
|
-
|
293
|
-
optional :string, :stepValue, 1
|
294
|
-
optional ::Gauge::Messages::Span, :span, 2
|
295
|
-
end
|
296
|
-
|
297
|
-
repeated ::Gauge::Messages::StepPositionsResponse::StepPosition, :stepPositions, 1
|
298
|
-
optional :string, :error, 2
|
299
|
-
end
|
300
|
-
|
301
|
-
class ImplementationFileListRequest < ::ProtocolBuffers::Message
|
302
|
-
set_fully_qualified_name "gauge.messages.ImplementationFileListRequest"
|
303
|
-
|
304
|
-
end
|
305
|
-
|
306
|
-
class ImplementationFileListResponse < ::ProtocolBuffers::Message
|
307
|
-
set_fully_qualified_name "gauge.messages.ImplementationFileListResponse"
|
308
|
-
|
309
|
-
repeated :string, :implementationFilePaths, 1
|
310
|
-
end
|
311
|
-
|
312
|
-
class StubImplementationCodeRequest < ::ProtocolBuffers::Message
|
313
|
-
set_fully_qualified_name "gauge.messages.StubImplementationCodeRequest"
|
314
|
-
|
315
|
-
optional :string, :implementationFilePath, 1
|
316
|
-
repeated :string, :codes, 2
|
317
|
-
end
|
318
|
-
|
319
|
-
class TextDiff < ::ProtocolBuffers::Message
|
320
|
-
set_fully_qualified_name "gauge.messages.TextDiff"
|
321
|
-
|
322
|
-
optional ::Gauge::Messages::Span, :span, 1
|
323
|
-
optional :string, :content, 2
|
324
|
-
end
|
325
|
-
|
326
|
-
class FileDiff < ::ProtocolBuffers::Message
|
327
|
-
set_fully_qualified_name "gauge.messages.FileDiff"
|
328
|
-
|
329
|
-
optional :string, :filePath, 1
|
330
|
-
repeated ::Gauge::Messages::TextDiff, :textDiffs, 2
|
331
|
-
end
|
332
|
-
|
333
|
-
class Message < ::ProtocolBuffers::Message
|
334
|
-
# forward declarations
|
335
|
-
|
336
|
-
# enums
|
337
|
-
module MessageType
|
338
|
-
include ::ProtocolBuffers::Enum
|
339
|
-
|
340
|
-
set_fully_qualified_name "gauge.messages.Message.MessageType"
|
341
|
-
|
342
|
-
ExecutionStarting = 0
|
343
|
-
SpecExecutionStarting = 1
|
344
|
-
SpecExecutionEnding = 2
|
345
|
-
ScenarioExecutionStarting = 3
|
346
|
-
ScenarioExecutionEnding = 4
|
347
|
-
StepExecutionStarting = 5
|
348
|
-
StepExecutionEnding = 6
|
349
|
-
ExecuteStep = 7
|
350
|
-
ExecutionEnding = 8
|
351
|
-
StepValidateRequest = 9
|
352
|
-
StepValidateResponse = 10
|
353
|
-
ExecutionStatusResponse = 11
|
354
|
-
StepNamesRequest = 12
|
355
|
-
StepNamesResponse = 13
|
356
|
-
KillProcessRequest = 14
|
357
|
-
SuiteExecutionResult = 15
|
358
|
-
ScenarioDataStoreInit = 16
|
359
|
-
SpecDataStoreInit = 17
|
360
|
-
SuiteDataStoreInit = 18
|
361
|
-
StepNameRequest = 19
|
362
|
-
StepNameResponse = 20
|
363
|
-
RefactorRequest = 21
|
364
|
-
RefactorResponse = 22
|
365
|
-
UnsupportedMessageResponse = 23
|
366
|
-
CacheFileRequest = 24
|
367
|
-
StepPositionsRequest = 25
|
368
|
-
StepPositionsResponse = 26
|
369
|
-
ImplementationFileListRequest = 27
|
370
|
-
ImplementationFileListResponse = 28
|
371
|
-
StubImplementationCodeRequest = 29
|
372
|
-
FileDiff = 30
|
373
|
-
end
|
374
|
-
|
375
|
-
set_fully_qualified_name "gauge.messages.Message"
|
376
|
-
|
377
|
-
optional ::Gauge::Messages::Message::MessageType, :messageType, 1
|
378
|
-
optional :int64, :messageId, 2
|
379
|
-
optional ::Gauge::Messages::ExecutionStartingRequest, :executionStartingRequest, 3
|
380
|
-
optional ::Gauge::Messages::SpecExecutionStartingRequest, :specExecutionStartingRequest, 4
|
381
|
-
optional ::Gauge::Messages::SpecExecutionEndingRequest, :specExecutionEndingRequest, 5
|
382
|
-
optional ::Gauge::Messages::ScenarioExecutionStartingRequest, :scenarioExecutionStartingRequest, 6
|
383
|
-
optional ::Gauge::Messages::ScenarioExecutionEndingRequest, :scenarioExecutionEndingRequest, 7
|
384
|
-
optional ::Gauge::Messages::StepExecutionStartingRequest, :stepExecutionStartingRequest, 8
|
385
|
-
optional ::Gauge::Messages::StepExecutionEndingRequest, :stepExecutionEndingRequest, 9
|
386
|
-
optional ::Gauge::Messages::ExecuteStepRequest, :executeStepRequest, 10
|
387
|
-
optional ::Gauge::Messages::ExecutionEndingRequest, :executionEndingRequest, 11
|
388
|
-
optional ::Gauge::Messages::StepValidateRequest, :stepValidateRequest, 12
|
389
|
-
optional ::Gauge::Messages::StepValidateResponse, :stepValidateResponse, 13
|
390
|
-
optional ::Gauge::Messages::ExecutionStatusResponse, :executionStatusResponse, 14
|
391
|
-
optional ::Gauge::Messages::StepNamesRequest, :stepNamesRequest, 15
|
392
|
-
optional ::Gauge::Messages::StepNamesResponse, :stepNamesResponse, 16
|
393
|
-
optional ::Gauge::Messages::SuiteExecutionResult, :suiteExecutionResult, 17
|
394
|
-
optional ::Gauge::Messages::KillProcessRequest, :killProcessRequest, 18
|
395
|
-
optional ::Gauge::Messages::ScenarioDataStoreInitRequest, :scenarioDataStoreInitRequest, 19
|
396
|
-
optional ::Gauge::Messages::SpecDataStoreInitRequest, :specDataStoreInitRequest, 20
|
397
|
-
optional ::Gauge::Messages::SuiteDataStoreInitRequest, :suiteDataStoreInitRequest, 21
|
398
|
-
optional ::Gauge::Messages::StepNameRequest, :stepNameRequest, 22
|
399
|
-
optional ::Gauge::Messages::StepNameResponse, :stepNameResponse, 23
|
400
|
-
optional ::Gauge::Messages::RefactorRequest, :refactorRequest, 24
|
401
|
-
optional ::Gauge::Messages::RefactorResponse, :refactorResponse, 25
|
402
|
-
optional ::Gauge::Messages::UnsupportedMessageResponse, :unsupportedMessageResponse, 26
|
403
|
-
optional ::Gauge::Messages::CacheFileRequest, :cacheFileRequest, 27
|
404
|
-
optional ::Gauge::Messages::StepPositionsRequest, :stepPositionsRequest, 28
|
405
|
-
optional ::Gauge::Messages::StepPositionsResponse, :stepPositionsResponse, 29
|
406
|
-
optional ::Gauge::Messages::ImplementationFileListRequest, :implementationFileListRequest, 30
|
407
|
-
optional ::Gauge::Messages::ImplementationFileListResponse, :implementationFileListResponse, 31
|
408
|
-
optional ::Gauge::Messages::StubImplementationCodeRequest, :stubImplementationCodeRequest, 32
|
409
|
-
optional ::Gauge::Messages::FileDiff, :fileDiff, 33
|
410
|
-
end
|
411
|
-
|
412
|
-
end
|
413
|
-
end
|