Initialize static state before evaluating a top‐level fuzz‐test expression.

Synopsis

Declared in <bsls_fuzztest.h>

static
void
initStaticState(char const* fileName);

Description

Store the specified fileName from the caller that invokes the top‐level function under test (via BSLS_FUZZTEST_EVALUATE(X)), and set the state to reflect that any precondition begin macro encountered will be the first.

Parameters

Name

Description

fileName

source file of the caller invoking the function under test

Created with MrDocs