Documentation ¶
Overview ¶
Package gauge_messages is a generated protocol buffer package.
It is generated from these files:
api.proto messages.proto spec.proto
It has these top-level messages:
GetProjectRootRequest GetProjectRootResponse GetInstallationRootRequest GetInstallationRootResponse GetAllStepsRequest GetAllStepsResponse SpecsRequest SpecsResponse GetAllConceptsRequest GetAllConceptsResponse ConceptInfo GetStepValueRequest GetStepValueResponse GetLanguagePluginLibPathRequest GetLanguagePluginLibPathResponse ErrorResponse PerformRefactoringRequest PerformRefactoringResponse ExtractConceptRequest TextInfo Step ExtractConceptResponse FormatSpecsRequest FormatSpecsResponse UnsupportedApiMessageResponse APIMessage KillProcessRequest ExecutionStatusResponse ExecutionStartingRequest ExecutionEndingRequest SpecExecutionStartingRequest SpecExecutionEndingRequest ScenarioExecutionStartingRequest ScenarioExecutionEndingRequest StepExecutionStartingRequest StepExecutionEndingRequest ExecutionInfo SpecInfo ScenarioInfo StepInfo ExecuteStepRequest StepValidateRequest StepValidateResponse SuiteExecutionResult StepNamesRequest StepNamesResponse ScenarioDataStoreInitRequest SpecDataStoreInitRequest SuiteDataStoreInitRequest ParameterPosition RefactorRequest RefactorResponse StepNameRequest StepNameResponse UnsupportedMessageResponse CacheFileRequest StepPositionsRequest StepPositionsResponse Message ProtoSpec ProtoItem ProtoScenario Span ProtoTableDrivenScenario ProtoStep ProtoConcept ProtoTags Fragment Parameter ProtoComment ProtoTable ProtoTableRow ProtoStepExecutionResult ProtoExecutionResult ProtoHookFailure ProtoSuiteResult ProtoSpecResult Error ProtoStepValue
Index ¶
- Variables
- type APIMessage
- func (*APIMessage) Descriptor() ([]byte, []int)
- func (m *APIMessage) GetAllConceptsRequest() *GetAllConceptsRequest
- func (m *APIMessage) GetAllConceptsResponse() *GetAllConceptsResponse
- func (m *APIMessage) GetAllStepsRequest() *GetAllStepsRequest
- func (m *APIMessage) GetAllStepsResponse() *GetAllStepsResponse
- func (m *APIMessage) GetError() *ErrorResponse
- func (m *APIMessage) GetExtractConceptRequest() *ExtractConceptRequest
- func (m *APIMessage) GetExtractConceptResponse() *ExtractConceptResponse
- func (m *APIMessage) GetFormatSpecsRequest() *FormatSpecsRequest
- func (m *APIMessage) GetFormatSpecsResponse() *FormatSpecsResponse
- func (m *APIMessage) GetInstallationRootRequest() *GetInstallationRootRequest
- func (m *APIMessage) GetInstallationRootResponse() *GetInstallationRootResponse
- func (m *APIMessage) GetLibPathRequest() *GetLanguagePluginLibPathRequest
- func (m *APIMessage) GetLibPathResponse() *GetLanguagePluginLibPathResponse
- func (m *APIMessage) GetMessageId() int64
- func (m *APIMessage) GetMessageType() APIMessage_APIMessageType
- func (m *APIMessage) GetPerformRefactoringRequest() *PerformRefactoringRequest
- func (m *APIMessage) GetPerformRefactoringResponse() *PerformRefactoringResponse
- func (m *APIMessage) GetProjectRootRequest() *GetProjectRootRequest
- func (m *APIMessage) GetProjectRootResponse() *GetProjectRootResponse
- func (m *APIMessage) GetSpecsRequest() *SpecsRequest
- func (m *APIMessage) GetSpecsResponse() *SpecsResponse
- func (m *APIMessage) GetStepValueRequest() *GetStepValueRequest
- func (m *APIMessage) GetStepValueResponse() *GetStepValueResponse
- func (m *APIMessage) GetUnsupportedApiMessageResponse() *UnsupportedApiMessageResponse
- func (*APIMessage) ProtoMessage()
- func (m *APIMessage) Reset()
- func (m *APIMessage) String() string
- type APIMessage_APIMessageType
- type CacheFileRequest
- func (*CacheFileRequest) Descriptor() ([]byte, []int)
- func (m *CacheFileRequest) GetContent() string
- func (m *CacheFileRequest) GetFilePath() string
- func (m *CacheFileRequest) GetIsClosed() bool
- func (*CacheFileRequest) ProtoMessage()
- func (m *CacheFileRequest) Reset()
- func (m *CacheFileRequest) String() string
- type ConceptInfo
- type Error
- type ErrorResponse
- type Error_ErrorType
- type ExecuteStepRequest
- func (*ExecuteStepRequest) Descriptor() ([]byte, []int)
- func (m *ExecuteStepRequest) GetActualStepText() string
- func (m *ExecuteStepRequest) GetParameters() []*Parameter
- func (m *ExecuteStepRequest) GetParsedStepText() string
- func (m *ExecuteStepRequest) GetScenarioFailing() bool
- func (*ExecuteStepRequest) ProtoMessage()
- func (m *ExecuteStepRequest) Reset()
- func (m *ExecuteStepRequest) String() string
- type ExecutionEndingRequest
- type ExecutionInfo
- func (*ExecutionInfo) Descriptor() ([]byte, []int)
- func (m *ExecutionInfo) GetCurrentScenario() *ScenarioInfo
- func (m *ExecutionInfo) GetCurrentSpec() *SpecInfo
- func (m *ExecutionInfo) GetCurrentStep() *StepInfo
- func (m *ExecutionInfo) GetStacktrace() string
- func (*ExecutionInfo) ProtoMessage()
- func (m *ExecutionInfo) Reset()
- func (m *ExecutionInfo) String() string
- type ExecutionStartingRequest
- type ExecutionStatus
- type ExecutionStatusResponse
- type ExtractConceptRequest
- func (*ExtractConceptRequest) Descriptor() ([]byte, []int)
- func (m *ExtractConceptRequest) GetChangeAcrossProject() bool
- func (m *ExtractConceptRequest) GetConceptFileName() string
- func (m *ExtractConceptRequest) GetConceptName() *Step
- func (m *ExtractConceptRequest) GetSelectedTextInfo() *TextInfo
- func (m *ExtractConceptRequest) GetSteps() []*Step
- func (*ExtractConceptRequest) ProtoMessage()
- func (m *ExtractConceptRequest) Reset()
- func (m *ExtractConceptRequest) String() string
- type ExtractConceptResponse
- func (*ExtractConceptResponse) Descriptor() ([]byte, []int)
- func (m *ExtractConceptResponse) GetError() string
- func (m *ExtractConceptResponse) GetFilesChanged() []string
- func (m *ExtractConceptResponse) GetIsSuccess() bool
- func (*ExtractConceptResponse) ProtoMessage()
- func (m *ExtractConceptResponse) Reset()
- func (m *ExtractConceptResponse) String() string
- type FormatSpecsRequest
- type FormatSpecsResponse
- type Fragment
- type Fragment_FragmentType
- type GetAllConceptsRequest
- type GetAllConceptsResponse
- type GetAllStepsRequest
- type GetAllStepsResponse
- type GetInstallationRootRequest
- type GetInstallationRootResponse
- type GetLanguagePluginLibPathRequest
- type GetLanguagePluginLibPathResponse
- type GetProjectRootRequest
- type GetProjectRootResponse
- type GetStepValueRequest
- type GetStepValueResponse
- type KillProcessRequest
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetCacheFileRequest() *CacheFileRequest
- func (m *Message) GetExecuteStepRequest() *ExecuteStepRequest
- func (m *Message) GetExecutionEndingRequest() *ExecutionEndingRequest
- func (m *Message) GetExecutionStartingRequest() *ExecutionStartingRequest
- func (m *Message) GetExecutionStatusResponse() *ExecutionStatusResponse
- func (m *Message) GetKillProcessRequest() *KillProcessRequest
- func (m *Message) GetMessageId() int64
- func (m *Message) GetMessageType() Message_MessageType
- func (m *Message) GetRefactorRequest() *RefactorRequest
- func (m *Message) GetRefactorResponse() *RefactorResponse
- func (m *Message) GetScenarioDataStoreInitRequest() *ScenarioDataStoreInitRequest
- func (m *Message) GetScenarioExecutionEndingRequest() *ScenarioExecutionEndingRequest
- func (m *Message) GetScenarioExecutionStartingRequest() *ScenarioExecutionStartingRequest
- func (m *Message) GetSpecDataStoreInitRequest() *SpecDataStoreInitRequest
- func (m *Message) GetSpecExecutionEndingRequest() *SpecExecutionEndingRequest
- func (m *Message) GetSpecExecutionStartingRequest() *SpecExecutionStartingRequest
- func (m *Message) GetStepExecutionEndingRequest() *StepExecutionEndingRequest
- func (m *Message) GetStepExecutionStartingRequest() *StepExecutionStartingRequest
- func (m *Message) GetStepNameRequest() *StepNameRequest
- func (m *Message) GetStepNameResponse() *StepNameResponse
- func (m *Message) GetStepNamesRequest() *StepNamesRequest
- func (m *Message) GetStepNamesResponse() *StepNamesResponse
- func (m *Message) GetStepPositionsRequest() *StepPositionsRequest
- func (m *Message) GetStepPositionsResponse() *StepPositionsResponse
- func (m *Message) GetStepValidateRequest() *StepValidateRequest
- func (m *Message) GetStepValidateResponse() *StepValidateResponse
- func (m *Message) GetSuiteDataStoreInitRequest() *SuiteDataStoreInitRequest
- func (m *Message) GetSuiteExecutionResult() *SuiteExecutionResult
- func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- type Message_MessageType
- type Parameter
- func (*Parameter) Descriptor() ([]byte, []int)
- func (m *Parameter) GetName() string
- func (m *Parameter) GetParameterType() Parameter_ParameterType
- func (m *Parameter) GetTable() *ProtoTable
- func (m *Parameter) GetValue() string
- func (*Parameter) ProtoMessage()
- func (m *Parameter) Reset()
- func (m *Parameter) String() string
- type ParameterPosition
- type Parameter_ParameterType
- type PerformRefactoringRequest
- func (*PerformRefactoringRequest) Descriptor() ([]byte, []int)
- func (m *PerformRefactoringRequest) GetNewStep() string
- func (m *PerformRefactoringRequest) GetOldStep() string
- func (*PerformRefactoringRequest) ProtoMessage()
- func (m *PerformRefactoringRequest) Reset()
- func (m *PerformRefactoringRequest) String() string
- type PerformRefactoringResponse
- func (*PerformRefactoringResponse) Descriptor() ([]byte, []int)
- func (m *PerformRefactoringResponse) GetErrors() []string
- func (m *PerformRefactoringResponse) GetFilesChanged() []string
- func (m *PerformRefactoringResponse) GetSuccess() bool
- func (*PerformRefactoringResponse) ProtoMessage()
- func (m *PerformRefactoringResponse) Reset()
- func (m *PerformRefactoringResponse) String() string
- type ProtoComment
- type ProtoConcept
- func (*ProtoConcept) Descriptor() ([]byte, []int)
- func (m *ProtoConcept) GetConceptExecutionResult() *ProtoStepExecutionResult
- func (m *ProtoConcept) GetConceptStep() *ProtoStep
- func (m *ProtoConcept) GetSteps() []*ProtoItem
- func (*ProtoConcept) ProtoMessage()
- func (m *ProtoConcept) Reset()
- func (m *ProtoConcept) String() string
- type ProtoExecutionResult
- func (*ProtoExecutionResult) Descriptor() ([]byte, []int)
- func (m *ProtoExecutionResult) GetErrorMessage() string
- func (m *ProtoExecutionResult) GetErrorType() ProtoExecutionResult_ErrorType
- func (m *ProtoExecutionResult) GetExecutionTime() int64
- func (m *ProtoExecutionResult) GetFailed() bool
- func (m *ProtoExecutionResult) GetMessage() []string
- func (m *ProtoExecutionResult) GetRecoverableError() bool
- func (m *ProtoExecutionResult) GetScreenShot() []byte
- func (m *ProtoExecutionResult) GetStackTrace() string
- func (*ProtoExecutionResult) ProtoMessage()
- func (m *ProtoExecutionResult) Reset()
- func (m *ProtoExecutionResult) String() string
- type ProtoExecutionResult_ErrorType
- type ProtoHookFailure
- func (*ProtoHookFailure) Descriptor() ([]byte, []int)
- func (m *ProtoHookFailure) GetErrorMessage() string
- func (m *ProtoHookFailure) GetScreenShot() []byte
- func (m *ProtoHookFailure) GetStackTrace() string
- func (m *ProtoHookFailure) GetTableRowIndex() int32
- func (*ProtoHookFailure) ProtoMessage()
- func (m *ProtoHookFailure) Reset()
- func (m *ProtoHookFailure) String() string
- type ProtoItem
- func (*ProtoItem) Descriptor() ([]byte, []int)
- func (m *ProtoItem) GetComment() *ProtoComment
- func (m *ProtoItem) GetConcept() *ProtoConcept
- func (m *ProtoItem) GetItemType() ProtoItem_ItemType
- func (m *ProtoItem) GetScenario() *ProtoScenario
- func (m *ProtoItem) GetStep() *ProtoStep
- func (m *ProtoItem) GetTable() *ProtoTable
- func (m *ProtoItem) GetTableDrivenScenario() *ProtoTableDrivenScenario
- func (m *ProtoItem) GetTags() *ProtoTags
- func (*ProtoItem) ProtoMessage()
- func (m *ProtoItem) Reset()
- func (m *ProtoItem) String() string
- type ProtoItem_ItemType
- type ProtoScenario
- func (*ProtoScenario) Descriptor() ([]byte, []int)
- func (m *ProtoScenario) GetContexts() []*ProtoItem
- func (m *ProtoScenario) GetExecutionStatus() ExecutionStatus
- func (m *ProtoScenario) GetExecutionTime() int64
- func (m *ProtoScenario) GetFailed() bool
- func (m *ProtoScenario) GetID() string
- func (m *ProtoScenario) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoScenario) GetPostHookMessages() []string
- func (m *ProtoScenario) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoScenario) GetPreHookMessages() []string
- func (m *ProtoScenario) GetScenarioHeading() string
- func (m *ProtoScenario) GetScenarioItems() []*ProtoItem
- func (m *ProtoScenario) GetSkipErrors() []string
- func (m *ProtoScenario) GetSkipped() bool
- func (m *ProtoScenario) GetSpan() *Span
- func (m *ProtoScenario) GetTags() []string
- func (m *ProtoScenario) GetTearDownSteps() []*ProtoItem
- func (*ProtoScenario) ProtoMessage()
- func (m *ProtoScenario) Reset()
- func (m *ProtoScenario) String() string
- type ProtoSpec
- func (*ProtoSpec) Descriptor() ([]byte, []int)
- func (m *ProtoSpec) GetFileName() string
- func (m *ProtoSpec) GetIsTableDriven() bool
- func (m *ProtoSpec) GetItems() []*ProtoItem
- func (m *ProtoSpec) GetPostHookFailures() []*ProtoHookFailure
- func (m *ProtoSpec) GetPostHookMessages() []string
- func (m *ProtoSpec) GetPreHookFailures() []*ProtoHookFailure
- func (m *ProtoSpec) GetPreHookMessages() []string
- func (m *ProtoSpec) GetSpecHeading() string
- func (m *ProtoSpec) GetTags() []string
- func (*ProtoSpec) ProtoMessage()
- func (m *ProtoSpec) Reset()
- func (m *ProtoSpec) String() string
- type ProtoSpecResult
- func (*ProtoSpecResult) Descriptor() ([]byte, []int)
- func (m *ProtoSpecResult) GetErrors() []*Error
- func (m *ProtoSpecResult) GetExecutionTime() int64
- func (m *ProtoSpecResult) GetFailed() bool
- func (m *ProtoSpecResult) GetFailedDataTableRows() []int32
- func (m *ProtoSpecResult) GetProtoSpec() *ProtoSpec
- func (m *ProtoSpecResult) GetScenarioCount() int32
- func (m *ProtoSpecResult) GetScenarioFailedCount() int32
- func (m *ProtoSpecResult) GetScenarioSkippedCount() int32
- func (m *ProtoSpecResult) GetSkipped() bool
- func (m *ProtoSpecResult) GetSkippedDataTableRows() []int32
- func (*ProtoSpecResult) ProtoMessage()
- func (m *ProtoSpecResult) Reset()
- func (m *ProtoSpecResult) String() string
- type ProtoStep
- func (*ProtoStep) Descriptor() ([]byte, []int)
- func (m *ProtoStep) GetActualText() string
- func (m *ProtoStep) GetFragments() []*Fragment
- func (m *ProtoStep) GetParsedText() string
- func (m *ProtoStep) GetPostHookMessages() []string
- func (m *ProtoStep) GetPreHookMessages() []string
- func (m *ProtoStep) GetStepExecutionResult() *ProtoStepExecutionResult
- func (*ProtoStep) ProtoMessage()
- func (m *ProtoStep) Reset()
- func (m *ProtoStep) String() string
- type ProtoStepExecutionResult
- func (*ProtoStepExecutionResult) Descriptor() ([]byte, []int)
- func (m *ProtoStepExecutionResult) GetExecutionResult() *ProtoExecutionResult
- func (m *ProtoStepExecutionResult) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoStepExecutionResult) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoStepExecutionResult) GetSkipped() bool
- func (m *ProtoStepExecutionResult) GetSkippedReason() string
- func (*ProtoStepExecutionResult) ProtoMessage()
- func (m *ProtoStepExecutionResult) Reset()
- func (m *ProtoStepExecutionResult) String() string
- type ProtoStepValue
- func (*ProtoStepValue) Descriptor() ([]byte, []int)
- func (m *ProtoStepValue) GetParameterizedStepValue() string
- func (m *ProtoStepValue) GetParameters() []string
- func (m *ProtoStepValue) GetStepValue() string
- func (*ProtoStepValue) ProtoMessage()
- func (m *ProtoStepValue) Reset()
- func (m *ProtoStepValue) String() string
- type ProtoSuiteResult
- func (*ProtoSuiteResult) Descriptor() ([]byte, []int)
- func (m *ProtoSuiteResult) GetEnvironment() string
- func (m *ProtoSuiteResult) GetExecutionTime() int64
- func (m *ProtoSuiteResult) GetFailed() bool
- func (m *ProtoSuiteResult) GetPostHookFailure() *ProtoHookFailure
- func (m *ProtoSuiteResult) GetPostHookMessages() []string
- func (m *ProtoSuiteResult) GetPreHookFailure() *ProtoHookFailure
- func (m *ProtoSuiteResult) GetPreHookMessages() []string
- func (m *ProtoSuiteResult) GetProjectName() string
- func (m *ProtoSuiteResult) GetSpecResults() []*ProtoSpecResult
- func (m *ProtoSuiteResult) GetSpecsFailedCount() int32
- func (m *ProtoSuiteResult) GetSpecsSkippedCount() int32
- func (m *ProtoSuiteResult) GetSuccessRate() float32
- func (m *ProtoSuiteResult) GetTags() string
- func (m *ProtoSuiteResult) GetTimestamp() string
- func (*ProtoSuiteResult) ProtoMessage()
- func (m *ProtoSuiteResult) Reset()
- func (m *ProtoSuiteResult) String() string
- type ProtoTable
- type ProtoTableDrivenScenario
- func (*ProtoTableDrivenScenario) Descriptor() ([]byte, []int)
- func (m *ProtoTableDrivenScenario) GetScenario() *ProtoScenario
- func (m *ProtoTableDrivenScenario) GetTableRowIndex() int32
- func (*ProtoTableDrivenScenario) ProtoMessage()
- func (m *ProtoTableDrivenScenario) Reset()
- func (m *ProtoTableDrivenScenario) String() string
- type ProtoTableRow
- type ProtoTags
- type RefactorRequest
- func (*RefactorRequest) Descriptor() ([]byte, []int)
- func (m *RefactorRequest) GetNewStepValue() *ProtoStepValue
- func (m *RefactorRequest) GetOldStepValue() *ProtoStepValue
- func (m *RefactorRequest) GetParamPositions() []*ParameterPosition
- func (*RefactorRequest) ProtoMessage()
- func (m *RefactorRequest) Reset()
- func (m *RefactorRequest) String() string
- type RefactorResponse
- func (*RefactorResponse) Descriptor() ([]byte, []int)
- func (m *RefactorResponse) GetError() string
- func (m *RefactorResponse) GetFilesChanged() []string
- func (m *RefactorResponse) GetSuccess() bool
- func (*RefactorResponse) ProtoMessage()
- func (m *RefactorResponse) Reset()
- func (m *RefactorResponse) String() string
- type ScenarioDataStoreInitRequest
- type ScenarioExecutionEndingRequest
- func (*ScenarioExecutionEndingRequest) Descriptor() ([]byte, []int)
- func (m *ScenarioExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
- func (*ScenarioExecutionEndingRequest) ProtoMessage()
- func (m *ScenarioExecutionEndingRequest) Reset()
- func (m *ScenarioExecutionEndingRequest) String() string
- type ScenarioExecutionStartingRequest
- func (*ScenarioExecutionStartingRequest) Descriptor() ([]byte, []int)
- func (m *ScenarioExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
- func (*ScenarioExecutionStartingRequest) ProtoMessage()
- func (m *ScenarioExecutionStartingRequest) Reset()
- func (m *ScenarioExecutionStartingRequest) String() string
- type ScenarioInfo
- type Span
- type SpecDataStoreInitRequest
- type SpecExecutionEndingRequest
- type SpecExecutionStartingRequest
- type SpecInfo
- type SpecsRequest
- type SpecsResponse
- type SpecsResponse_SpecDetail
- func (*SpecsResponse_SpecDetail) Descriptor() ([]byte, []int)
- func (m *SpecsResponse_SpecDetail) GetParseErrors() []*Error
- func (m *SpecsResponse_SpecDetail) GetSpec() *ProtoSpec
- func (*SpecsResponse_SpecDetail) ProtoMessage()
- func (m *SpecsResponse_SpecDetail) Reset()
- func (m *SpecsResponse_SpecDetail) String() string
- type Step
- type StepExecutionEndingRequest
- type StepExecutionStartingRequest
- type StepInfo
- type StepNameRequest
- type StepNameResponse
- func (*StepNameResponse) Descriptor() ([]byte, []int)
- func (m *StepNameResponse) GetFileName() string
- func (m *StepNameResponse) GetHasAlias() bool
- func (m *StepNameResponse) GetIsStepPresent() bool
- func (m *StepNameResponse) GetSpan() *Span
- func (m *StepNameResponse) GetStepName() []string
- func (*StepNameResponse) ProtoMessage()
- func (m *StepNameResponse) Reset()
- func (m *StepNameResponse) String() string
- type StepNamesRequest
- type StepNamesResponse
- type StepPositionsRequest
- type StepPositionsResponse
- func (*StepPositionsResponse) Descriptor() ([]byte, []int)
- func (m *StepPositionsResponse) GetError() string
- func (m *StepPositionsResponse) GetStepPositions() []*StepPositionsResponse_StepPosition
- func (*StepPositionsResponse) ProtoMessage()
- func (m *StepPositionsResponse) Reset()
- func (m *StepPositionsResponse) String() string
- type StepPositionsResponse_StepPosition
- func (*StepPositionsResponse_StepPosition) Descriptor() ([]byte, []int)
- func (m *StepPositionsResponse_StepPosition) GetSpan() *Span
- func (m *StepPositionsResponse_StepPosition) GetStepValue() string
- func (*StepPositionsResponse_StepPosition) ProtoMessage()
- func (m *StepPositionsResponse_StepPosition) Reset()
- func (m *StepPositionsResponse_StepPosition) String() string
- type StepValidateRequest
- func (*StepValidateRequest) Descriptor() ([]byte, []int)
- func (m *StepValidateRequest) GetNumberOfParameters() int32
- func (m *StepValidateRequest) GetStepText() string
- func (m *StepValidateRequest) GetStepValue() *ProtoStepValue
- func (*StepValidateRequest) ProtoMessage()
- func (m *StepValidateRequest) Reset()
- func (m *StepValidateRequest) String() string
- type StepValidateResponse
- func (*StepValidateResponse) Descriptor() ([]byte, []int)
- func (m *StepValidateResponse) GetErrorMessage() string
- func (m *StepValidateResponse) GetErrorType() StepValidateResponse_ErrorType
- func (m *StepValidateResponse) GetIsValid() bool
- func (m *StepValidateResponse) GetSuggestion() string
- func (*StepValidateResponse) ProtoMessage()
- func (m *StepValidateResponse) Reset()
- func (m *StepValidateResponse) String() string
- type StepValidateResponse_ErrorType
- type SuiteDataStoreInitRequest
- type SuiteExecutionResult
- type TextInfo
- type UnsupportedApiMessageResponse
- type UnsupportedMessageResponse
Constants ¶
This section is empty.
Variables ¶
var APIMessage_APIMessageType_name = map[int32]string{
0: "GetProjectRootRequest",
1: "GetProjectRootResponse",
2: "GetInstallationRootRequest",
3: "GetInstallationRootResponse",
4: "GetAllStepsRequest",
5: "GetAllStepResponse",
6: "SpecsRequest",
7: "SpecsResponse",
8: "GetStepValueRequest",
9: "GetStepValueResponse",
10: "GetLanguagePluginLibPathRequest",
11: "GetLanguagePluginLibPathResponse",
12: "ErrorResponse",
13: "GetAllConceptsRequest",
14: "GetAllConceptsResponse",
15: "PerformRefactoringRequest",
16: "PerformRefactoringResponse",
17: "ExtractConceptRequest",
18: "ExtractConceptResponse",
19: "FormatSpecsRequest",
20: "FormatSpecsResponse",
21: "UnsupportedApiMessageResponse",
}
var APIMessage_APIMessageType_value = map[string]int32{
"GetProjectRootRequest": 0,
"GetProjectRootResponse": 1,
"GetInstallationRootRequest": 2,
"GetInstallationRootResponse": 3,
"GetAllStepsRequest": 4,
"GetAllStepResponse": 5,
"SpecsRequest": 6,
"SpecsResponse": 7,
"GetStepValueRequest": 8,
"GetStepValueResponse": 9,
"GetLanguagePluginLibPathRequest": 10,
"GetLanguagePluginLibPathResponse": 11,
"ErrorResponse": 12,
"GetAllConceptsRequest": 13,
"GetAllConceptsResponse": 14,
"PerformRefactoringRequest": 15,
"PerformRefactoringResponse": 16,
"ExtractConceptRequest": 17,
"ExtractConceptResponse": 18,
"FormatSpecsRequest": 19,
"FormatSpecsResponse": 20,
"UnsupportedApiMessageResponse": 21,
}
var Error_ErrorType_name = map[int32]string{
0: "PARSE_ERROR",
1: "VALIDATION_ERROR",
}
var Error_ErrorType_value = map[string]int32{
"PARSE_ERROR": 0,
"VALIDATION_ERROR": 1,
}
var ExecutionStatus_name = map[int32]string{
0: "NOTEXECUTED",
1: "PASSED",
2: "FAILED",
3: "SKIPPED",
}
var ExecutionStatus_value = map[string]int32{
"NOTEXECUTED": 0,
"PASSED": 1,
"FAILED": 2,
"SKIPPED": 3,
}
var Fragment_FragmentType_name = map[int32]string{
0: "Text",
1: "Parameter",
}
var Fragment_FragmentType_value = map[string]int32{
"Text": 0,
"Parameter": 1,
}
var Message_MessageType_name = map[int32]string{
0: "ExecutionStarting",
1: "SpecExecutionStarting",
2: "SpecExecutionEnding",
3: "ScenarioExecutionStarting",
4: "ScenarioExecutionEnding",
5: "StepExecutionStarting",
6: "StepExecutionEnding",
7: "ExecuteStep",
8: "ExecutionEnding",
9: "StepValidateRequest",
10: "StepValidateResponse",
11: "ExecutionStatusResponse",
12: "StepNamesRequest",
13: "StepNamesResponse",
14: "KillProcessRequest",
15: "SuiteExecutionResult",
16: "ScenarioDataStoreInit",
17: "SpecDataStoreInit",
18: "SuiteDataStoreInit",
19: "StepNameRequest",
20: "StepNameResponse",
21: "RefactorRequest",
22: "RefactorResponse",
23: "UnsupportedMessageResponse",
24: "CacheFileRequest",
25: "StepPositionsRequest",
26: "StepPositionsResponse",
}
var Message_MessageType_value = map[string]int32{
"ExecutionStarting": 0,
"SpecExecutionStarting": 1,
"SpecExecutionEnding": 2,
"ScenarioExecutionStarting": 3,
"ScenarioExecutionEnding": 4,
"StepExecutionStarting": 5,
"StepExecutionEnding": 6,
"ExecuteStep": 7,
"ExecutionEnding": 8,
"StepValidateRequest": 9,
"StepValidateResponse": 10,
"ExecutionStatusResponse": 11,
"StepNamesRequest": 12,
"StepNamesResponse": 13,
"KillProcessRequest": 14,
"SuiteExecutionResult": 15,
"ScenarioDataStoreInit": 16,
"SpecDataStoreInit": 17,
"SuiteDataStoreInit": 18,
"StepNameRequest": 19,
"StepNameResponse": 20,
"RefactorRequest": 21,
"RefactorResponse": 22,
"UnsupportedMessageResponse": 23,
"CacheFileRequest": 24,
"StepPositionsRequest": 25,
"StepPositionsResponse": 26,
}
var Parameter_ParameterType_name = map[int32]string{
0: "Static",
1: "Dynamic",
2: "Special_String",
3: "Special_Table",
4: "Table",
}
var Parameter_ParameterType_value = map[string]int32{
"Static": 0,
"Dynamic": 1,
"Special_String": 2,
"Special_Table": 3,
"Table": 4,
}
var ProtoExecutionResult_ErrorType_name = map[int32]string{
0: "ASSERTION",
1: "VERIFICATION",
}
var ProtoExecutionResult_ErrorType_value = map[string]int32{
"ASSERTION": 0,
"VERIFICATION": 1,
}
var ProtoItem_ItemType_name = map[int32]string{
0: "Step",
1: "Comment",
2: "Concept",
3: "Scenario",
4: "TableDrivenScenario",
5: "Table",
6: "Tags",
}
var ProtoItem_ItemType_value = map[string]int32{
"Step": 0,
"Comment": 1,
"Concept": 2,
"Scenario": 3,
"TableDrivenScenario": 4,
"Table": 5,
"Tags": 6,
}
var StepValidateResponse_ErrorType_name = map[int32]string{
0: "STEP_IMPLEMENTATION_NOT_FOUND",
1: "DUPLICATE_STEP_IMPLEMENTATION",
}
var StepValidateResponse_ErrorType_value = map[string]int32{
"STEP_IMPLEMENTATION_NOT_FOUND": 0,
"DUPLICATE_STEP_IMPLEMENTATION": 1,
}
Functions ¶
This section is empty.
Types ¶
type APIMessage ¶
type APIMessage struct { // / Type of API call being made MessageType APIMessage_APIMessageType `protobuf:"varint,1,opt,name=messageType,enum=gauge.messages.APIMessage_APIMessageType" json:"messageType,omitempty"` // / A unique id to represent this message. A response to the message should copy over this value. // / This is used to synchronize messages & responses MessageId int64 `protobuf:"varint,2,opt,name=messageId" json:"messageId,omitempty"` // / [GetProjectRootRequest](#gauge.messages.GetProjectRootRequest) ProjectRootRequest *GetProjectRootRequest `protobuf:"bytes,3,opt,name=projectRootRequest" json:"projectRootRequest,omitempty"` // / [GetProjectRootResponse](#gauge.messages.GetProjectRootResponse) ProjectRootResponse *GetProjectRootResponse `protobuf:"bytes,4,opt,name=projectRootResponse" json:"projectRootResponse,omitempty"` // / [GetInstallationRootRequest](#gauge.messages.GetInstallationRootRequest) InstallationRootRequest *GetInstallationRootRequest `protobuf:"bytes,5,opt,name=installationRootRequest" json:"installationRootRequest,omitempty"` // / [GetInstallationRootResponse](#gauge.messages.GetInstallationRootResponse) InstallationRootResponse *GetInstallationRootResponse `protobuf:"bytes,6,opt,name=installationRootResponse" json:"installationRootResponse,omitempty"` // / [GetAllStepsRequest](#gauge.messages.GetAllStepsRequest) AllStepsRequest *GetAllStepsRequest `protobuf:"bytes,7,opt,name=allStepsRequest" json:"allStepsRequest,omitempty"` // / [GetAllStepsResponse](#gauge.messages.GetAllStepsResponse) AllStepsResponse *GetAllStepsResponse `protobuf:"bytes,8,opt,name=allStepsResponse" json:"allStepsResponse,omitempty"` // / [GetAllSpecsRequest](#gauge.messages.GetAllSpecsRequest) SpecsRequest *SpecsRequest `protobuf:"bytes,9,opt,name=specsRequest" json:"specsRequest,omitempty"` // / [GetAllSpecsResponse](#gauge.messages.GetAllSpecsResponse) SpecsResponse *SpecsResponse `protobuf:"bytes,10,opt,name=specsResponse" json:"specsResponse,omitempty"` // / [GetStepValueRequest](#gauge.messages.GetStepValueRequest) StepValueRequest *GetStepValueRequest `protobuf:"bytes,11,opt,name=stepValueRequest" json:"stepValueRequest,omitempty"` // / [GetStepValueResponse](#gauge.messages.GetStepValueResponse) StepValueResponse *GetStepValueResponse `protobuf:"bytes,12,opt,name=stepValueResponse" json:"stepValueResponse,omitempty"` // / [GetLanguagePluginLibPathRequest](#gauge.messages.GetLanguagePluginLibPathRequest) LibPathRequest *GetLanguagePluginLibPathRequest `protobuf:"bytes,13,opt,name=libPathRequest" json:"libPathRequest,omitempty"` // / [GetLanguagePluginLibPathResponse](#gauge.messages.GetLanguagePluginLibPathResponse) LibPathResponse *GetLanguagePluginLibPathResponse `protobuf:"bytes,14,opt,name=libPathResponse" json:"libPathResponse,omitempty"` // / [ErrorResponse](#gauge.messages.ErrorResponse) Error *ErrorResponse `protobuf:"bytes,15,opt,name=error" json:"error,omitempty"` // / [GetAllConceptsRequest](#gauge.messages.GetAllConceptsRequest) AllConceptsRequest *GetAllConceptsRequest `protobuf:"bytes,16,opt,name=allConceptsRequest" json:"allConceptsRequest,omitempty"` // / [GetAllConceptsResponse](#gauge.messages.GetAllConceptsResponse) AllConceptsResponse *GetAllConceptsResponse `protobuf:"bytes,17,opt,name=allConceptsResponse" json:"allConceptsResponse,omitempty"` // / [PerformRefactoringRequest](#gauge.messages.PerformRefactoringRequest) PerformRefactoringRequest *PerformRefactoringRequest `protobuf:"bytes,18,opt,name=performRefactoringRequest" json:"performRefactoringRequest,omitempty"` // / [PerformRefactoringResponse](#gauge.messages.PerformRefactoringResponse) PerformRefactoringResponse *PerformRefactoringResponse `protobuf:"bytes,19,opt,name=performRefactoringResponse" json:"performRefactoringResponse,omitempty"` // / [ExtractConceptRequest](#gauge.messages.ExtractConceptRequest) ExtractConceptRequest *ExtractConceptRequest `protobuf:"bytes,20,opt,name=extractConceptRequest" json:"extractConceptRequest,omitempty"` // / [ExtractConceptResponse](#gauge.messages.ExtractConceptResponse) ExtractConceptResponse *ExtractConceptResponse `protobuf:"bytes,21,opt,name=extractConceptResponse" json:"extractConceptResponse,omitempty"` // / [FormatSpecsRequest] (#gauge.messages.FormatSpecsRequest) FormatSpecsRequest *FormatSpecsRequest `protobuf:"bytes,22,opt,name=formatSpecsRequest" json:"formatSpecsRequest,omitempty"` // / [FormatSpecsResponse] (#gauge.messages.FormatSpecsResponse) FormatSpecsResponse *FormatSpecsResponse `protobuf:"bytes,23,opt,name=formatSpecsResponse" json:"formatSpecsResponse,omitempty"` // / [UnsupportedApiMessageResponse] (#gauge.messages.UnsupportedApiMessageResponse) UnsupportedApiMessageResponse *UnsupportedApiMessageResponse `protobuf:"bytes,24,opt,name=unsupportedApiMessageResponse" json:"unsupportedApiMessageResponse,omitempty"` }
/ A generic message composing of all possible operations. / One of the Request/Response fields will have value, depending on the MessageType set.
func (*APIMessage) Descriptor ¶
func (*APIMessage) Descriptor() ([]byte, []int)
func (*APIMessage) GetAllConceptsRequest ¶
func (m *APIMessage) GetAllConceptsRequest() *GetAllConceptsRequest
func (*APIMessage) GetAllConceptsResponse ¶
func (m *APIMessage) GetAllConceptsResponse() *GetAllConceptsResponse
func (*APIMessage) GetAllStepsRequest ¶
func (m *APIMessage) GetAllStepsRequest() *GetAllStepsRequest
func (*APIMessage) GetAllStepsResponse ¶
func (m *APIMessage) GetAllStepsResponse() *GetAllStepsResponse
func (*APIMessage) GetError ¶
func (m *APIMessage) GetError() *ErrorResponse
func (*APIMessage) GetExtractConceptRequest ¶
func (m *APIMessage) GetExtractConceptRequest() *ExtractConceptRequest
func (*APIMessage) GetExtractConceptResponse ¶
func (m *APIMessage) GetExtractConceptResponse() *ExtractConceptResponse
func (*APIMessage) GetFormatSpecsRequest ¶
func (m *APIMessage) GetFormatSpecsRequest() *FormatSpecsRequest
func (*APIMessage) GetFormatSpecsResponse ¶
func (m *APIMessage) GetFormatSpecsResponse() *FormatSpecsResponse
func (*APIMessage) GetInstallationRootRequest ¶
func (m *APIMessage) GetInstallationRootRequest() *GetInstallationRootRequest
func (*APIMessage) GetInstallationRootResponse ¶
func (m *APIMessage) GetInstallationRootResponse() *GetInstallationRootResponse
func (*APIMessage) GetLibPathRequest ¶
func (m *APIMessage) GetLibPathRequest() *GetLanguagePluginLibPathRequest
func (*APIMessage) GetLibPathResponse ¶
func (m *APIMessage) GetLibPathResponse() *GetLanguagePluginLibPathResponse
func (*APIMessage) GetMessageId ¶
func (m *APIMessage) GetMessageId() int64
func (*APIMessage) GetMessageType ¶
func (m *APIMessage) GetMessageType() APIMessage_APIMessageType
func (*APIMessage) GetPerformRefactoringRequest ¶
func (m *APIMessage) GetPerformRefactoringRequest() *PerformRefactoringRequest
func (*APIMessage) GetPerformRefactoringResponse ¶
func (m *APIMessage) GetPerformRefactoringResponse() *PerformRefactoringResponse
func (*APIMessage) GetProjectRootRequest ¶
func (m *APIMessage) GetProjectRootRequest() *GetProjectRootRequest
func (*APIMessage) GetProjectRootResponse ¶
func (m *APIMessage) GetProjectRootResponse() *GetProjectRootResponse
func (*APIMessage) GetSpecsRequest ¶ added in v0.1.0
func (m *APIMessage) GetSpecsRequest() *SpecsRequest
func (*APIMessage) GetSpecsResponse ¶ added in v0.1.0
func (m *APIMessage) GetSpecsResponse() *SpecsResponse
func (*APIMessage) GetStepValueRequest ¶
func (m *APIMessage) GetStepValueRequest() *GetStepValueRequest
func (*APIMessage) GetStepValueResponse ¶
func (m *APIMessage) GetStepValueResponse() *GetStepValueResponse
func (*APIMessage) GetUnsupportedApiMessageResponse ¶
func (m *APIMessage) GetUnsupportedApiMessageResponse() *UnsupportedApiMessageResponse
func (*APIMessage) ProtoMessage ¶
func (*APIMessage) ProtoMessage()
func (*APIMessage) Reset ¶
func (m *APIMessage) Reset()
func (*APIMessage) String ¶
func (m *APIMessage) String() string
type APIMessage_APIMessageType ¶
type APIMessage_APIMessageType int32
const ( APIMessage_GetProjectRootRequest APIMessage_APIMessageType = 0 APIMessage_GetProjectRootResponse APIMessage_APIMessageType = 1 APIMessage_GetInstallationRootRequest APIMessage_APIMessageType = 2 APIMessage_GetInstallationRootResponse APIMessage_APIMessageType = 3 APIMessage_GetAllStepsRequest APIMessage_APIMessageType = 4 APIMessage_GetAllStepResponse APIMessage_APIMessageType = 5 APIMessage_SpecsRequest APIMessage_APIMessageType = 6 APIMessage_SpecsResponse APIMessage_APIMessageType = 7 APIMessage_GetStepValueRequest APIMessage_APIMessageType = 8 APIMessage_GetStepValueResponse APIMessage_APIMessageType = 9 APIMessage_GetLanguagePluginLibPathRequest APIMessage_APIMessageType = 10 APIMessage_GetLanguagePluginLibPathResponse APIMessage_APIMessageType = 11 APIMessage_ErrorResponse APIMessage_APIMessageType = 12 APIMessage_GetAllConceptsRequest APIMessage_APIMessageType = 13 APIMessage_GetAllConceptsResponse APIMessage_APIMessageType = 14 APIMessage_PerformRefactoringRequest APIMessage_APIMessageType = 15 APIMessage_PerformRefactoringResponse APIMessage_APIMessageType = 16 APIMessage_ExtractConceptRequest APIMessage_APIMessageType = 17 APIMessage_ExtractConceptResponse APIMessage_APIMessageType = 18 APIMessage_FormatSpecsRequest APIMessage_APIMessageType = 19 APIMessage_FormatSpecsResponse APIMessage_APIMessageType = 20 APIMessage_UnsupportedApiMessageResponse APIMessage_APIMessageType = 21 )
func (APIMessage_APIMessageType) EnumDescriptor ¶
func (APIMessage_APIMessageType) EnumDescriptor() ([]byte, []int)
func (APIMessage_APIMessageType) String ¶
func (x APIMessage_APIMessageType) String() string
type CacheFileRequest ¶ added in v0.1.2
type CacheFileRequest struct { // / File content of the file to be cached Content string `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` // / File path of the file to be cached FilePath string `protobuf:"bytes,2,opt,name=filePath" json:"filePath,omitempty"` // / Specifies if the file is closed IsClosed bool `protobuf:"varint,3,opt,name=isClosed" json:"isClosed,omitempty"` }
/ Request for caching a file
func (*CacheFileRequest) Descriptor ¶ added in v0.1.2
func (*CacheFileRequest) Descriptor() ([]byte, []int)
func (*CacheFileRequest) GetContent ¶ added in v0.1.2
func (m *CacheFileRequest) GetContent() string
func (*CacheFileRequest) GetFilePath ¶ added in v0.1.2
func (m *CacheFileRequest) GetFilePath() string
func (*CacheFileRequest) GetIsClosed ¶ added in v0.1.2
func (m *CacheFileRequest) GetIsClosed() bool
func (*CacheFileRequest) ProtoMessage ¶ added in v0.1.2
func (*CacheFileRequest) ProtoMessage()
func (*CacheFileRequest) Reset ¶ added in v0.1.2
func (m *CacheFileRequest) Reset()
func (*CacheFileRequest) String ¶ added in v0.1.2
func (m *CacheFileRequest) String() string
type ConceptInfo ¶
type ConceptInfo struct { // / The text that defines a concept StepValue *ProtoStepValue `protobuf:"bytes,1,opt,name=stepValue" json:"stepValue,omitempty"` // / The absolute path to the file that contains the Concept Filepath string `protobuf:"bytes,2,opt,name=filepath" json:"filepath,omitempty"` // / The line number in the file where the concept is defined. LineNumber int32 `protobuf:"varint,3,opt,name=lineNumber" json:"lineNumber,omitempty"` }
/ Details of a Concept
func (*ConceptInfo) Descriptor ¶
func (*ConceptInfo) Descriptor() ([]byte, []int)
func (*ConceptInfo) GetFilepath ¶
func (m *ConceptInfo) GetFilepath() string
func (*ConceptInfo) GetLineNumber ¶
func (m *ConceptInfo) GetLineNumber() int32
func (*ConceptInfo) GetStepValue ¶
func (m *ConceptInfo) GetStepValue() *ProtoStepValue
func (*ConceptInfo) ProtoMessage ¶
func (*ConceptInfo) ProtoMessage()
func (*ConceptInfo) Reset ¶
func (m *ConceptInfo) Reset()
func (*ConceptInfo) String ¶
func (m *ConceptInfo) String() string
type Error ¶ added in v0.1.0
type Error struct { // / Holds the type of error Type Error_ErrorType `protobuf:"varint,1,opt,name=type,enum=gauge.messages.Error_ErrorType" json:"type,omitempty"` // / Holds the filename. Filename string `protobuf:"bytes,2,opt,name=filename" json:"filename,omitempty"` // / Holds the line number of the error in file. LineNumber int32 `protobuf:"varint,3,opt,name=lineNumber" json:"lineNumber,omitempty"` // / Holds the error message. Message string `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` }
/ A proto object representing an error in spec/Scenario.
func (*Error) Descriptor ¶ added in v0.1.0
func (*Error) GetFilename ¶ added in v0.1.0
func (*Error) GetLineNumber ¶ added in v0.1.0
func (*Error) GetMessage ¶ added in v0.1.0
func (*Error) GetType ¶ added in v0.1.0
func (m *Error) GetType() Error_ErrorType
func (*Error) ProtoMessage ¶ added in v0.1.0
func (*Error) ProtoMessage()
type ErrorResponse ¶
type ErrorResponse struct { // / Actual error message Error string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` }
/ A generic failure response
func (*ErrorResponse) Descriptor ¶
func (*ErrorResponse) Descriptor() ([]byte, []int)
func (*ErrorResponse) GetError ¶
func (m *ErrorResponse) GetError() string
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) Reset ¶
func (m *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (m *ErrorResponse) String() string
type Error_ErrorType ¶ added in v0.1.0
type Error_ErrorType int32
const ( Error_PARSE_ERROR Error_ErrorType = 0 Error_VALIDATION_ERROR Error_ErrorType = 1 )
func (Error_ErrorType) EnumDescriptor ¶ added in v0.1.0
func (Error_ErrorType) EnumDescriptor() ([]byte, []int)
func (Error_ErrorType) String ¶ added in v0.1.0
func (x Error_ErrorType) String() string
type ExecuteStepRequest ¶
type ExecuteStepRequest struct { // / Contains the actual text of the Step being executed. // / This contains the parameters as defined in the Spec. ActualStepText string `protobuf:"bytes,1,opt,name=actualStepText" json:"actualStepText,omitempty"` // / Contains the parsed text of the Step being executed. // / The paramters are replaced with placeholders. ParsedStepText string `protobuf:"bytes,2,opt,name=parsedStepText" json:"parsedStepText,omitempty"` // / Flag to indicate if the execution of the Scenario, containing the current Step, failed. ScenarioFailing bool `protobuf:"varint,3,opt,name=scenarioFailing" json:"scenarioFailing,omitempty"` // / Collection of parameters applicable to the current Step. Parameters []*Parameter `protobuf:"bytes,4,rep,name=parameters" json:"parameters,omitempty"` }
/ Request sent ot the runner to Execute a Step
func (*ExecuteStepRequest) Descriptor ¶
func (*ExecuteStepRequest) Descriptor() ([]byte, []int)
func (*ExecuteStepRequest) GetActualStepText ¶
func (m *ExecuteStepRequest) GetActualStepText() string
func (*ExecuteStepRequest) GetParameters ¶
func (m *ExecuteStepRequest) GetParameters() []*Parameter
func (*ExecuteStepRequest) GetParsedStepText ¶
func (m *ExecuteStepRequest) GetParsedStepText() string
func (*ExecuteStepRequest) GetScenarioFailing ¶
func (m *ExecuteStepRequest) GetScenarioFailing() bool
func (*ExecuteStepRequest) ProtoMessage ¶
func (*ExecuteStepRequest) ProtoMessage()
func (*ExecuteStepRequest) Reset ¶
func (m *ExecuteStepRequest) Reset()
func (*ExecuteStepRequest) String ¶
func (m *ExecuteStepRequest) String() string
type ExecutionEndingRequest ¶
type ExecutionEndingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook.
func (*ExecutionEndingRequest) Descriptor ¶
func (*ExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*ExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *ExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ExecutionEndingRequest) ProtoMessage ¶
func (*ExecutionEndingRequest) ProtoMessage()
func (*ExecutionEndingRequest) Reset ¶
func (m *ExecutionEndingRequest) Reset()
func (*ExecutionEndingRequest) String ¶
func (m *ExecutionEndingRequest) String() string
type ExecutionInfo ¶
type ExecutionInfo struct { // / Holds the information of the current Spec. Valid in context of Spec execution. CurrentSpec *SpecInfo `protobuf:"bytes,1,opt,name=currentSpec" json:"currentSpec,omitempty"` // / Holds the information of the current Scenario. Valid in context of Scenario execution. CurrentScenario *ScenarioInfo `protobuf:"bytes,2,opt,name=currentScenario" json:"currentScenario,omitempty"` // / Holds the information of the current Step. Valid in context of Step execution. CurrentStep *StepInfo `protobuf:"bytes,3,opt,name=currentStep" json:"currentStep,omitempty"` // / Stacktrace of the execution. Valid only if there is an error in execution. Stacktrace string `protobuf:"bytes,4,opt,name=stacktrace" json:"stacktrace,omitempty"` }
/ Contains details of the execution. / Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set.
func (*ExecutionInfo) Descriptor ¶
func (*ExecutionInfo) Descriptor() ([]byte, []int)
func (*ExecutionInfo) GetCurrentScenario ¶
func (m *ExecutionInfo) GetCurrentScenario() *ScenarioInfo
func (*ExecutionInfo) GetCurrentSpec ¶
func (m *ExecutionInfo) GetCurrentSpec() *SpecInfo
func (*ExecutionInfo) GetCurrentStep ¶
func (m *ExecutionInfo) GetCurrentStep() *StepInfo
func (*ExecutionInfo) GetStacktrace ¶
func (m *ExecutionInfo) GetStacktrace() string
func (*ExecutionInfo) ProtoMessage ¶
func (*ExecutionInfo) ProtoMessage()
func (*ExecutionInfo) Reset ¶
func (m *ExecutionInfo) Reset()
func (*ExecutionInfo) String ¶
func (m *ExecutionInfo) String() string
type ExecutionStartingRequest ¶
type ExecutionStartingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook.
func (*ExecutionStartingRequest) Descriptor ¶
func (*ExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*ExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *ExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ExecutionStartingRequest) ProtoMessage ¶
func (*ExecutionStartingRequest) ProtoMessage()
func (*ExecutionStartingRequest) Reset ¶
func (m *ExecutionStartingRequest) Reset()
func (*ExecutionStartingRequest) String ¶
func (m *ExecutionStartingRequest) String() string
type ExecutionStatus ¶ added in v0.1.0
type ExecutionStatus int32
/ Execution Status
const ( ExecutionStatus_NOTEXECUTED ExecutionStatus = 0 ExecutionStatus_PASSED ExecutionStatus = 1 ExecutionStatus_FAILED ExecutionStatus = 2 ExecutionStatus_SKIPPED ExecutionStatus = 3 )
func (ExecutionStatus) EnumDescriptor ¶ added in v0.1.0
func (ExecutionStatus) EnumDescriptor() ([]byte, []int)
func (ExecutionStatus) String ¶ added in v0.1.0
func (x ExecutionStatus) String() string
type ExecutionStatusResponse ¶
type ExecutionStatusResponse struct {
ExecutionResult *ProtoExecutionResult `protobuf:"bytes,1,opt,name=executionResult" json:"executionResult,omitempty"`
}
/ Sends to any request which needs a execution status as response / usually step execution, hooks etc will return this
func (*ExecutionStatusResponse) Descriptor ¶
func (*ExecutionStatusResponse) Descriptor() ([]byte, []int)
func (*ExecutionStatusResponse) GetExecutionResult ¶
func (m *ExecutionStatusResponse) GetExecutionResult() *ProtoExecutionResult
func (*ExecutionStatusResponse) ProtoMessage ¶
func (*ExecutionStatusResponse) ProtoMessage()
func (*ExecutionStatusResponse) Reset ¶
func (m *ExecutionStatusResponse) Reset()
func (*ExecutionStatusResponse) String ¶
func (m *ExecutionStatusResponse) String() string
type ExtractConceptRequest ¶
type ExtractConceptRequest struct { // / The Concept name given by the user ConceptName *Step `protobuf:"bytes,1,opt,name=conceptName" json:"conceptName,omitempty"` // / steps to extract Steps []*Step `protobuf:"bytes,2,rep,name=steps" json:"steps,omitempty"` // / Flag indicating if refactoring should be done across project ChangeAcrossProject bool `protobuf:"varint,3,opt,name=changeAcrossProject" json:"changeAcrossProject,omitempty"` // / The concept filename in which extracted concept will be added ConceptFileName string `protobuf:"bytes,4,opt,name=conceptFileName" json:"conceptFileName,omitempty"` // / Info related to selected text, only if changeAcrossProject is false SelectedTextInfo *TextInfo `protobuf:"bytes,5,opt,name=selectedTextInfo" json:"selectedTextInfo,omitempty"` }
/ Request to perform Extract to Concept refactoring
func (*ExtractConceptRequest) Descriptor ¶
func (*ExtractConceptRequest) Descriptor() ([]byte, []int)
func (*ExtractConceptRequest) GetChangeAcrossProject ¶
func (m *ExtractConceptRequest) GetChangeAcrossProject() bool
func (*ExtractConceptRequest) GetConceptFileName ¶
func (m *ExtractConceptRequest) GetConceptFileName() string
func (*ExtractConceptRequest) GetConceptName ¶
func (m *ExtractConceptRequest) GetConceptName() *Step
func (*ExtractConceptRequest) GetSelectedTextInfo ¶
func (m *ExtractConceptRequest) GetSelectedTextInfo() *TextInfo
func (*ExtractConceptRequest) GetSteps ¶
func (m *ExtractConceptRequest) GetSteps() []*Step
func (*ExtractConceptRequest) ProtoMessage ¶
func (*ExtractConceptRequest) ProtoMessage()
func (*ExtractConceptRequest) Reset ¶
func (m *ExtractConceptRequest) Reset()
func (*ExtractConceptRequest) String ¶
func (m *ExtractConceptRequest) String() string
type ExtractConceptResponse ¶
type ExtractConceptResponse struct { // / Flag indicating Success IsSuccess bool `protobuf:"varint,1,opt,name=isSuccess" json:"isSuccess,omitempty"` // / Error message if the refactoring was unsuccessful. Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` // / Collection of files that were changed as part of the Refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` }
/ Response to perform Extract to Concept refactoring
func (*ExtractConceptResponse) Descriptor ¶
func (*ExtractConceptResponse) Descriptor() ([]byte, []int)
func (*ExtractConceptResponse) GetError ¶
func (m *ExtractConceptResponse) GetError() string
func (*ExtractConceptResponse) GetFilesChanged ¶
func (m *ExtractConceptResponse) GetFilesChanged() []string
func (*ExtractConceptResponse) GetIsSuccess ¶
func (m *ExtractConceptResponse) GetIsSuccess() bool
func (*ExtractConceptResponse) ProtoMessage ¶
func (*ExtractConceptResponse) ProtoMessage()
func (*ExtractConceptResponse) Reset ¶
func (m *ExtractConceptResponse) Reset()
func (*ExtractConceptResponse) String ¶
func (m *ExtractConceptResponse) String() string
type FormatSpecsRequest ¶
type FormatSpecsRequest struct { // / Specs to be formatted Specs []string `protobuf:"bytes,1,rep,name=specs" json:"specs,omitempty"` }
/ Request to format spec files
func (*FormatSpecsRequest) Descriptor ¶
func (*FormatSpecsRequest) Descriptor() ([]byte, []int)
func (*FormatSpecsRequest) GetSpecs ¶
func (m *FormatSpecsRequest) GetSpecs() []string
func (*FormatSpecsRequest) ProtoMessage ¶
func (*FormatSpecsRequest) ProtoMessage()
func (*FormatSpecsRequest) Reset ¶
func (m *FormatSpecsRequest) Reset()
func (*FormatSpecsRequest) String ¶
func (m *FormatSpecsRequest) String() string
type FormatSpecsResponse ¶
type FormatSpecsResponse struct { // / Errors occurred on formatting Errors []string `protobuf:"bytes,1,rep,name=errors" json:"errors,omitempty"` // / Warnings occurred on formatting Warnings []string `protobuf:"bytes,2,rep,name=warnings" json:"warnings,omitempty"` }
/ Response on formatting spec files
func (*FormatSpecsResponse) Descriptor ¶
func (*FormatSpecsResponse) Descriptor() ([]byte, []int)
func (*FormatSpecsResponse) GetErrors ¶
func (m *FormatSpecsResponse) GetErrors() []string
func (*FormatSpecsResponse) GetWarnings ¶
func (m *FormatSpecsResponse) GetWarnings() []string
func (*FormatSpecsResponse) ProtoMessage ¶
func (*FormatSpecsResponse) ProtoMessage()
func (*FormatSpecsResponse) Reset ¶
func (m *FormatSpecsResponse) Reset()
func (*FormatSpecsResponse) String ¶
func (m *FormatSpecsResponse) String() string
type Fragment ¶
type Fragment struct { // / Type of Fragment, valid values are Text, Parameter FragmentType Fragment_FragmentType `protobuf:"varint,1,opt,name=fragmentType,enum=gauge.messages.Fragment_FragmentType" json:"fragmentType,omitempty"` // / Text part of the Fragment, valid only if FragmentType=Text Text string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` // / Parameter part of the Fragment, valid only if FragmentType=Parameter Parameter *Parameter `protobuf:"bytes,3,opt,name=parameter" json:"parameter,omitempty"` }
/ A proto object representing Fragment. / Fragments, put together make up A Step
func (*Fragment) Descriptor ¶
func (*Fragment) GetFragmentType ¶
func (m *Fragment) GetFragmentType() Fragment_FragmentType
func (*Fragment) GetParameter ¶
func (*Fragment) ProtoMessage ¶
func (*Fragment) ProtoMessage()
type Fragment_FragmentType ¶
type Fragment_FragmentType int32
/ Enum representing the types of Fragment
const ( Fragment_Text Fragment_FragmentType = 0 Fragment_Parameter Fragment_FragmentType = 1 )
func (Fragment_FragmentType) EnumDescriptor ¶
func (Fragment_FragmentType) EnumDescriptor() ([]byte, []int)
func (Fragment_FragmentType) String ¶
func (x Fragment_FragmentType) String() string
type GetAllConceptsRequest ¶
type GetAllConceptsRequest struct { }
/ Request to get all Concepts in the project
func (*GetAllConceptsRequest) Descriptor ¶
func (*GetAllConceptsRequest) Descriptor() ([]byte, []int)
func (*GetAllConceptsRequest) ProtoMessage ¶
func (*GetAllConceptsRequest) ProtoMessage()
func (*GetAllConceptsRequest) Reset ¶
func (m *GetAllConceptsRequest) Reset()
func (*GetAllConceptsRequest) String ¶
func (m *GetAllConceptsRequest) String() string
type GetAllConceptsResponse ¶
type GetAllConceptsResponse struct { // / Holds a collection of Concepts that are defined in the project. Concepts []*ConceptInfo `protobuf:"bytes,1,rep,name=concepts" json:"concepts,omitempty"` }
/ Response to GetAllConceptsResponse
func (*GetAllConceptsResponse) Descriptor ¶
func (*GetAllConceptsResponse) Descriptor() ([]byte, []int)
func (*GetAllConceptsResponse) GetConcepts ¶
func (m *GetAllConceptsResponse) GetConcepts() []*ConceptInfo
func (*GetAllConceptsResponse) ProtoMessage ¶
func (*GetAllConceptsResponse) ProtoMessage()
func (*GetAllConceptsResponse) Reset ¶
func (m *GetAllConceptsResponse) Reset()
func (*GetAllConceptsResponse) String ¶
func (m *GetAllConceptsResponse) String() string
type GetAllStepsRequest ¶
type GetAllStepsRequest struct { }
/ Request to get all Steps in the project
func (*GetAllStepsRequest) Descriptor ¶
func (*GetAllStepsRequest) Descriptor() ([]byte, []int)
func (*GetAllStepsRequest) ProtoMessage ¶
func (*GetAllStepsRequest) ProtoMessage()
func (*GetAllStepsRequest) Reset ¶
func (m *GetAllStepsRequest) Reset()
func (*GetAllStepsRequest) String ¶
func (m *GetAllStepsRequest) String() string
type GetAllStepsResponse ¶
type GetAllStepsResponse struct { // / Holds a collection of Steps that are defined in the project. AllSteps []*ProtoStepValue `protobuf:"bytes,1,rep,name=allSteps" json:"allSteps,omitempty"` }
/ Response to GetAllStepsRequest
func (*GetAllStepsResponse) Descriptor ¶
func (*GetAllStepsResponse) Descriptor() ([]byte, []int)
func (*GetAllStepsResponse) GetAllSteps ¶
func (m *GetAllStepsResponse) GetAllSteps() []*ProtoStepValue
func (*GetAllStepsResponse) ProtoMessage ¶
func (*GetAllStepsResponse) ProtoMessage()
func (*GetAllStepsResponse) Reset ¶
func (m *GetAllStepsResponse) Reset()
func (*GetAllStepsResponse) String ¶
func (m *GetAllStepsResponse) String() string
type GetInstallationRootRequest ¶
type GetInstallationRootRequest struct { }
/ Request to get the Root Directory of the Gauge installation
func (*GetInstallationRootRequest) Descriptor ¶
func (*GetInstallationRootRequest) Descriptor() ([]byte, []int)
func (*GetInstallationRootRequest) ProtoMessage ¶
func (*GetInstallationRootRequest) ProtoMessage()
func (*GetInstallationRootRequest) Reset ¶
func (m *GetInstallationRootRequest) Reset()
func (*GetInstallationRootRequest) String ¶
func (m *GetInstallationRootRequest) String() string
type GetInstallationRootResponse ¶
type GetInstallationRootResponse struct { // / Holds the absolute path of the Gauge installation directory InstallationRoot string `protobuf:"bytes,1,opt,name=installationRoot" json:"installationRoot,omitempty"` }
/ Response of GetInstallationRootRequest
func (*GetInstallationRootResponse) Descriptor ¶
func (*GetInstallationRootResponse) Descriptor() ([]byte, []int)
func (*GetInstallationRootResponse) GetInstallationRoot ¶
func (m *GetInstallationRootResponse) GetInstallationRoot() string
func (*GetInstallationRootResponse) ProtoMessage ¶
func (*GetInstallationRootResponse) ProtoMessage()
func (*GetInstallationRootResponse) Reset ¶
func (m *GetInstallationRootResponse) Reset()
func (*GetInstallationRootResponse) String ¶
func (m *GetInstallationRootResponse) String() string
type GetLanguagePluginLibPathRequest ¶
type GetLanguagePluginLibPathRequest struct { // / The language to locate the lib directory for. Language string `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"` }
/ Request to get the location of language plugin's Lib directory
func (*GetLanguagePluginLibPathRequest) Descriptor ¶
func (*GetLanguagePluginLibPathRequest) Descriptor() ([]byte, []int)
func (*GetLanguagePluginLibPathRequest) GetLanguage ¶
func (m *GetLanguagePluginLibPathRequest) GetLanguage() string
func (*GetLanguagePluginLibPathRequest) ProtoMessage ¶
func (*GetLanguagePluginLibPathRequest) ProtoMessage()
func (*GetLanguagePluginLibPathRequest) Reset ¶
func (m *GetLanguagePluginLibPathRequest) Reset()
func (*GetLanguagePluginLibPathRequest) String ¶
func (m *GetLanguagePluginLibPathRequest) String() string
type GetLanguagePluginLibPathResponse ¶
type GetLanguagePluginLibPathResponse struct { // / Absolute path to the Lib directory of the language. Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"` }
/ Response to GetLanguagePluginLibPathRequest
func (*GetLanguagePluginLibPathResponse) Descriptor ¶
func (*GetLanguagePluginLibPathResponse) Descriptor() ([]byte, []int)
func (*GetLanguagePluginLibPathResponse) GetPath ¶
func (m *GetLanguagePluginLibPathResponse) GetPath() string
func (*GetLanguagePluginLibPathResponse) ProtoMessage ¶
func (*GetLanguagePluginLibPathResponse) ProtoMessage()
func (*GetLanguagePluginLibPathResponse) Reset ¶
func (m *GetLanguagePluginLibPathResponse) Reset()
func (*GetLanguagePluginLibPathResponse) String ¶
func (m *GetLanguagePluginLibPathResponse) String() string
type GetProjectRootRequest ¶
type GetProjectRootRequest struct { }
/ Request to get the Root Directory of the project
func (*GetProjectRootRequest) Descriptor ¶
func (*GetProjectRootRequest) Descriptor() ([]byte, []int)
func (*GetProjectRootRequest) ProtoMessage ¶
func (*GetProjectRootRequest) ProtoMessage()
func (*GetProjectRootRequest) Reset ¶
func (m *GetProjectRootRequest) Reset()
func (*GetProjectRootRequest) String ¶
func (m *GetProjectRootRequest) String() string
type GetProjectRootResponse ¶
type GetProjectRootResponse struct { // / Holds the absolute path of the Project Root directory. ProjectRoot string `protobuf:"bytes,1,opt,name=projectRoot" json:"projectRoot,omitempty"` }
/ Response of GetProjectRootRequest.
func (*GetProjectRootResponse) Descriptor ¶
func (*GetProjectRootResponse) Descriptor() ([]byte, []int)
func (*GetProjectRootResponse) GetProjectRoot ¶
func (m *GetProjectRootResponse) GetProjectRoot() string
func (*GetProjectRootResponse) ProtoMessage ¶
func (*GetProjectRootResponse) ProtoMessage()
func (*GetProjectRootResponse) Reset ¶
func (m *GetProjectRootResponse) Reset()
func (*GetProjectRootResponse) String ¶
func (m *GetProjectRootResponse) String() string
type GetStepValueRequest ¶
type GetStepValueRequest struct { // / The text of the Step. StepText string `protobuf:"bytes,1,opt,name=stepText" json:"stepText,omitempty"` // / Flag to indicate if the Step has an inline table. HasInlineTable bool `protobuf:"varint,2,opt,name=hasInlineTable" json:"hasInlineTable,omitempty"` }
/ Request to get a Step Value.
func (*GetStepValueRequest) Descriptor ¶
func (*GetStepValueRequest) Descriptor() ([]byte, []int)
func (*GetStepValueRequest) GetHasInlineTable ¶
func (m *GetStepValueRequest) GetHasInlineTable() bool
func (*GetStepValueRequest) GetStepText ¶
func (m *GetStepValueRequest) GetStepText() string
func (*GetStepValueRequest) ProtoMessage ¶
func (*GetStepValueRequest) ProtoMessage()
func (*GetStepValueRequest) Reset ¶
func (m *GetStepValueRequest) Reset()
func (*GetStepValueRequest) String ¶
func (m *GetStepValueRequest) String() string
type GetStepValueResponse ¶
type GetStepValueResponse struct { // / The Step corresponding to the request provided. StepValue *ProtoStepValue `protobuf:"bytes,1,opt,name=stepValue" json:"stepValue,omitempty"` }
/ Response to GetStepValueRequest
func (*GetStepValueResponse) Descriptor ¶
func (*GetStepValueResponse) Descriptor() ([]byte, []int)
func (*GetStepValueResponse) GetStepValue ¶
func (m *GetStepValueResponse) GetStepValue() *ProtoStepValue
func (*GetStepValueResponse) ProtoMessage ¶
func (*GetStepValueResponse) ProtoMessage()
func (*GetStepValueResponse) Reset ¶
func (m *GetStepValueResponse) Reset()
func (*GetStepValueResponse) String ¶
func (m *GetStepValueResponse) String() string
type KillProcessRequest ¶
type KillProcessRequest struct { }
/ Default request. Tells the runner to shutdown.
func (*KillProcessRequest) Descriptor ¶
func (*KillProcessRequest) Descriptor() ([]byte, []int)
func (*KillProcessRequest) ProtoMessage ¶
func (*KillProcessRequest) ProtoMessage()
func (*KillProcessRequest) Reset ¶
func (m *KillProcessRequest) Reset()
func (*KillProcessRequest) String ¶
func (m *KillProcessRequest) String() string
type Message ¶
type Message struct { MessageType Message_MessageType `protobuf:"varint,1,opt,name=messageType,enum=gauge.messages.Message_MessageType" json:"messageType,omitempty"` // / A unique id to represent this message. A response to the message should copy over this value. // / This is used to synchronize messages & responses MessageId int64 `protobuf:"varint,2,opt,name=messageId" json:"messageId,omitempty"` // / [ExecutionStartingRequest](#gauge.messages.ExecutionStartingRequest) ExecutionStartingRequest *ExecutionStartingRequest `protobuf:"bytes,3,opt,name=executionStartingRequest" json:"executionStartingRequest,omitempty"` // / [SpecExecutionStartingRequest](#gauge.messages.SpecExecutionStartingRequest) SpecExecutionStartingRequest *SpecExecutionStartingRequest `protobuf:"bytes,4,opt,name=specExecutionStartingRequest" json:"specExecutionStartingRequest,omitempty"` // / [SpecExecutionEndingRequest](#gauge.messages.SpecExecutionEndingRequest) SpecExecutionEndingRequest *SpecExecutionEndingRequest `protobuf:"bytes,5,opt,name=specExecutionEndingRequest" json:"specExecutionEndingRequest,omitempty"` // / [ScenarioExecutionStartingRequest](#gauge.messages.ScenarioExecutionStartingRequest) ScenarioExecutionStartingRequest *ScenarioExecutionStartingRequest `protobuf:"bytes,6,opt,name=scenarioExecutionStartingRequest" json:"scenarioExecutionStartingRequest,omitempty"` // / [ScenarioExecutionEndingRequest](#gauge.messages.ScenarioExecutionEndingRequest) ScenarioExecutionEndingRequest *ScenarioExecutionEndingRequest `protobuf:"bytes,7,opt,name=scenarioExecutionEndingRequest" json:"scenarioExecutionEndingRequest,omitempty"` // / [StepExecutionStartingRequest](#gauge.messages.StepExecutionStartingRequest) StepExecutionStartingRequest *StepExecutionStartingRequest `protobuf:"bytes,8,opt,name=stepExecutionStartingRequest" json:"stepExecutionStartingRequest,omitempty"` // / [StepExecutionEndingRequest](#gauge.messages.StepExecutionEndingRequest) StepExecutionEndingRequest *StepExecutionEndingRequest `protobuf:"bytes,9,opt,name=stepExecutionEndingRequest" json:"stepExecutionEndingRequest,omitempty"` // / [ExecuteStepRequest](#gauge.messages.ExecuteStepRequest) ExecuteStepRequest *ExecuteStepRequest `protobuf:"bytes,10,opt,name=executeStepRequest" json:"executeStepRequest,omitempty"` // / [ExecutionEndingRequest](#gauge.messages.ExecutionEndingRequest) ExecutionEndingRequest *ExecutionEndingRequest `protobuf:"bytes,11,opt,name=executionEndingRequest" json:"executionEndingRequest,omitempty"` // / [StepValidateRequest](#gauge.messages.StepValidateRequest) StepValidateRequest *StepValidateRequest `protobuf:"bytes,12,opt,name=stepValidateRequest" json:"stepValidateRequest,omitempty"` // / [StepValidateResponse](#gauge.messages.StepValidateResponse) StepValidateResponse *StepValidateResponse `protobuf:"bytes,13,opt,name=stepValidateResponse" json:"stepValidateResponse,omitempty"` // / [ExecutionStatusResponse](#gauge.messages.ExecutionStatusResponse) ExecutionStatusResponse *ExecutionStatusResponse `protobuf:"bytes,14,opt,name=executionStatusResponse" json:"executionStatusResponse,omitempty"` // / [StepNamesRequest](#gauge.messages.StepNamesRequest) StepNamesRequest *StepNamesRequest `protobuf:"bytes,15,opt,name=stepNamesRequest" json:"stepNamesRequest,omitempty"` // / [StepNamesResponse](#gauge.messages.StepNamesResponse) StepNamesResponse *StepNamesResponse `protobuf:"bytes,16,opt,name=stepNamesResponse" json:"stepNamesResponse,omitempty"` // / [SuiteExecutionResult ](#gauge.messages.SuiteExecutionResult ) SuiteExecutionResult *SuiteExecutionResult `protobuf:"bytes,17,opt,name=suiteExecutionResult" json:"suiteExecutionResult,omitempty"` // / [KillProcessRequest](#gauge.messages.KillProcessRequest) KillProcessRequest *KillProcessRequest `protobuf:"bytes,18,opt,name=killProcessRequest" json:"killProcessRequest,omitempty"` // / [ScenarioDataStoreInitRequest](#gauge.messages.ScenarioDataStoreInitRequest) ScenarioDataStoreInitRequest *ScenarioDataStoreInitRequest `protobuf:"bytes,19,opt,name=scenarioDataStoreInitRequest" json:"scenarioDataStoreInitRequest,omitempty"` // / [SpecDataStoreInitRequest](#gauge.messages.SpecDataStoreInitRequest) SpecDataStoreInitRequest *SpecDataStoreInitRequest `protobuf:"bytes,20,opt,name=specDataStoreInitRequest" json:"specDataStoreInitRequest,omitempty"` // / [SuiteDataStoreInitRequest](#gauge.messages.SuiteDataStoreInitRequest) SuiteDataStoreInitRequest *SuiteDataStoreInitRequest `protobuf:"bytes,21,opt,name=suiteDataStoreInitRequest" json:"suiteDataStoreInitRequest,omitempty"` // / [StepNameRequest](#gauge.messages.StepNameRequest) StepNameRequest *StepNameRequest `protobuf:"bytes,22,opt,name=stepNameRequest" json:"stepNameRequest,omitempty"` // / [StepNameResponse](#gauge.messages.StepNameResponse) StepNameResponse *StepNameResponse `protobuf:"bytes,23,opt,name=stepNameResponse" json:"stepNameResponse,omitempty"` // / [RefactorRequest](#gauge.messages.RefactorRequest) RefactorRequest *RefactorRequest `protobuf:"bytes,24,opt,name=refactorRequest" json:"refactorRequest,omitempty"` // / [RefactorResponse](#gauge.messages.RefactorResponse) RefactorResponse *RefactorResponse `protobuf:"bytes,25,opt,name=refactorResponse" json:"refactorResponse,omitempty"` // / [UnsupportedMessageResponse](#gauge.messages.UnsupportedMessageResponse) UnsupportedMessageResponse *UnsupportedMessageResponse `protobuf:"bytes,26,opt,name=unsupportedMessageResponse" json:"unsupportedMessageResponse,omitempty"` // / [CacheFileRequest](#gauge.messages.CacheFileRequest) CacheFileRequest *CacheFileRequest `protobuf:"bytes,27,opt,name=cacheFileRequest" json:"cacheFileRequest,omitempty"` // / [StepPositionsRequest](#gauge.messages.StepPositionsRequest) StepPositionsRequest *StepPositionsRequest `protobuf:"bytes,28,opt,name=stepPositionsRequest" json:"stepPositionsRequest,omitempty"` // / [StepPositionsResponse](#gauge.messages.StepPositionsResponse) StepPositionsResponse *StepPositionsResponse `protobuf:"bytes,29,opt,name=stepPositionsResponse" json:"stepPositionsResponse,omitempty"` }
/ This is the message which gets transferred all the time / with proper message type set / One of the Request/Response fields will have value, depending on the MessageType set.
func (*Message) Descriptor ¶
func (*Message) GetCacheFileRequest ¶ added in v0.1.2
func (m *Message) GetCacheFileRequest() *CacheFileRequest
func (*Message) GetExecuteStepRequest ¶
func (m *Message) GetExecuteStepRequest() *ExecuteStepRequest
func (*Message) GetExecutionEndingRequest ¶
func (m *Message) GetExecutionEndingRequest() *ExecutionEndingRequest
func (*Message) GetExecutionStartingRequest ¶
func (m *Message) GetExecutionStartingRequest() *ExecutionStartingRequest
func (*Message) GetExecutionStatusResponse ¶
func (m *Message) GetExecutionStatusResponse() *ExecutionStatusResponse
func (*Message) GetKillProcessRequest ¶
func (m *Message) GetKillProcessRequest() *KillProcessRequest
func (*Message) GetMessageId ¶
func (*Message) GetMessageType ¶
func (m *Message) GetMessageType() Message_MessageType
func (*Message) GetRefactorRequest ¶
func (m *Message) GetRefactorRequest() *RefactorRequest
func (*Message) GetRefactorResponse ¶
func (m *Message) GetRefactorResponse() *RefactorResponse
func (*Message) GetScenarioDataStoreInitRequest ¶
func (m *Message) GetScenarioDataStoreInitRequest() *ScenarioDataStoreInitRequest
func (*Message) GetScenarioExecutionEndingRequest ¶
func (m *Message) GetScenarioExecutionEndingRequest() *ScenarioExecutionEndingRequest
func (*Message) GetScenarioExecutionStartingRequest ¶
func (m *Message) GetScenarioExecutionStartingRequest() *ScenarioExecutionStartingRequest
func (*Message) GetSpecDataStoreInitRequest ¶
func (m *Message) GetSpecDataStoreInitRequest() *SpecDataStoreInitRequest
func (*Message) GetSpecExecutionEndingRequest ¶
func (m *Message) GetSpecExecutionEndingRequest() *SpecExecutionEndingRequest
func (*Message) GetSpecExecutionStartingRequest ¶
func (m *Message) GetSpecExecutionStartingRequest() *SpecExecutionStartingRequest
func (*Message) GetStepExecutionEndingRequest ¶
func (m *Message) GetStepExecutionEndingRequest() *StepExecutionEndingRequest
func (*Message) GetStepExecutionStartingRequest ¶
func (m *Message) GetStepExecutionStartingRequest() *StepExecutionStartingRequest
func (*Message) GetStepNameRequest ¶
func (m *Message) GetStepNameRequest() *StepNameRequest
func (*Message) GetStepNameResponse ¶
func (m *Message) GetStepNameResponse() *StepNameResponse
func (*Message) GetStepNamesRequest ¶
func (m *Message) GetStepNamesRequest() *StepNamesRequest
func (*Message) GetStepNamesResponse ¶
func (m *Message) GetStepNamesResponse() *StepNamesResponse
func (*Message) GetStepPositionsRequest ¶ added in v0.1.2
func (m *Message) GetStepPositionsRequest() *StepPositionsRequest
func (*Message) GetStepPositionsResponse ¶ added in v0.1.2
func (m *Message) GetStepPositionsResponse() *StepPositionsResponse
func (*Message) GetStepValidateRequest ¶
func (m *Message) GetStepValidateRequest() *StepValidateRequest
func (*Message) GetStepValidateResponse ¶
func (m *Message) GetStepValidateResponse() *StepValidateResponse
func (*Message) GetSuiteDataStoreInitRequest ¶
func (m *Message) GetSuiteDataStoreInitRequest() *SuiteDataStoreInitRequest
func (*Message) GetSuiteExecutionResult ¶
func (m *Message) GetSuiteExecutionResult() *SuiteExecutionResult
func (*Message) GetUnsupportedMessageResponse ¶
func (m *Message) GetUnsupportedMessageResponse() *UnsupportedMessageResponse
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_MessageType ¶
type Message_MessageType int32
const ( Message_ExecutionStarting Message_MessageType = 0 Message_SpecExecutionStarting Message_MessageType = 1 Message_SpecExecutionEnding Message_MessageType = 2 Message_ScenarioExecutionStarting Message_MessageType = 3 Message_ScenarioExecutionEnding Message_MessageType = 4 Message_StepExecutionStarting Message_MessageType = 5 Message_StepExecutionEnding Message_MessageType = 6 Message_ExecuteStep Message_MessageType = 7 Message_ExecutionEnding Message_MessageType = 8 Message_StepValidateRequest Message_MessageType = 9 Message_StepValidateResponse Message_MessageType = 10 Message_ExecutionStatusResponse Message_MessageType = 11 Message_StepNamesRequest Message_MessageType = 12 Message_StepNamesResponse Message_MessageType = 13 Message_KillProcessRequest Message_MessageType = 14 Message_SuiteExecutionResult Message_MessageType = 15 Message_ScenarioDataStoreInit Message_MessageType = 16 Message_SpecDataStoreInit Message_MessageType = 17 Message_SuiteDataStoreInit Message_MessageType = 18 Message_StepNameRequest Message_MessageType = 19 Message_StepNameResponse Message_MessageType = 20 Message_RefactorRequest Message_MessageType = 21 Message_RefactorResponse Message_MessageType = 22 Message_UnsupportedMessageResponse Message_MessageType = 23 Message_CacheFileRequest Message_MessageType = 24 Message_StepPositionsRequest Message_MessageType = 25 Message_StepPositionsResponse Message_MessageType = 26 )
func (Message_MessageType) EnumDescriptor ¶
func (Message_MessageType) EnumDescriptor() ([]byte, []int)
func (Message_MessageType) String ¶
func (x Message_MessageType) String() string
type Parameter ¶
type Parameter struct { // / Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table ParameterType Parameter_ParameterType `protobuf:"varint,1,opt,name=parameterType,enum=gauge.messages.Parameter_ParameterType" json:"parameterType,omitempty"` // / Holds the value of the parameter Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` // / Holds the name of the parameter, used as Key to lookup the value. Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // / Holds the table value, if parameterType=Table or Special_Table Table *ProtoTable `protobuf:"bytes,4,opt,name=table" json:"table,omitempty"` }
/ A proto object representing Fragment.
func (*Parameter) Descriptor ¶
func (*Parameter) GetParameterType ¶
func (m *Parameter) GetParameterType() Parameter_ParameterType
func (*Parameter) GetTable ¶
func (m *Parameter) GetTable() *ProtoTable
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
type ParameterPosition ¶
type ParameterPosition struct { OldPosition int32 `protobuf:"varint,1,opt,name=oldPosition" json:"oldPosition,omitempty"` NewPosition int32 `protobuf:"varint,2,opt,name=newPosition" json:"newPosition,omitempty"` }
/ Holds the new and old positions of a parameter. / Used when refactoring a Step.
func (*ParameterPosition) Descriptor ¶
func (*ParameterPosition) Descriptor() ([]byte, []int)
func (*ParameterPosition) GetNewPosition ¶
func (m *ParameterPosition) GetNewPosition() int32
func (*ParameterPosition) GetOldPosition ¶
func (m *ParameterPosition) GetOldPosition() int32
func (*ParameterPosition) ProtoMessage ¶
func (*ParameterPosition) ProtoMessage()
func (*ParameterPosition) Reset ¶
func (m *ParameterPosition) Reset()
func (*ParameterPosition) String ¶
func (m *ParameterPosition) String() string
type Parameter_ParameterType ¶
type Parameter_ParameterType int32
/ Enum representing types of Parameter.
const ( Parameter_Static Parameter_ParameterType = 0 Parameter_Dynamic Parameter_ParameterType = 1 Parameter_Special_String Parameter_ParameterType = 2 Parameter_Special_Table Parameter_ParameterType = 3 Parameter_Table Parameter_ParameterType = 4 )
func (Parameter_ParameterType) EnumDescriptor ¶
func (Parameter_ParameterType) EnumDescriptor() ([]byte, []int)
func (Parameter_ParameterType) String ¶
func (x Parameter_ParameterType) String() string
type PerformRefactoringRequest ¶
type PerformRefactoringRequest struct { // / Step to refactor OldStep string `protobuf:"bytes,1,opt,name=oldStep" json:"oldStep,omitempty"` // / Change to be made NewStep string `protobuf:"bytes,2,opt,name=newStep" json:"newStep,omitempty"` }
/ Request to perform a Refactor
func (*PerformRefactoringRequest) Descriptor ¶
func (*PerformRefactoringRequest) Descriptor() ([]byte, []int)
func (*PerformRefactoringRequest) GetNewStep ¶
func (m *PerformRefactoringRequest) GetNewStep() string
func (*PerformRefactoringRequest) GetOldStep ¶
func (m *PerformRefactoringRequest) GetOldStep() string
func (*PerformRefactoringRequest) ProtoMessage ¶
func (*PerformRefactoringRequest) ProtoMessage()
func (*PerformRefactoringRequest) Reset ¶
func (m *PerformRefactoringRequest) Reset()
func (*PerformRefactoringRequest) String ¶
func (m *PerformRefactoringRequest) String() string
type PerformRefactoringResponse ¶
type PerformRefactoringResponse struct { // / Flag indicating Success Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` // / Error message if the refactoring was unsuccessful. Errors []string `protobuf:"bytes,2,rep,name=errors" json:"errors,omitempty"` // / Collection of files that were changed as part of the Refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` }
/ Response to PerformRefactoringRequest
func (*PerformRefactoringResponse) Descriptor ¶
func (*PerformRefactoringResponse) Descriptor() ([]byte, []int)
func (*PerformRefactoringResponse) GetErrors ¶
func (m *PerformRefactoringResponse) GetErrors() []string
func (*PerformRefactoringResponse) GetFilesChanged ¶
func (m *PerformRefactoringResponse) GetFilesChanged() []string
func (*PerformRefactoringResponse) GetSuccess ¶
func (m *PerformRefactoringResponse) GetSuccess() bool
func (*PerformRefactoringResponse) ProtoMessage ¶
func (*PerformRefactoringResponse) ProtoMessage()
func (*PerformRefactoringResponse) Reset ¶
func (m *PerformRefactoringResponse) Reset()
func (*PerformRefactoringResponse) String ¶
func (m *PerformRefactoringResponse) String() string
type ProtoComment ¶
type ProtoComment struct { // / Text representing the Comment. Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"` }
/ A proto object representing Comment.
func (*ProtoComment) Descriptor ¶
func (*ProtoComment) Descriptor() ([]byte, []int)
func (*ProtoComment) GetText ¶
func (m *ProtoComment) GetText() string
func (*ProtoComment) ProtoMessage ¶
func (*ProtoComment) ProtoMessage()
func (*ProtoComment) Reset ¶
func (m *ProtoComment) Reset()
func (*ProtoComment) String ¶
func (m *ProtoComment) String() string
type ProtoConcept ¶
type ProtoConcept struct { // / Represents the Step value of a Concept. ConceptStep *ProtoStep `protobuf:"bytes,1,opt,name=conceptStep" json:"conceptStep,omitempty"` // / Collection of Steps in the given concepts. Steps []*ProtoItem `protobuf:"bytes,2,rep,name=steps" json:"steps,omitempty"` // / Holds the execution result. ConceptExecutionResult *ProtoStepExecutionResult `protobuf:"bytes,3,opt,name=conceptExecutionResult" json:"conceptExecutionResult,omitempty"` }
/ Concept is a type of step, that can have multiple Steps. / But from a caller's perspective, it is still used as any other Step / A proto object representing a Concept
func (*ProtoConcept) Descriptor ¶
func (*ProtoConcept) Descriptor() ([]byte, []int)
func (*ProtoConcept) GetConceptExecutionResult ¶
func (m *ProtoConcept) GetConceptExecutionResult() *ProtoStepExecutionResult
func (*ProtoConcept) GetConceptStep ¶
func (m *ProtoConcept) GetConceptStep() *ProtoStep
func (*ProtoConcept) GetSteps ¶
func (m *ProtoConcept) GetSteps() []*ProtoItem
func (*ProtoConcept) ProtoMessage ¶
func (*ProtoConcept) ProtoMessage()
func (*ProtoConcept) Reset ¶
func (m *ProtoConcept) Reset()
func (*ProtoConcept) String ¶
func (m *ProtoConcept) String() string
type ProtoExecutionResult ¶
type ProtoExecutionResult struct { // / Flag to indicate failure Failed bool `protobuf:"varint,1,opt,name=failed" json:"failed,omitempty"` // / Flag to indicate if the error is recoverable from. RecoverableError bool `protobuf:"varint,2,opt,name=recoverableError" json:"recoverableError,omitempty"` // / The actual error message. ErrorMessage string `protobuf:"bytes,3,opt,name=errorMessage" json:"errorMessage,omitempty"` // / Stacktrace of the error StackTrace string `protobuf:"bytes,4,opt,name=stackTrace" json:"stackTrace,omitempty"` // / Byte array containing screenshot taken at the time of failure. ScreenShot []byte `protobuf:"bytes,5,opt,name=screenShot,proto3" json:"screenShot,omitempty"` // / Holds the time taken for executing this scenario. ExecutionTime int64 `protobuf:"varint,6,opt,name=executionTime" json:"executionTime,omitempty"` // / Additional information at exec time to be available on reports Message []string `protobuf:"bytes,7,rep,name=message" json:"message,omitempty"` // / Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION ErrorType ProtoExecutionResult_ErrorType `protobuf:"varint,8,opt,name=errorType,enum=gauge.messages.ProtoExecutionResult_ErrorType" json:"errorType,omitempty"` }
/ A proto object representing the result of an execution
func (*ProtoExecutionResult) Descriptor ¶
func (*ProtoExecutionResult) Descriptor() ([]byte, []int)
func (*ProtoExecutionResult) GetErrorMessage ¶
func (m *ProtoExecutionResult) GetErrorMessage() string
func (*ProtoExecutionResult) GetErrorType ¶
func (m *ProtoExecutionResult) GetErrorType() ProtoExecutionResult_ErrorType
func (*ProtoExecutionResult) GetExecutionTime ¶
func (m *ProtoExecutionResult) GetExecutionTime() int64
func (*ProtoExecutionResult) GetFailed ¶
func (m *ProtoExecutionResult) GetFailed() bool
func (*ProtoExecutionResult) GetMessage ¶
func (m *ProtoExecutionResult) GetMessage() []string
func (*ProtoExecutionResult) GetRecoverableError ¶
func (m *ProtoExecutionResult) GetRecoverableError() bool
func (*ProtoExecutionResult) GetScreenShot ¶
func (m *ProtoExecutionResult) GetScreenShot() []byte
func (*ProtoExecutionResult) GetStackTrace ¶
func (m *ProtoExecutionResult) GetStackTrace() string
func (*ProtoExecutionResult) ProtoMessage ¶
func (*ProtoExecutionResult) ProtoMessage()
func (*ProtoExecutionResult) Reset ¶
func (m *ProtoExecutionResult) Reset()
func (*ProtoExecutionResult) String ¶
func (m *ProtoExecutionResult) String() string
type ProtoExecutionResult_ErrorType ¶
type ProtoExecutionResult_ErrorType int32
const ( ProtoExecutionResult_ASSERTION ProtoExecutionResult_ErrorType = 0 ProtoExecutionResult_VERIFICATION ProtoExecutionResult_ErrorType = 1 )
func (ProtoExecutionResult_ErrorType) EnumDescriptor ¶
func (ProtoExecutionResult_ErrorType) EnumDescriptor() ([]byte, []int)
func (ProtoExecutionResult_ErrorType) String ¶
func (x ProtoExecutionResult_ErrorType) String() string
type ProtoHookFailure ¶
type ProtoHookFailure struct { // / Stacktrace from the failure StackTrace string `protobuf:"bytes,1,opt,name=stackTrace" json:"stackTrace,omitempty"` // / Error message from the failure ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` // / Byte array holding the screenshot taken at the time of failure. ScreenShot []byte `protobuf:"bytes,3,opt,name=screenShot,proto3" json:"screenShot,omitempty"` // / Contains table row index corresponding to datatable rows TableRowIndex int32 `protobuf:"varint,4,opt,name=tableRowIndex" json:"tableRowIndex,omitempty"` }
/ A proto object representing a pre-hook failure. / Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks.
func (*ProtoHookFailure) Descriptor ¶
func (*ProtoHookFailure) Descriptor() ([]byte, []int)
func (*ProtoHookFailure) GetErrorMessage ¶
func (m *ProtoHookFailure) GetErrorMessage() string
func (*ProtoHookFailure) GetScreenShot ¶
func (m *ProtoHookFailure) GetScreenShot() []byte
func (*ProtoHookFailure) GetStackTrace ¶
func (m *ProtoHookFailure) GetStackTrace() string
func (*ProtoHookFailure) GetTableRowIndex ¶ added in v0.1.2
func (m *ProtoHookFailure) GetTableRowIndex() int32
func (*ProtoHookFailure) ProtoMessage ¶
func (*ProtoHookFailure) ProtoMessage()
func (*ProtoHookFailure) Reset ¶
func (m *ProtoHookFailure) Reset()
func (*ProtoHookFailure) String ¶
func (m *ProtoHookFailure) String() string
type ProtoItem ¶
type ProtoItem struct { // / Itemtype of the current ProtoItem ItemType ProtoItem_ItemType `protobuf:"varint,1,opt,name=itemType,enum=gauge.messages.ProtoItem_ItemType" json:"itemType,omitempty"` // / Holds the Step definition. Valid only if ItemType = Step Step *ProtoStep `protobuf:"bytes,2,opt,name=step" json:"step,omitempty"` // / Holds the Concept definition. Valid only if ItemType = Concept Concept *ProtoConcept `protobuf:"bytes,3,opt,name=concept" json:"concept,omitempty"` // / Holds the Scenario definition. Valid only if ItemType = Scenario Scenario *ProtoScenario `protobuf:"bytes,4,opt,name=scenario" json:"scenario,omitempty"` // / Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario TableDrivenScenario *ProtoTableDrivenScenario `protobuf:"bytes,5,opt,name=tableDrivenScenario" json:"tableDrivenScenario,omitempty"` // / Holds the Comment definition. Valid only if ItemType = Comment Comment *ProtoComment `protobuf:"bytes,6,opt,name=comment" json:"comment,omitempty"` // / Holds the Table definition. Valid only if ItemType = Table Table *ProtoTable `protobuf:"bytes,7,opt,name=table" json:"table,omitempty"` // / Holds the Tags definition. Valid only if ItemType = Tags Tags *ProtoTags `protobuf:"bytes,8,opt,name=tags" json:"tags,omitempty"` }
/ Container for all valid Items under a Specification.
func (*ProtoItem) Descriptor ¶
func (*ProtoItem) GetComment ¶
func (m *ProtoItem) GetComment() *ProtoComment
func (*ProtoItem) GetConcept ¶
func (m *ProtoItem) GetConcept() *ProtoConcept
func (*ProtoItem) GetItemType ¶
func (m *ProtoItem) GetItemType() ProtoItem_ItemType
func (*ProtoItem) GetScenario ¶
func (m *ProtoItem) GetScenario() *ProtoScenario
func (*ProtoItem) GetTable ¶
func (m *ProtoItem) GetTable() *ProtoTable
func (*ProtoItem) GetTableDrivenScenario ¶
func (m *ProtoItem) GetTableDrivenScenario() *ProtoTableDrivenScenario
func (*ProtoItem) ProtoMessage ¶
func (*ProtoItem) ProtoMessage()
type ProtoItem_ItemType ¶
type ProtoItem_ItemType int32
/ Enumerates various item types that the proto item can contain. Valid types are: Step, Comment, Concept, Scenario, TableDrivenScenario, Table, Tags
const ( ProtoItem_Step ProtoItem_ItemType = 0 ProtoItem_Comment ProtoItem_ItemType = 1 ProtoItem_Concept ProtoItem_ItemType = 2 ProtoItem_Scenario ProtoItem_ItemType = 3 ProtoItem_TableDrivenScenario ProtoItem_ItemType = 4 ProtoItem_Table ProtoItem_ItemType = 5 ProtoItem_Tags ProtoItem_ItemType = 6 )
func (ProtoItem_ItemType) EnumDescriptor ¶
func (ProtoItem_ItemType) EnumDescriptor() ([]byte, []int)
func (ProtoItem_ItemType) String ¶
func (x ProtoItem_ItemType) String() string
type ProtoScenario ¶
type ProtoScenario struct { // / Heading of the given Scenario ScenarioHeading string `protobuf:"bytes,1,opt,name=scenarioHeading" json:"scenarioHeading,omitempty"` // / Flag to indicate if the Scenario execution failed Failed bool `protobuf:"varint,2,opt,name=failed" json:"failed,omitempty"` // / Collection of Context steps. The Context steps are executed before every run. Contexts []*ProtoItem `protobuf:"bytes,3,rep,name=contexts" json:"contexts,omitempty"` // / Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables ScenarioItems []*ProtoItem `protobuf:"bytes,4,rep,name=scenarioItems" json:"scenarioItems,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error. PreHookFailure *ProtoHookFailure `protobuf:"bytes,5,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error. PostHookFailure *ProtoHookFailure `protobuf:"bytes,6,opt,name=postHookFailure" json:"postHookFailure,omitempty"` // / Contains a list of tags that are defined at the specification level. Scenario tags are not present here. Tags []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` // / Holds the time taken for executing this scenario. ExecutionTime int64 `protobuf:"varint,8,opt,name=executionTime" json:"executionTime,omitempty"` // / Flag to indicate if the Scenario execution is skipped Skipped bool `protobuf:"varint,9,opt,name=skipped" json:"skipped,omitempty"` // / Holds the error messages for skipping scenario from execution SkipErrors []string `protobuf:"bytes,10,rep,name=skipErrors" json:"skipErrors,omitempty"` // / Holds the unique Identifier of a scenario. ID string `protobuf:"bytes,11,opt,name=ID" json:"ID,omitempty"` // / Collection of Teardown steps. The Teardown steps are executed after every run. TearDownSteps []*ProtoItem `protobuf:"bytes,12,rep,name=tearDownSteps" json:"tearDownSteps,omitempty"` // / Span(start, end) of scenario Span *Span `protobuf:"bytes,13,opt,name=span" json:"span,omitempty"` // / Execution status for the scenario ExecutionStatus ExecutionStatus `protobuf:"varint,14,opt,name=executionStatus,enum=gauge.messages.ExecutionStatus" json:"executionStatus,omitempty"` // / Additional information at pre hook exec time to be available on reports PreHookMessages []string `protobuf:"bytes,15,rep,name=preHookMessages" json:"preHookMessages,omitempty"` // / Additional information at post hook exec time to be available on reports PostHookMessages []string `protobuf:"bytes,16,rep,name=postHookMessages" json:"postHookMessages,omitempty"` }
/ A proto object representing a Scenario
func (*ProtoScenario) Descriptor ¶
func (*ProtoScenario) Descriptor() ([]byte, []int)
func (*ProtoScenario) GetContexts ¶
func (m *ProtoScenario) GetContexts() []*ProtoItem
func (*ProtoScenario) GetExecutionStatus ¶ added in v0.1.0
func (m *ProtoScenario) GetExecutionStatus() ExecutionStatus
func (*ProtoScenario) GetExecutionTime ¶
func (m *ProtoScenario) GetExecutionTime() int64
func (*ProtoScenario) GetFailed ¶
func (m *ProtoScenario) GetFailed() bool
func (*ProtoScenario) GetID ¶
func (m *ProtoScenario) GetID() string
func (*ProtoScenario) GetPostHookFailure ¶
func (m *ProtoScenario) GetPostHookFailure() *ProtoHookFailure
func (*ProtoScenario) GetPostHookMessages ¶ added in v0.1.2
func (m *ProtoScenario) GetPostHookMessages() []string
func (*ProtoScenario) GetPreHookFailure ¶
func (m *ProtoScenario) GetPreHookFailure() *ProtoHookFailure
func (*ProtoScenario) GetPreHookMessages ¶ added in v0.1.2
func (m *ProtoScenario) GetPreHookMessages() []string
func (*ProtoScenario) GetScenarioHeading ¶
func (m *ProtoScenario) GetScenarioHeading() string
func (*ProtoScenario) GetScenarioItems ¶
func (m *ProtoScenario) GetScenarioItems() []*ProtoItem
func (*ProtoScenario) GetSkipErrors ¶
func (m *ProtoScenario) GetSkipErrors() []string
func (*ProtoScenario) GetSkipped ¶
func (m *ProtoScenario) GetSkipped() bool
func (*ProtoScenario) GetSpan ¶ added in v0.1.0
func (m *ProtoScenario) GetSpan() *Span
func (*ProtoScenario) GetTags ¶
func (m *ProtoScenario) GetTags() []string
func (*ProtoScenario) GetTearDownSteps ¶
func (m *ProtoScenario) GetTearDownSteps() []*ProtoItem
func (*ProtoScenario) ProtoMessage ¶
func (*ProtoScenario) ProtoMessage()
func (*ProtoScenario) Reset ¶
func (m *ProtoScenario) Reset()
func (*ProtoScenario) String ¶
func (m *ProtoScenario) String() string
type ProtoSpec ¶
type ProtoSpec struct { // / Heading describing the Specification SpecHeading string `protobuf:"bytes,1,opt,name=specHeading" json:"specHeading,omitempty"` // / A collection of items that come under this step Items []*ProtoItem `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // / Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter. IsTableDriven bool `protobuf:"varint,3,opt,name=isTableDriven" json:"isTableDriven,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error. PreHookFailures []*ProtoHookFailure `protobuf:"bytes,4,rep,name=preHookFailures" json:"preHookFailures,omitempty"` // / Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error. PostHookFailures []*ProtoHookFailure `protobuf:"bytes,5,rep,name=postHookFailures" json:"postHookFailures,omitempty"` // / Contains the filename for that holds this specification. FileName string `protobuf:"bytes,6,opt,name=fileName" json:"fileName,omitempty"` // / Contains a list of tags that are defined at the specification level. Scenario tags are not present here. Tags []string `protobuf:"bytes,7,rep,name=tags" json:"tags,omitempty"` // / Additional information at pre hook exec time to be available on reports PreHookMessages []string `protobuf:"bytes,8,rep,name=preHookMessages" json:"preHookMessages,omitempty"` // / Additional information at post hook exec time to be available on reports PostHookMessages []string `protobuf:"bytes,9,rep,name=postHookMessages" json:"postHookMessages,omitempty"` }
/ A proto object representing a Specification / A specification can contain Scenarios or Steps, besides Comments
func (*ProtoSpec) Descriptor ¶
func (*ProtoSpec) GetFileName ¶
func (*ProtoSpec) GetIsTableDriven ¶
func (*ProtoSpec) GetPostHookFailures ¶ added in v0.1.2
func (m *ProtoSpec) GetPostHookFailures() []*ProtoHookFailure
func (*ProtoSpec) GetPostHookMessages ¶ added in v0.1.2
func (*ProtoSpec) GetPreHookFailures ¶ added in v0.1.2
func (m *ProtoSpec) GetPreHookFailures() []*ProtoHookFailure
func (*ProtoSpec) GetPreHookMessages ¶ added in v0.1.2
func (*ProtoSpec) GetSpecHeading ¶
func (*ProtoSpec) ProtoMessage ¶
func (*ProtoSpec) ProtoMessage()
type ProtoSpecResult ¶
type ProtoSpecResult struct { // / Represents the corresponding Specification ProtoSpec *ProtoSpec `protobuf:"bytes,1,opt,name=protoSpec" json:"protoSpec,omitempty"` // / Holds the number of Scenarios executed ScenarioCount int32 `protobuf:"varint,2,opt,name=scenarioCount" json:"scenarioCount,omitempty"` // / Holds the number of Scenarios failed ScenarioFailedCount int32 `protobuf:"varint,3,opt,name=scenarioFailedCount" json:"scenarioFailedCount,omitempty"` // / Flag to indicate failure Failed bool `protobuf:"varint,4,opt,name=failed" json:"failed,omitempty"` // / Holds the row numbers, which caused the execution to fail. FailedDataTableRows []int32 `protobuf:"varint,5,rep,packed,name=failedDataTableRows" json:"failedDataTableRows,omitempty"` // / Holds the time taken for executing the spec. ExecutionTime int64 `protobuf:"varint,6,opt,name=executionTime" json:"executionTime,omitempty"` // / Flag to indicate if spec is skipped Skipped bool `protobuf:"varint,7,opt,name=skipped" json:"skipped,omitempty"` // / Holds the number of Scenarios skipped ScenarioSkippedCount int32 `protobuf:"varint,8,opt,name=scenarioSkippedCount" json:"scenarioSkippedCount,omitempty"` // / Holds the row numbers, for which the execution skipped. SkippedDataTableRows []int32 `protobuf:"varint,9,rep,packed,name=skippedDataTableRows" json:"skippedDataTableRows,omitempty"` // / Holds parse, validation and skipped errors. Errors []*Error `protobuf:"bytes,10,rep,name=errors" json:"errors,omitempty"` }
/ A proto object representing the result of Spec execution.
func (*ProtoSpecResult) Descriptor ¶
func (*ProtoSpecResult) Descriptor() ([]byte, []int)
func (*ProtoSpecResult) GetErrors ¶ added in v0.1.0
func (m *ProtoSpecResult) GetErrors() []*Error
func (*ProtoSpecResult) GetExecutionTime ¶
func (m *ProtoSpecResult) GetExecutionTime() int64
func (*ProtoSpecResult) GetFailed ¶
func (m *ProtoSpecResult) GetFailed() bool
func (*ProtoSpecResult) GetFailedDataTableRows ¶
func (m *ProtoSpecResult) GetFailedDataTableRows() []int32
func (*ProtoSpecResult) GetProtoSpec ¶
func (m *ProtoSpecResult) GetProtoSpec() *ProtoSpec
func (*ProtoSpecResult) GetScenarioCount ¶
func (m *ProtoSpecResult) GetScenarioCount() int32
func (*ProtoSpecResult) GetScenarioFailedCount ¶
func (m *ProtoSpecResult) GetScenarioFailedCount() int32
func (*ProtoSpecResult) GetScenarioSkippedCount ¶
func (m *ProtoSpecResult) GetScenarioSkippedCount() int32
func (*ProtoSpecResult) GetSkipped ¶
func (m *ProtoSpecResult) GetSkipped() bool
func (*ProtoSpecResult) GetSkippedDataTableRows ¶ added in v0.1.0
func (m *ProtoSpecResult) GetSkippedDataTableRows() []int32
func (*ProtoSpecResult) ProtoMessage ¶
func (*ProtoSpecResult) ProtoMessage()
func (*ProtoSpecResult) Reset ¶
func (m *ProtoSpecResult) Reset()
func (*ProtoSpecResult) String ¶
func (m *ProtoSpecResult) String() string
type ProtoStep ¶
type ProtoStep struct { // / Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values. ActualText string `protobuf:"bytes,1,opt,name=actualText" json:"actualText,omitempty"` // / Contains the parsed text of the Step. This will have placeholders for the parameters. ParsedText string `protobuf:"bytes,2,opt,name=parsedText" json:"parsedText,omitempty"` // / Collection of a list of fragments for a Step. A fragment could be either text or parameter. Fragments []*Fragment `protobuf:"bytes,3,rep,name=fragments" json:"fragments,omitempty"` // / Holds the result from the execution. StepExecutionResult *ProtoStepExecutionResult `protobuf:"bytes,4,opt,name=stepExecutionResult" json:"stepExecutionResult,omitempty"` // / Additional information at pre hook exec time to be available on reports PreHookMessages []string `protobuf:"bytes,5,rep,name=preHookMessages" json:"preHookMessages,omitempty"` // / Additional information at post hook exec time to be available on reports PostHookMessages []string `protobuf:"bytes,6,rep,name=postHookMessages" json:"postHookMessages,omitempty"` }
/ A proto object representing a Step
func (*ProtoStep) Descriptor ¶
func (*ProtoStep) GetActualText ¶
func (*ProtoStep) GetFragments ¶
func (*ProtoStep) GetParsedText ¶
func (*ProtoStep) GetPostHookMessages ¶ added in v0.1.2
func (*ProtoStep) GetPreHookMessages ¶ added in v0.1.2
func (*ProtoStep) GetStepExecutionResult ¶
func (m *ProtoStep) GetStepExecutionResult() *ProtoStepExecutionResult
func (*ProtoStep) ProtoMessage ¶
func (*ProtoStep) ProtoMessage()
type ProtoStepExecutionResult ¶
type ProtoStepExecutionResult struct { // / The actual result of the execution ExecutionResult *ProtoExecutionResult `protobuf:"bytes,1,opt,name=executionResult" json:"executionResult,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_step` hook has an error. PreHookFailure *ProtoHookFailure `protobuf:"bytes,2,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_step` hook has an error. PostHookFailure *ProtoHookFailure `protobuf:"bytes,3,opt,name=postHookFailure" json:"postHookFailure,omitempty"` Skipped bool `protobuf:"varint,4,opt,name=skipped" json:"skipped,omitempty"` SkippedReason string `protobuf:"bytes,5,opt,name=skippedReason" json:"skippedReason,omitempty"` }
/ A proto object representing Step Execution result
func (*ProtoStepExecutionResult) Descriptor ¶
func (*ProtoStepExecutionResult) Descriptor() ([]byte, []int)
func (*ProtoStepExecutionResult) GetExecutionResult ¶
func (m *ProtoStepExecutionResult) GetExecutionResult() *ProtoExecutionResult
func (*ProtoStepExecutionResult) GetPostHookFailure ¶
func (m *ProtoStepExecutionResult) GetPostHookFailure() *ProtoHookFailure
func (*ProtoStepExecutionResult) GetPreHookFailure ¶
func (m *ProtoStepExecutionResult) GetPreHookFailure() *ProtoHookFailure
func (*ProtoStepExecutionResult) GetSkipped ¶
func (m *ProtoStepExecutionResult) GetSkipped() bool
func (*ProtoStepExecutionResult) GetSkippedReason ¶
func (m *ProtoStepExecutionResult) GetSkippedReason() string
func (*ProtoStepExecutionResult) ProtoMessage ¶
func (*ProtoStepExecutionResult) ProtoMessage()
func (*ProtoStepExecutionResult) Reset ¶
func (m *ProtoStepExecutionResult) Reset()
func (*ProtoStepExecutionResult) String ¶
func (m *ProtoStepExecutionResult) String() string
type ProtoStepValue ¶
type ProtoStepValue struct { // / The actual string value describing he Step StepValue string `protobuf:"bytes,1,opt,name=stepValue" json:"stepValue,omitempty"` // / The parameterized string value describing he Step. The parameters are replaced with placeholders. ParameterizedStepValue string `protobuf:"bytes,2,opt,name=parameterizedStepValue" json:"parameterizedStepValue,omitempty"` // / A collection of strings representing the parameters. Parameters []string `protobuf:"bytes,3,rep,name=parameters" json:"parameters,omitempty"` }
/ A proto object representing a Step value.
func (*ProtoStepValue) Descriptor ¶
func (*ProtoStepValue) Descriptor() ([]byte, []int)
func (*ProtoStepValue) GetParameterizedStepValue ¶
func (m *ProtoStepValue) GetParameterizedStepValue() string
func (*ProtoStepValue) GetParameters ¶
func (m *ProtoStepValue) GetParameters() []string
func (*ProtoStepValue) GetStepValue ¶
func (m *ProtoStepValue) GetStepValue() string
func (*ProtoStepValue) ProtoMessage ¶
func (*ProtoStepValue) ProtoMessage()
func (*ProtoStepValue) Reset ¶
func (m *ProtoStepValue) Reset()
func (*ProtoStepValue) String ¶
func (m *ProtoStepValue) String() string
type ProtoSuiteResult ¶
type ProtoSuiteResult struct { // / Contains the result from the execution SpecResults []*ProtoSpecResult `protobuf:"bytes,1,rep,name=specResults" json:"specResults,omitempty"` // / Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error PreHookFailure *ProtoHookFailure `protobuf:"bytes,2,opt,name=preHookFailure" json:"preHookFailure,omitempty"` // / Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error PostHookFailure *ProtoHookFailure `protobuf:"bytes,3,opt,name=postHookFailure" json:"postHookFailure,omitempty"` // / Flag to indicate failure Failed bool `protobuf:"varint,4,opt,name=failed" json:"failed,omitempty"` // / Holds the count of number of Specifications that failed. SpecsFailedCount int32 `protobuf:"varint,5,opt,name=specsFailedCount" json:"specsFailedCount,omitempty"` // / Holds the time taken for executing the whole suite. ExecutionTime int64 `protobuf:"varint,6,opt,name=executionTime" json:"executionTime,omitempty"` // / Holds a metric indicating the success rate of the execution. SuccessRate float32 `protobuf:"fixed32,7,opt,name=successRate" json:"successRate,omitempty"` // / The environment against which execution was done Environment string `protobuf:"bytes,8,opt,name=environment" json:"environment,omitempty"` // / Tag expression used for filtering specification Tags string `protobuf:"bytes,9,opt,name=tags" json:"tags,omitempty"` // / Project name ProjectName string `protobuf:"bytes,10,opt,name=projectName" json:"projectName,omitempty"` // / Timestamp of when execution started Timestamp string `protobuf:"bytes,11,opt,name=timestamp" json:"timestamp,omitempty"` SpecsSkippedCount int32 `protobuf:"varint,12,opt,name=specsSkippedCount" json:"specsSkippedCount,omitempty"` // / Additional information at pre hook exec time to be available on reports PreHookMessages []string `protobuf:"bytes,13,rep,name=preHookMessages" json:"preHookMessages,omitempty"` // / Additional information at post hook exec time to be available on reports PostHookMessages []string `protobuf:"bytes,14,rep,name=postHookMessages" json:"postHookMessages,omitempty"` }
/ A proto object representing the result of entire Suite execution.
func (*ProtoSuiteResult) Descriptor ¶
func (*ProtoSuiteResult) Descriptor() ([]byte, []int)
func (*ProtoSuiteResult) GetEnvironment ¶
func (m *ProtoSuiteResult) GetEnvironment() string
func (*ProtoSuiteResult) GetExecutionTime ¶
func (m *ProtoSuiteResult) GetExecutionTime() int64
func (*ProtoSuiteResult) GetFailed ¶
func (m *ProtoSuiteResult) GetFailed() bool
func (*ProtoSuiteResult) GetPostHookFailure ¶
func (m *ProtoSuiteResult) GetPostHookFailure() *ProtoHookFailure
func (*ProtoSuiteResult) GetPostHookMessages ¶ added in v0.1.2
func (m *ProtoSuiteResult) GetPostHookMessages() []string
func (*ProtoSuiteResult) GetPreHookFailure ¶
func (m *ProtoSuiteResult) GetPreHookFailure() *ProtoHookFailure
func (*ProtoSuiteResult) GetPreHookMessages ¶ added in v0.1.2
func (m *ProtoSuiteResult) GetPreHookMessages() []string
func (*ProtoSuiteResult) GetProjectName ¶
func (m *ProtoSuiteResult) GetProjectName() string
func (*ProtoSuiteResult) GetSpecResults ¶
func (m *ProtoSuiteResult) GetSpecResults() []*ProtoSpecResult
func (*ProtoSuiteResult) GetSpecsFailedCount ¶
func (m *ProtoSuiteResult) GetSpecsFailedCount() int32
func (*ProtoSuiteResult) GetSpecsSkippedCount ¶
func (m *ProtoSuiteResult) GetSpecsSkippedCount() int32
func (*ProtoSuiteResult) GetSuccessRate ¶
func (m *ProtoSuiteResult) GetSuccessRate() float32
func (*ProtoSuiteResult) GetTags ¶
func (m *ProtoSuiteResult) GetTags() string
func (*ProtoSuiteResult) GetTimestamp ¶
func (m *ProtoSuiteResult) GetTimestamp() string
func (*ProtoSuiteResult) ProtoMessage ¶
func (*ProtoSuiteResult) ProtoMessage()
func (*ProtoSuiteResult) Reset ¶
func (m *ProtoSuiteResult) Reset()
func (*ProtoSuiteResult) String ¶
func (m *ProtoSuiteResult) String() string
type ProtoTable ¶
type ProtoTable struct { // / Contains the Headers for the table Headers *ProtoTableRow `protobuf:"bytes,1,opt,name=headers" json:"headers,omitempty"` // / Contains the Rows for the table Rows []*ProtoTableRow `protobuf:"bytes,2,rep,name=rows" json:"rows,omitempty"` }
/ A proto object representing Table.
func (*ProtoTable) Descriptor ¶
func (*ProtoTable) Descriptor() ([]byte, []int)
func (*ProtoTable) GetHeaders ¶
func (m *ProtoTable) GetHeaders() *ProtoTableRow
func (*ProtoTable) GetRows ¶
func (m *ProtoTable) GetRows() []*ProtoTableRow
func (*ProtoTable) ProtoMessage ¶
func (*ProtoTable) ProtoMessage()
func (*ProtoTable) Reset ¶
func (m *ProtoTable) Reset()
func (*ProtoTable) String ¶
func (m *ProtoTable) String() string
type ProtoTableDrivenScenario ¶
type ProtoTableDrivenScenario struct { // / Scenario under Table driven execution Scenario *ProtoScenario `protobuf:"bytes,1,opt,name=scenario" json:"scenario,omitempty"` // / Row Index of data table against which the current scenario is executed TableRowIndex int32 `protobuf:"varint,2,opt,name=tableRowIndex" json:"tableRowIndex,omitempty"` }
/ A proto object representing a TableDrivenScenario
func (*ProtoTableDrivenScenario) Descriptor ¶
func (*ProtoTableDrivenScenario) Descriptor() ([]byte, []int)
func (*ProtoTableDrivenScenario) GetScenario ¶ added in v0.1.0
func (m *ProtoTableDrivenScenario) GetScenario() *ProtoScenario
func (*ProtoTableDrivenScenario) GetTableRowIndex ¶ added in v0.1.0
func (m *ProtoTableDrivenScenario) GetTableRowIndex() int32
func (*ProtoTableDrivenScenario) ProtoMessage ¶
func (*ProtoTableDrivenScenario) ProtoMessage()
func (*ProtoTableDrivenScenario) Reset ¶
func (m *ProtoTableDrivenScenario) Reset()
func (*ProtoTableDrivenScenario) String ¶
func (m *ProtoTableDrivenScenario) String() string
type ProtoTableRow ¶
type ProtoTableRow struct { // / Represents the cells of a given table Cells []string `protobuf:"bytes,1,rep,name=cells" json:"cells,omitempty"` }
/ A proto object representing Table.
func (*ProtoTableRow) Descriptor ¶
func (*ProtoTableRow) Descriptor() ([]byte, []int)
func (*ProtoTableRow) GetCells ¶
func (m *ProtoTableRow) GetCells() []string
func (*ProtoTableRow) ProtoMessage ¶
func (*ProtoTableRow) ProtoMessage()
func (*ProtoTableRow) Reset ¶
func (m *ProtoTableRow) Reset()
func (*ProtoTableRow) String ¶
func (m *ProtoTableRow) String() string
type ProtoTags ¶
type ProtoTags struct { // / A collection of Tags Tags []string `protobuf:"bytes,1,rep,name=tags" json:"tags,omitempty"` }
/ A proto object representing Tags
func (*ProtoTags) Descriptor ¶
func (*ProtoTags) ProtoMessage ¶
func (*ProtoTags) ProtoMessage()
type RefactorRequest ¶
type RefactorRequest struct { // / Old value, used to lookup Step to refactor OldStepValue *ProtoStepValue `protobuf:"bytes,1,opt,name=oldStepValue" json:"oldStepValue,omitempty"` // / New value, the to-be value of Step being refactored. NewStepValue *ProtoStepValue `protobuf:"bytes,2,opt,name=newStepValue" json:"newStepValue,omitempty"` // / Holds parameter positions of all parameters. Contains old and new parameter positions. ParamPositions []*ParameterPosition `protobuf:"bytes,3,rep,name=paramPositions" json:"paramPositions,omitempty"` }
/ Tells the runner to refactor the specified Step.
func (*RefactorRequest) Descriptor ¶
func (*RefactorRequest) Descriptor() ([]byte, []int)
func (*RefactorRequest) GetNewStepValue ¶
func (m *RefactorRequest) GetNewStepValue() *ProtoStepValue
func (*RefactorRequest) GetOldStepValue ¶
func (m *RefactorRequest) GetOldStepValue() *ProtoStepValue
func (*RefactorRequest) GetParamPositions ¶
func (m *RefactorRequest) GetParamPositions() []*ParameterPosition
func (*RefactorRequest) ProtoMessage ¶
func (*RefactorRequest) ProtoMessage()
func (*RefactorRequest) Reset ¶
func (m *RefactorRequest) Reset()
func (*RefactorRequest) String ¶
func (m *RefactorRequest) String() string
type RefactorResponse ¶
type RefactorResponse struct { // / Flag indicating the success of Refactor operation. Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"` // / Error message, valid only if Refactor wasn't successful Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` // / List of files that were affected because of the refactoring. FilesChanged []string `protobuf:"bytes,3,rep,name=filesChanged" json:"filesChanged,omitempty"` }
/ Response of a RefactorRequest
func (*RefactorResponse) Descriptor ¶
func (*RefactorResponse) Descriptor() ([]byte, []int)
func (*RefactorResponse) GetError ¶
func (m *RefactorResponse) GetError() string
func (*RefactorResponse) GetFilesChanged ¶
func (m *RefactorResponse) GetFilesChanged() []string
func (*RefactorResponse) GetSuccess ¶
func (m *RefactorResponse) GetSuccess() bool
func (*RefactorResponse) ProtoMessage ¶
func (*RefactorResponse) ProtoMessage()
func (*RefactorResponse) Reset ¶
func (m *RefactorResponse) Reset()
func (*RefactorResponse) String ¶
func (m *RefactorResponse) String() string
type ScenarioDataStoreInitRequest ¶
type ScenarioDataStoreInitRequest struct { }
/ Request runner to initialize Scenario DataStore / Scenario Datastore is reset after every Scenario execution.
func (*ScenarioDataStoreInitRequest) Descriptor ¶
func (*ScenarioDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*ScenarioDataStoreInitRequest) ProtoMessage ¶
func (*ScenarioDataStoreInitRequest) ProtoMessage()
func (*ScenarioDataStoreInitRequest) Reset ¶
func (m *ScenarioDataStoreInitRequest) Reset()
func (*ScenarioDataStoreInitRequest) String ¶
func (m *ScenarioDataStoreInitRequest) String() string
type ScenarioExecutionEndingRequest ¶
type ScenarioExecutionEndingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook.
func (*ScenarioExecutionEndingRequest) Descriptor ¶
func (*ScenarioExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*ScenarioExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *ScenarioExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ScenarioExecutionEndingRequest) ProtoMessage ¶
func (*ScenarioExecutionEndingRequest) ProtoMessage()
func (*ScenarioExecutionEndingRequest) Reset ¶
func (m *ScenarioExecutionEndingRequest) Reset()
func (*ScenarioExecutionEndingRequest) String ¶
func (m *ScenarioExecutionEndingRequest) String() string
type ScenarioExecutionStartingRequest ¶
type ScenarioExecutionStartingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook.
func (*ScenarioExecutionStartingRequest) Descriptor ¶
func (*ScenarioExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*ScenarioExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *ScenarioExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*ScenarioExecutionStartingRequest) ProtoMessage ¶
func (*ScenarioExecutionStartingRequest) ProtoMessage()
func (*ScenarioExecutionStartingRequest) Reset ¶
func (m *ScenarioExecutionStartingRequest) Reset()
func (*ScenarioExecutionStartingRequest) String ¶
func (m *ScenarioExecutionStartingRequest) String() string
type ScenarioInfo ¶
type ScenarioInfo struct { // / Name of the current Scenario being executed. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // / Flag to indicate if the current Scenario execution failed. IsFailed bool `protobuf:"varint,2,opt,name=isFailed" json:"isFailed,omitempty"` // / Tags relevant to the current Scenario execution. Tags []string `protobuf:"bytes,3,rep,name=tags" json:"tags,omitempty"` }
/ Contains details of the Scenario execution.
func (*ScenarioInfo) Descriptor ¶
func (*ScenarioInfo) Descriptor() ([]byte, []int)
func (*ScenarioInfo) GetIsFailed ¶
func (m *ScenarioInfo) GetIsFailed() bool
func (*ScenarioInfo) GetName ¶
func (m *ScenarioInfo) GetName() string
func (*ScenarioInfo) GetTags ¶
func (m *ScenarioInfo) GetTags() []string
func (*ScenarioInfo) ProtoMessage ¶
func (*ScenarioInfo) ProtoMessage()
func (*ScenarioInfo) Reset ¶
func (m *ScenarioInfo) Reset()
func (*ScenarioInfo) String ¶
func (m *ScenarioInfo) String() string
type Span ¶ added in v0.1.0
type Span struct { Start int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"` End int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"` StartChar int64 `protobuf:"varint,3,opt,name=startChar" json:"startChar,omitempty"` EndChar int64 `protobuf:"varint,4,opt,name=endChar" json:"endChar,omitempty"` }
/ A proto object representing a Span of content
func (*Span) Descriptor ¶ added in v0.1.0
func (*Span) GetEndChar ¶ added in v0.1.2
func (*Span) GetStartChar ¶ added in v0.1.2
func (*Span) ProtoMessage ¶ added in v0.1.0
func (*Span) ProtoMessage()
type SpecDataStoreInitRequest ¶
type SpecDataStoreInitRequest struct { }
/ Request runner to initialize Spec DataStore / Spec Datastore is reset after every Spec execution.
func (*SpecDataStoreInitRequest) Descriptor ¶
func (*SpecDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*SpecDataStoreInitRequest) ProtoMessage ¶
func (*SpecDataStoreInitRequest) ProtoMessage()
func (*SpecDataStoreInitRequest) Reset ¶
func (m *SpecDataStoreInitRequest) Reset()
func (*SpecDataStoreInitRequest) String ¶
func (m *SpecDataStoreInitRequest) String() string
type SpecExecutionEndingRequest ¶
type SpecExecutionEndingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook.
func (*SpecExecutionEndingRequest) Descriptor ¶
func (*SpecExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*SpecExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *SpecExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*SpecExecutionEndingRequest) ProtoMessage ¶
func (*SpecExecutionEndingRequest) ProtoMessage()
func (*SpecExecutionEndingRequest) Reset ¶
func (m *SpecExecutionEndingRequest) Reset()
func (*SpecExecutionEndingRequest) String ¶
func (m *SpecExecutionEndingRequest) String() string
type SpecExecutionStartingRequest ¶
type SpecExecutionStartingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook.
func (*SpecExecutionStartingRequest) Descriptor ¶
func (*SpecExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*SpecExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *SpecExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*SpecExecutionStartingRequest) ProtoMessage ¶
func (*SpecExecutionStartingRequest) ProtoMessage()
func (*SpecExecutionStartingRequest) Reset ¶
func (m *SpecExecutionStartingRequest) Reset()
func (*SpecExecutionStartingRequest) String ¶
func (m *SpecExecutionStartingRequest) String() string
type SpecInfo ¶
type SpecInfo struct { // / Name of the current Spec being executed. Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // / Full File path containing the current Spec being executed. FileName string `protobuf:"bytes,2,opt,name=fileName" json:"fileName,omitempty"` // / Flag to indicate if the current Spec execution failed. IsFailed bool `protobuf:"varint,3,opt,name=isFailed" json:"isFailed,omitempty"` // / Tags relevant to the current Spec execution. Tags []string `protobuf:"bytes,4,rep,name=tags" json:"tags,omitempty"` }
/ Contains details of the Spec execution.
func (*SpecInfo) Descriptor ¶
func (*SpecInfo) GetFileName ¶
func (*SpecInfo) GetIsFailed ¶
func (*SpecInfo) ProtoMessage ¶
func (*SpecInfo) ProtoMessage()
type SpecsRequest ¶ added in v0.1.0
type SpecsRequest struct {
Specs []string `protobuf:"bytes,1,rep,name=specs" json:"specs,omitempty"`
}
/ Request to get all Specs in the project
func (*SpecsRequest) Descriptor ¶ added in v0.1.0
func (*SpecsRequest) Descriptor() ([]byte, []int)
func (*SpecsRequest) GetSpecs ¶ added in v0.1.0
func (m *SpecsRequest) GetSpecs() []string
func (*SpecsRequest) ProtoMessage ¶ added in v0.1.0
func (*SpecsRequest) ProtoMessage()
func (*SpecsRequest) Reset ¶ added in v0.1.0
func (m *SpecsRequest) Reset()
func (*SpecsRequest) String ¶ added in v0.1.0
func (m *SpecsRequest) String() string
type SpecsResponse ¶ added in v0.1.0
type SpecsResponse struct { // / Holds a collection of Spec details. Details []*SpecsResponse_SpecDetail `protobuf:"bytes,1,rep,name=details" json:"details,omitempty"` }
/ Response to GetAllSpecsRequest
func (*SpecsResponse) Descriptor ¶ added in v0.1.0
func (*SpecsResponse) Descriptor() ([]byte, []int)
func (*SpecsResponse) GetDetails ¶ added in v0.1.0
func (m *SpecsResponse) GetDetails() []*SpecsResponse_SpecDetail
func (*SpecsResponse) ProtoMessage ¶ added in v0.1.0
func (*SpecsResponse) ProtoMessage()
func (*SpecsResponse) Reset ¶ added in v0.1.0
func (m *SpecsResponse) Reset()
func (*SpecsResponse) String ¶ added in v0.1.0
func (m *SpecsResponse) String() string
type SpecsResponse_SpecDetail ¶ added in v0.1.0
type SpecsResponse_SpecDetail struct { // / Holds a collection of Specs that are defined in the project. Spec *ProtoSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` // / Holds a collection of parse errors present in the above spec. ParseErrors []*Error `protobuf:"bytes,2,rep,name=parseErrors" json:"parseErrors,omitempty"` }
func (*SpecsResponse_SpecDetail) Descriptor ¶ added in v0.1.0
func (*SpecsResponse_SpecDetail) Descriptor() ([]byte, []int)
func (*SpecsResponse_SpecDetail) GetParseErrors ¶ added in v0.1.0
func (m *SpecsResponse_SpecDetail) GetParseErrors() []*Error
func (*SpecsResponse_SpecDetail) GetSpec ¶ added in v0.1.0
func (m *SpecsResponse_SpecDetail) GetSpec() *ProtoSpec
func (*SpecsResponse_SpecDetail) ProtoMessage ¶ added in v0.1.0
func (*SpecsResponse_SpecDetail) ProtoMessage()
func (*SpecsResponse_SpecDetail) Reset ¶ added in v0.1.0
func (m *SpecsResponse_SpecDetail) Reset()
func (*SpecsResponse_SpecDetail) String ¶ added in v0.1.0
func (m *SpecsResponse_SpecDetail) String() string
type Step ¶
type Step struct { // / name of the step Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` // / table present in step as parameter Table string `protobuf:"bytes,2,opt,name=table" json:"table,omitempty"` // / name of table in concept heading, if it comes as a param to concept ParamTableName string `protobuf:"bytes,3,opt,name=paramTableName" json:"paramTableName,omitempty"` }
func (*Step) Descriptor ¶
func (*Step) GetParamTableName ¶
func (*Step) ProtoMessage ¶
func (*Step) ProtoMessage()
type StepExecutionEndingRequest ¶
type StepExecutionEndingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at end of Step Execution. Tells the runner to execute `after_step` hook.
func (*StepExecutionEndingRequest) Descriptor ¶
func (*StepExecutionEndingRequest) Descriptor() ([]byte, []int)
func (*StepExecutionEndingRequest) GetCurrentExecutionInfo ¶
func (m *StepExecutionEndingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*StepExecutionEndingRequest) ProtoMessage ¶
func (*StepExecutionEndingRequest) ProtoMessage()
func (*StepExecutionEndingRequest) Reset ¶
func (m *StepExecutionEndingRequest) Reset()
func (*StepExecutionEndingRequest) String ¶
func (m *StepExecutionEndingRequest) String() string
type StepExecutionStartingRequest ¶
type StepExecutionStartingRequest struct {
CurrentExecutionInfo *ExecutionInfo `protobuf:"bytes,1,opt,name=currentExecutionInfo" json:"currentExecutionInfo,omitempty"`
}
/ Sent at start of Step Execution. Tells the runner to execute `before_step` hook.
func (*StepExecutionStartingRequest) Descriptor ¶
func (*StepExecutionStartingRequest) Descriptor() ([]byte, []int)
func (*StepExecutionStartingRequest) GetCurrentExecutionInfo ¶
func (m *StepExecutionStartingRequest) GetCurrentExecutionInfo() *ExecutionInfo
func (*StepExecutionStartingRequest) ProtoMessage ¶
func (*StepExecutionStartingRequest) ProtoMessage()
func (*StepExecutionStartingRequest) Reset ¶
func (m *StepExecutionStartingRequest) Reset()
func (*StepExecutionStartingRequest) String ¶
func (m *StepExecutionStartingRequest) String() string
type StepInfo ¶
type StepInfo struct { // / The current request to execute Step Step *ExecuteStepRequest `protobuf:"bytes,1,opt,name=step" json:"step,omitempty"` // / Flag to indicate if the current Step execution failed. IsFailed bool `protobuf:"varint,2,opt,name=isFailed" json:"isFailed,omitempty"` // / The current stack trace in case of failure StackTrace string `protobuf:"bytes,3,opt,name=stackTrace" json:"stackTrace,omitempty"` }
/ Contains details of the Step execution.
func (*StepInfo) Descriptor ¶
func (*StepInfo) GetIsFailed ¶
func (*StepInfo) GetStackTrace ¶ added in v0.1.2
func (*StepInfo) GetStep ¶
func (m *StepInfo) GetStep() *ExecuteStepRequest
func (*StepInfo) ProtoMessage ¶
func (*StepInfo) ProtoMessage()
type StepNameRequest ¶
type StepNameRequest struct { // / Step text to lookup the Step. // / This is the parsed step value, i.e. with placeholders for parameters. StepValue string `protobuf:"bytes,1,opt,name=stepValue" json:"stepValue,omitempty"` }
/ Request for details on a Single Step.
func (*StepNameRequest) Descriptor ¶
func (*StepNameRequest) Descriptor() ([]byte, []int)
func (*StepNameRequest) GetStepValue ¶
func (m *StepNameRequest) GetStepValue() string
func (*StepNameRequest) ProtoMessage ¶
func (*StepNameRequest) ProtoMessage()
func (*StepNameRequest) Reset ¶
func (m *StepNameRequest) Reset()
func (*StepNameRequest) String ¶
func (m *StepNameRequest) String() string
type StepNameResponse ¶
type StepNameResponse struct { // / Flag indicating if there is a match for the given Step Text. IsStepPresent bool `protobuf:"varint,1,opt,name=isStepPresent" json:"isStepPresent,omitempty"` // / The Step name of the given step. StepName []string `protobuf:"bytes,2,rep,name=stepName" json:"stepName,omitempty"` // / Flag indicating if the given Step is an alias. HasAlias bool `protobuf:"varint,3,opt,name=hasAlias" json:"hasAlias,omitempty"` // / File name in which the step implementation exists FileName string `protobuf:"bytes,4,opt,name=fileName" json:"fileName,omitempty"` // / Range of step Span *Span `protobuf:"bytes,5,opt,name=span" json:"span,omitempty"` }
/ Response to StepNameRequest.
func (*StepNameResponse) Descriptor ¶
func (*StepNameResponse) Descriptor() ([]byte, []int)
func (*StepNameResponse) GetFileName ¶ added in v0.1.2
func (m *StepNameResponse) GetFileName() string
func (*StepNameResponse) GetHasAlias ¶
func (m *StepNameResponse) GetHasAlias() bool
func (*StepNameResponse) GetIsStepPresent ¶
func (m *StepNameResponse) GetIsStepPresent() bool
func (*StepNameResponse) GetSpan ¶ added in v0.1.2
func (m *StepNameResponse) GetSpan() *Span
func (*StepNameResponse) GetStepName ¶
func (m *StepNameResponse) GetStepName() []string
func (*StepNameResponse) ProtoMessage ¶
func (*StepNameResponse) ProtoMessage()
func (*StepNameResponse) Reset ¶
func (m *StepNameResponse) Reset()
func (*StepNameResponse) String ¶
func (m *StepNameResponse) String() string
type StepNamesRequest ¶
type StepNamesRequest struct { }
/ Requests Gauge to give all Step Names.
func (*StepNamesRequest) Descriptor ¶
func (*StepNamesRequest) Descriptor() ([]byte, []int)
func (*StepNamesRequest) ProtoMessage ¶
func (*StepNamesRequest) ProtoMessage()
func (*StepNamesRequest) Reset ¶
func (m *StepNamesRequest) Reset()
func (*StepNamesRequest) String ¶
func (m *StepNamesRequest) String() string
type StepNamesResponse ¶
type StepNamesResponse struct { // / Collection of strings corresponding to Step texts. Steps []string `protobuf:"bytes,1,rep,name=steps" json:"steps,omitempty"` }
/ Response to StepNamesRequest
func (*StepNamesResponse) Descriptor ¶
func (*StepNamesResponse) Descriptor() ([]byte, []int)
func (*StepNamesResponse) GetSteps ¶
func (m *StepNamesResponse) GetSteps() []string
func (*StepNamesResponse) ProtoMessage ¶
func (*StepNamesResponse) ProtoMessage()
func (*StepNamesResponse) Reset ¶
func (m *StepNamesResponse) Reset()
func (*StepNamesResponse) String ¶
func (m *StepNamesResponse) String() string
type StepPositionsRequest ¶ added in v0.1.2
type StepPositionsRequest struct { // / Get step positions for file path FilePath string `protobuf:"bytes,1,opt,name=filePath" json:"filePath,omitempty"` }
/ Request for find step positions
func (*StepPositionsRequest) Descriptor ¶ added in v0.1.2
func (*StepPositionsRequest) Descriptor() ([]byte, []int)
func (*StepPositionsRequest) GetFilePath ¶ added in v0.1.2
func (m *StepPositionsRequest) GetFilePath() string
func (*StepPositionsRequest) ProtoMessage ¶ added in v0.1.2
func (*StepPositionsRequest) ProtoMessage()
func (*StepPositionsRequest) Reset ¶ added in v0.1.2
func (m *StepPositionsRequest) Reset()
func (*StepPositionsRequest) String ¶ added in v0.1.2
func (m *StepPositionsRequest) String() string
type StepPositionsResponse ¶ added in v0.1.2
type StepPositionsResponse struct { // / Step Position StepPositions []*StepPositionsResponse_StepPosition `protobuf:"bytes,1,rep,name=stepPositions" json:"stepPositions,omitempty"` // / Error message Error string `protobuf:"bytes,2,opt,name=error" json:"error,omitempty"` }
/ Response for find step positions
func (*StepPositionsResponse) Descriptor ¶ added in v0.1.2
func (*StepPositionsResponse) Descriptor() ([]byte, []int)
func (*StepPositionsResponse) GetError ¶ added in v0.1.2
func (m *StepPositionsResponse) GetError() string
func (*StepPositionsResponse) GetStepPositions ¶ added in v0.1.2
func (m *StepPositionsResponse) GetStepPositions() []*StepPositionsResponse_StepPosition
func (*StepPositionsResponse) ProtoMessage ¶ added in v0.1.2
func (*StepPositionsResponse) ProtoMessage()
func (*StepPositionsResponse) Reset ¶ added in v0.1.2
func (m *StepPositionsResponse) Reset()
func (*StepPositionsResponse) String ¶ added in v0.1.2
func (m *StepPositionsResponse) String() string
type StepPositionsResponse_StepPosition ¶ added in v0.1.2
type StepPositionsResponse_StepPosition struct { // / Step Value StepValue string `protobuf:"bytes,1,opt,name=stepValue" json:"stepValue,omitempty"` // / Range of step Span *Span `protobuf:"bytes,2,opt,name=span" json:"span,omitempty"` }
/ Step position for each step implementation
func (*StepPositionsResponse_StepPosition) Descriptor ¶ added in v0.1.2
func (*StepPositionsResponse_StepPosition) Descriptor() ([]byte, []int)
func (*StepPositionsResponse_StepPosition) GetSpan ¶ added in v0.1.2
func (m *StepPositionsResponse_StepPosition) GetSpan() *Span
func (*StepPositionsResponse_StepPosition) GetStepValue ¶ added in v0.1.2
func (m *StepPositionsResponse_StepPosition) GetStepValue() string
func (*StepPositionsResponse_StepPosition) ProtoMessage ¶ added in v0.1.2
func (*StepPositionsResponse_StepPosition) ProtoMessage()
func (*StepPositionsResponse_StepPosition) Reset ¶ added in v0.1.2
func (m *StepPositionsResponse_StepPosition) Reset()
func (*StepPositionsResponse_StepPosition) String ¶ added in v0.1.2
func (m *StepPositionsResponse_StepPosition) String() string
type StepValidateRequest ¶
type StepValidateRequest struct { // / The text is used to lookup Step implementation StepText string `protobuf:"bytes,1,opt,name=stepText" json:"stepText,omitempty"` // / The number of paramters in the Step NumberOfParameters int32 `protobuf:"varint,2,opt,name=numberOfParameters" json:"numberOfParameters,omitempty"` // /This is use to generate step implementation template StepValue *ProtoStepValue `protobuf:"bytes,3,opt,name=stepValue" json:"stepValue,omitempty"` }
/ Request sent ot the runner to check if given Step is valid. / The runner should check if there is an implementation defined for the given Step Text.
func (*StepValidateRequest) Descriptor ¶
func (*StepValidateRequest) Descriptor() ([]byte, []int)
func (*StepValidateRequest) GetNumberOfParameters ¶
func (m *StepValidateRequest) GetNumberOfParameters() int32
func (*StepValidateRequest) GetStepText ¶
func (m *StepValidateRequest) GetStepText() string
func (*StepValidateRequest) GetStepValue ¶ added in v0.1.2
func (m *StepValidateRequest) GetStepValue() *ProtoStepValue
func (*StepValidateRequest) ProtoMessage ¶
func (*StepValidateRequest) ProtoMessage()
func (*StepValidateRequest) Reset ¶
func (m *StepValidateRequest) Reset()
func (*StepValidateRequest) String ¶
func (m *StepValidateRequest) String() string
type StepValidateResponse ¶
type StepValidateResponse struct { IsValid bool `protobuf:"varint,1,opt,name=isValid" json:"isValid,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=errorMessage" json:"errorMessage,omitempty"` ErrorType StepValidateResponse_ErrorType `protobuf:"varint,3,opt,name=errorType,enum=gauge.messages.StepValidateResponse_ErrorType" json:"errorType,omitempty"` Suggestion string `protobuf:"bytes,4,opt,name=suggestion" json:"suggestion,omitempty"` }
/ Response of StepValidateRequest. / The runner tells the caller if the Request was valid, / i.e. an implementation exists for given Step text. / Returns an error message if it is an error response.
func (*StepValidateResponse) Descriptor ¶
func (*StepValidateResponse) Descriptor() ([]byte, []int)
func (*StepValidateResponse) GetErrorMessage ¶
func (m *StepValidateResponse) GetErrorMessage() string
func (*StepValidateResponse) GetErrorType ¶
func (m *StepValidateResponse) GetErrorType() StepValidateResponse_ErrorType
func (*StepValidateResponse) GetIsValid ¶
func (m *StepValidateResponse) GetIsValid() bool
func (*StepValidateResponse) GetSuggestion ¶ added in v0.1.2
func (m *StepValidateResponse) GetSuggestion() string
func (*StepValidateResponse) ProtoMessage ¶
func (*StepValidateResponse) ProtoMessage()
func (*StepValidateResponse) Reset ¶
func (m *StepValidateResponse) Reset()
func (*StepValidateResponse) String ¶
func (m *StepValidateResponse) String() string
type StepValidateResponse_ErrorType ¶
type StepValidateResponse_ErrorType int32
const ( StepValidateResponse_STEP_IMPLEMENTATION_NOT_FOUND StepValidateResponse_ErrorType = 0 StepValidateResponse_DUPLICATE_STEP_IMPLEMENTATION StepValidateResponse_ErrorType = 1 )
func (StepValidateResponse_ErrorType) EnumDescriptor ¶
func (StepValidateResponse_ErrorType) EnumDescriptor() ([]byte, []int)
func (StepValidateResponse_ErrorType) String ¶
func (x StepValidateResponse_ErrorType) String() string
type SuiteDataStoreInitRequest ¶
type SuiteDataStoreInitRequest struct { }
/ Request runner to initialize Suite DataStore / Suite Datastore is reset after every Suite execution.
func (*SuiteDataStoreInitRequest) Descriptor ¶
func (*SuiteDataStoreInitRequest) Descriptor() ([]byte, []int)
func (*SuiteDataStoreInitRequest) ProtoMessage ¶
func (*SuiteDataStoreInitRequest) ProtoMessage()
func (*SuiteDataStoreInitRequest) Reset ¶
func (m *SuiteDataStoreInitRequest) Reset()
func (*SuiteDataStoreInitRequest) String ¶
func (m *SuiteDataStoreInitRequest) String() string
type SuiteExecutionResult ¶
type SuiteExecutionResult struct {
SuiteResult *ProtoSuiteResult `protobuf:"bytes,1,opt,name=suiteResult" json:"suiteResult,omitempty"`
}
/ Result of the Suite Execution.
func (*SuiteExecutionResult) Descriptor ¶
func (*SuiteExecutionResult) Descriptor() ([]byte, []int)
func (*SuiteExecutionResult) GetSuiteResult ¶
func (m *SuiteExecutionResult) GetSuiteResult() *ProtoSuiteResult
func (*SuiteExecutionResult) ProtoMessage ¶
func (*SuiteExecutionResult) ProtoMessage()
func (*SuiteExecutionResult) Reset ¶
func (m *SuiteExecutionResult) Reset()
func (*SuiteExecutionResult) String ¶
func (m *SuiteExecutionResult) String() string
type TextInfo ¶
type TextInfo struct { // / The filename from where concept is being extracted FileName string `protobuf:"bytes,1,opt,name=fileName" json:"fileName,omitempty"` // / storing the starting and ending line number of selected text StartingLineNo int32 `protobuf:"varint,2,opt,name=startingLineNo" json:"startingLineNo,omitempty"` EndLineNo int32 `protobuf:"varint,3,opt,name=endLineNo" json:"endLineNo,omitempty"` }
func (*TextInfo) Descriptor ¶
func (*TextInfo) GetEndLineNo ¶
func (*TextInfo) GetFileName ¶
func (*TextInfo) GetStartingLineNo ¶
func (*TextInfo) ProtoMessage ¶
func (*TextInfo) ProtoMessage()
type UnsupportedApiMessageResponse ¶
type UnsupportedApiMessageResponse struct { }
/ Response when a API message request is not supported.
func (*UnsupportedApiMessageResponse) Descriptor ¶
func (*UnsupportedApiMessageResponse) Descriptor() ([]byte, []int)
func (*UnsupportedApiMessageResponse) ProtoMessage ¶
func (*UnsupportedApiMessageResponse) ProtoMessage()
func (*UnsupportedApiMessageResponse) Reset ¶
func (m *UnsupportedApiMessageResponse) Reset()
func (*UnsupportedApiMessageResponse) String ¶
func (m *UnsupportedApiMessageResponse) String() string
type UnsupportedMessageResponse ¶
type UnsupportedMessageResponse struct {
Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}
/ Response when a unsupported message request is sent.
func (*UnsupportedMessageResponse) Descriptor ¶
func (*UnsupportedMessageResponse) Descriptor() ([]byte, []int)
func (*UnsupportedMessageResponse) GetMessage ¶
func (m *UnsupportedMessageResponse) GetMessage() string
func (*UnsupportedMessageResponse) ProtoMessage ¶
func (*UnsupportedMessageResponse) ProtoMessage()
func (*UnsupportedMessageResponse) Reset ¶
func (m *UnsupportedMessageResponse) Reset()
func (*UnsupportedMessageResponse) String ¶
func (m *UnsupportedMessageResponse) String() string