Specs
Beautiful C++ Test Framework
|
#include <SpecTest.h>
Public Member Functions | |
SpecTest (ISpecGroup *parent, std::string_view description, std::unique_ptr< SpecCodeBlock > codeBlock) | |
const char * | full_description () const override |
ISpecVariableCollection * | variables () const override |
Public Member Functions inherited from SpecsCpp::ISpec | |
virtual | ~ISpec ()=default |
Public Member Functions inherited from SpecsCpp::ISpecComponent | |
virtual | ~ISpecComponent ()=default |
virtual ISpecGroup * | group () const =0 |
virtual void | set_group (ISpecGroup *group)=0 |
virtual ISpecDataValueCollection * | data () const =0 |
virtual ISpecTagCollection * | tags () const =0 |
virtual SpecComponentType | type () const =0 |
virtual bool | skip () const =0 |
virtual void | mark_skipped (bool skip=true)=0 |
Public Member Functions inherited from SpecsCpp::ISpecDocumented | |
virtual | ~ISpecDocumented ()=default |
virtual const char * | description () const =0 |
virtual const char * | full_description () const =0 |
Public Member Functions inherited from SpecsCpp::ISpecHasCodeBlock | |
virtual | ~ISpecHasCodeBlock ()=default |
virtual ISpecCodeBlock * | code_block () const =0 |
Public Member Functions inherited from SpecsCpp::ISpecHasVariables | |
virtual | ~ISpecHasVariables ()=default |
virtual ISpecVariableCollection * | variables () const =0 |
ISpecVariableCollection * | vars () const |
bool | has_var (const char *name) const |
IVoidPointer * | var (const char *name) const |
template<typename T > | |
T | var (const char *name) const |
template<typename T > | |
T * | var (const char *name, T *value, bool destructable=true) |
template<typename T > | |
void | var (const char *name, T &&value, bool destructable=true) |
template<typename T > | |
T * | managed_var (const char *name, T *value) |
template<typename T > | |
void | managed_var (const char *name, T &&value) |
template<typename T > | |
T * | unmanaged_var (const char *name, T *value) |
template<typename T > | |
void | unmanaged_var (const char *name, T &&value) |
const char * | var_text (const char *name) |
const char * | var_text (const char *name, const char *value) |
Public Member Functions inherited from SpecsCpp::SpecComponent | |
SpecComponent (SpecComponentType type, ISpecGroup *parentGroup, bool skip=false) | |
ISpecGroup * | group () const override |
void | set_group (ISpecGroup *group) override |
ISpecDataValueCollection * | data () const override |
ISpecTagCollection * | tags () const override |
SpecComponentType | type () const override |
bool | skip () const override |
void | mark_skipped (bool skip=true) override |
Public Member Functions inherited from SpecsCpp::SpecDocumented | |
SpecDocumented (std::string_view description) | |
const char * | description () const override |
Public Member Functions inherited from SpecsCpp::SpecHasCodeBlock | |
SpecHasCodeBlock (std::unique_ptr< SpecCodeBlock > codeBlock) | |
ISpecCodeBlock * | code_block () const override |
Definition at line 18 of file SpecTest.h.
|
inline |
Definition at line 27 of file SpecTest.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecDocumented.
Definition at line 41 of file SpecTest.h.
|
inlineoverridevirtual |
Implements SpecsCpp::ISpecHasVariables.
Definition at line 43 of file SpecTest.h.