Specs
Beautiful C++ Test Framework
|
#include <SpecRunResult.h>
Public Member Functions | |
SpecRunResult (ISpecComponent *component, ISpecGroup *group, ISpec *spec, RunResultStatus status, std::string_view message="") | |
RunResultStatus | status () const override |
const char * | message () const override |
ISpecComponent * | component () const override |
ISpec * | spec () const override |
ISpecGroup * | group () const override |
ISpecRunResult * | copy () const override |
Public Member Functions inherited from SpecsCpp::ISpecRunResult | |
virtual | ~ISpecRunResult ()=default |
virtual ISpecComponent * | component () const =0 |
virtual ISpecGroup * | group () const =0 |
virtual ISpec * | spec () const =0 |
virtual RunResultStatus | status () const =0 |
virtual const char * | message () const =0 |
virtual ISpecRunResult * | copy () const =0 |
virtual const char * | status_as_string () const |
Static Public Member Functions | |
static std::unique_ptr< SpecRunResult > | passed (ISpecComponent *component, ISpecGroup *group, ISpec *spec) |
static std::unique_ptr< SpecRunResult > | failed (ISpecComponent *component, ISpecGroup *group, ISpec *spec, std::string_view message="") |
static std::unique_ptr< SpecRunResult > | not_run (ISpecComponent *component, ISpecGroup *group, ISpec *spec) |
static std::unique_ptr< SpecRunResult > | timeout (ISpecComponent *component, ISpecGroup *group, ISpec *spec) |
Definition at line 11 of file SpecRunResult.h.
|
inline |
Definition at line 19 of file SpecRunResult.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 31 of file SpecRunResult.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 35 of file SpecRunResult.h.
|
inlinestatic |
Definition at line 45 of file SpecRunResult.h.
Referenced by SpecsCpp::SpecCodeBlock::run().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 33 of file SpecRunResult.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 30 of file SpecRunResult.h.
Referenced by failed().
|
inlinestatic |
Definition at line 53 of file SpecRunResult.h.
|
inlinestatic |
Definition at line 39 of file SpecRunResult.h.
Referenced by SpecsCpp::SpecCodeBlock::run().
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 32 of file SpecRunResult.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecRunResult.
Definition at line 29 of file SpecRunResult.h.
|
inlinestatic |
Definition at line 59 of file SpecRunResult.h.
Referenced by SpecsCpp::SpecCodeBlock::run().