Class UZagalaSpecCEEmptyInventory#
Defined in File ZagalaSpecCEEmptyInventory.h
Inheritance Relationships#
Base Type#
public UZagalaSpecDefaultExecutionStep(Class UZagalaSpecDefaultExecutionStep)
Class Documentation#
-
class UZagalaSpecCEEmptyInventory : public UZagalaSpecDefaultExecutionStep#
Context extension step that creates a fresh empty Inventory SUT and stores it as UZagalaSpecDataInventoryRef in the assigned cache.
Teardown resets the inventory so it is empty again for the next scenario iteration (e.g. when used with an iterator context extension).
Pattern:
^(?:Given |And )?a fresh empty inventory$Registered by UZagalaSpecExamplesStepEntryEmptyInventory.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.
-
virtual void InternalTeardown_Implementation() override#
Native implementation of InternalTeardown(); does nothing by default.
Protected Attributes
-
TScriptInterface<IZagalaSpecTaggedDataCacher> AssignedCacherReference#
Cacher captured on execute so teardown can reset the stored inventory.
-
virtual void InternalExecute_Implementation(const TScriptInterface<IZagalaSpecTaggedDataCacher> &AssignedCacher) override#