Class UZagalaSpecStepLastOpFailed#

Inheritance Relationships#

Base Type#

Class Documentation#

class UZagalaSpecStepLastOpFailed : public UZagalaSpecDefaultExecutionStep#

Execution step that asserts “the last counter operation failed”.

Reads the UZagalaSpecDataCounterOpResult from the scenario context cache (written there by a preceding UZagalaSpecStepIncrementBy) and fails the scenario if the previous operation unexpectedly succeeded.

Pattern: ^Then the last counter operation failed$ Registered by UZagalaSpecExamplesStepEntryLastOpFailed.

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.