Class FZagalaSpecFeatureHeaderSectionBuilder#
Defined in File ZagalaSpecFeatureHeaderSectionBuilder.h
Inheritance Relationships#
Base Type#
public IZagalaSpecDocumentSectionBuilder(Class IZagalaSpecDocumentSectionBuilder)
Class Documentation#
-
class FZagalaSpecFeatureHeaderSectionBuilder : public IZagalaSpecDocumentSectionBuilder#
Builds the header of the feature: the “@Feature.Tag” line, the “Feature: Title” line (with a “(disabled)” hint when the feature is excluded from tests) and one row per line of the description, followed by a spacer.
The title is the leaf of the feature tag.
Reads the feature through IZagalaSpecDescriptor and IZagalaSpecTestabilityIndicator.
IZagalaSpecDocumentSectionBuilder interface
-
virtual FName GetId() const override#
Identifies the section inside a layout.
Must be unique inside the layout.
- Returns:
The section id (see ZagalaSpecDocumentSectionIds for the default ones).
-
virtual void Build(const FZagalaSpecDocumentBuildContext &Context, TArray<FZagalaSpecDocumentRowPtr> &OutRows) const override#
Appends the rows of this section.
- Parameters:
Context – The feature (and scenario) the rows are built for.
OutRows – The rows built so far; the section appends its own rows at the end.
-
virtual FName GetId() const override#