Exemple #1
0
func (e *specExecutor) executeHook(message *gauge_messages.Message, execTimeTracker result.ExecTimeTracker) *gauge_messages.ProtoExecutionResult {
	e.pluginHandler.NotifyPlugins(message)
	executionResult := executeAndGetStatus(e.runner, message)
	execTimeTracker.AddExecTime(executionResult.GetExecutionTime())
	return executionResult
}
Exemple #2
0
func executeHook(message *gauge_messages.Message, execTimeTracker result.ExecTimeTracker, r *runner.TestRunner, ph *plugin.Handler) *gauge_messages.ProtoExecutionResult {
	ph.NotifyPlugins(message)
	executionResult := executeAndGetStatus(r, message)
	execTimeTracker.AddExecTime(executionResult.GetExecutionTime())
	return executionResult
}