Aller au contenu
Bienvenue sur la nouvelle documentation de CppUtils !

Base CRTP helper providing timeout configuration for test builders.

Paramètre templateDescription
DerivedDerived builder type for method chaining.
std::chrono::seconds testTimeout {10};

Maximum execution timeout duration.

auto TimeoutBuilder::timeout(std::chrono::seconds newTimeout) -> Derived&;

Sets the execution timeout before the test is aborted.

ParamètreDescription
newTimeoutTimeout duration.

Retourne : Reference to this builder.