Class IZagalaSpecExecutionContext#

Inheritance Relationships#

Derived Type#

Class Documentation#

class IZagalaSpecExecutionContext#

Implemented by objects that represent the scenario execution context.

Receives context extensions (including shared ones from a feature) and expectations to manage the scenario execution. It setups and executes the runtime extensions and expectations that are used to fulfill the scenario execution.

Subclassed by UZagalaSpecContext

Public Functions

virtual void Setup(const TArray<TObjectPtr<UObject>> &ConfigExtensions = {}, const TArray<TObjectPtr<UObject>> &ConfigExpectations = {}) = 0#

Sets up the runtime extensions and expectations from the given config arrays.

Parameters:
  • ConfigExtensions – The configured context extension steps.

  • ConfigExpectations – The configured expectation steps.

virtual void Develop(TOptional<TObjectPtr<UObject>> OptionalParameters = {}) = 0#

Develops the context by executing its runtime extensions and expectations, which are empty if no call to Setup() has been made yet.

Parameters:

OptionalParameters – Optional parameters object for the development pass; unused by UZagalaSpecContext.