Class UZagalaSpecStepIncrementBy#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecStepIncrementBy : public UZagalaSpecChainLinkOnStep#

Execution step that increments the counter by <N>.

Stages the captured amount as UZagalaSpecDataCounterAmount and runs UZagalaSpecDSLIncrementCounter, which writes the operation result to the scenario context cache for later assertions.

Pattern: ^(?:When |And )I increment the counter by (-?\d+)$ Pattern: ^(?:When |And )I increment the counter by <(?:.+)>$ Registered by UZagalaSpecExamplesStepEntryIncrementBy and UZagalaSpecExamplesStepEntryIncrementByTemplate.

Protected Functions

virtual void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#

Native implementation of InternalExecute(); broadcasts a failure unless overridden.

Parameters:

AssignedCacher – The tagged data cache assigned to this link.