本文整理匯總了Golang中github.com/getgauge/gauge/gauge_messages.ProtoConcept.GetConceptExecutionResult方法的典型用法代碼示例。如果您正苦於以下問題:Golang ProtoConcept.GetConceptExecutionResult方法的具體用法?Golang ProtoConcept.GetConceptExecutionResult怎麽用?Golang ProtoConcept.GetConceptExecutionResult使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類github.com/getgauge/gauge/gauge_messages.ProtoConcept
的用法示例。
在下文中一共展示了ProtoConcept.GetConceptExecutionResult方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Golang代碼示例。
示例1: executeConcept
func (executor *specExecutor) executeConcept(protoConcept *gauge_messages.ProtoConcept) bool {
executor.logger.Info("Executing Concept: %s", formatter.FormatConcept(protoConcept))
for _, step := range protoConcept.Steps {
failure := executor.executeItem(step)
executor.setExecutionResultForConcept(protoConcept)
if failure {
return true
}
}
return protoConcept.GetConceptExecutionResult().GetExecutionResult().GetFailed()
}
示例2: executeConcept
func (executor *specExecutor) executeConcept(protoConcept *gauge_messages.ProtoConcept) bool {
executor.writer.ConceptStarting(protoConcept)
for _, step := range protoConcept.Steps {
failure := executor.executeItem(step)
executor.setExecutionResultForConcept(protoConcept)
if failure {
return true
}
}
executor.writer.ConceptFinished(protoConcept)
return protoConcept.GetConceptExecutionResult().GetExecutionResult().GetFailed()
}
示例3: executeConcept
func (executor *specExecutor) executeConcept(protoConcept *gauge_messages.ProtoConcept) bool {
executor.consoleReporter.ConceptStart(formatter.FormatConcept(protoConcept))
for _, step := range protoConcept.Steps {
failure := executor.executeItem(step)
executor.setExecutionResultForConcept(protoConcept)
if failure {
return true
}
}
conceptFailed := protoConcept.GetConceptExecutionResult().GetExecutionResult().GetFailed()
executor.consoleReporter.ConceptEnd(conceptFailed)
return conceptFailed
}
示例4: executeConcept
func (e *scenarioExecutor) executeConcept(protoConcept *gauge_messages.ProtoConcept) *gauge_messages.ProtoStepExecutionResult {
e.consoleReporter.ConceptStart(formatter.FormatConcept(protoConcept))
for _, step := range protoConcept.Steps {
res := e.executeItem(step)
e.setExecutionResultForConcept(protoConcept)
if res.GetExecutionResult().GetFailed() {
return protoConcept.GetConceptExecutionResult()
}
}
conceptFailed := protoConcept.GetConceptExecutionResult().GetExecutionResult().GetFailed()
e.consoleReporter.ConceptEnd(conceptFailed)
return protoConcept.GetConceptExecutionResult()
}