|
| SpecGroup (ISpecGroup *parent=nullptr, std::string_view description="") |
|
| SpecGroup (std::string_view description) |
|
void | foreach_group (ForEachGroupFn *callback) const override |
|
void | foreach_test (ForEachSpecFn *callback) const override |
|
void | foreach_setup (ForEachSetupFn *callback) const override |
|
void | foreach_teardown (ForEachTeardownFn *callback) const override |
|
void | foreach_one_time_setup (ForEachSetupFn *callback) const override |
|
void | foreach_one_time_teardown (ForEachTeardownFn *callback) const override |
|
void | add_group (ISpecGroup *group) override |
|
void | add_test (ISpec *spec) override |
|
void | add_setup (ISpecSetup *setup) override |
|
void | add_teardown (ISpecTeardown *teardown) override |
|
void | add_one_time_setup (ISpecSetup *setup) override |
|
void | add_one_time_teardown (ISpecTeardown *teardown) override |
|
const char * | full_description () const override |
|
void | merge (ISpecGroup *other) override |
|
ISpecVariableCollection * | variables () const override |
|
virtual | ~ISpecGroup ()=default |
|
virtual void | add_group (ISpecGroup *)=0 |
|
virtual void | add_test (ISpec *)=0 |
|
virtual void | add_setup (ISpecSetup *)=0 |
|
virtual void | add_teardown (ISpecTeardown *)=0 |
|
virtual void | add_one_time_setup (ISpecSetup *)=0 |
|
virtual void | add_one_time_teardown (ISpecTeardown *)=0 |
|
virtual void | foreach_group (ForEachGroupFn *) const =0 |
|
virtual void | foreach_test (ForEachSpecFn *) const =0 |
|
virtual void | foreach_setup (ForEachSetupFn *) const =0 |
|
virtual void | foreach_teardown (ForEachTeardownFn *) const =0 |
|
virtual void | foreach_one_time_setup (ForEachSetupFn *) const =0 |
|
virtual void | foreach_one_time_teardown (ForEachTeardownFn *) const =0 |
|
virtual void | merge (ISpecGroup *)=0 |
|
void | foreach_group (std::function< void(ISpecGroup *)> fn) const |
|
void | foreach_test (std::function< void(ISpec *)> fn) const |
|
void | foreach_setup (std::function< void(ISpecSetup *)> fn) const |
|
void | foreach_teardown (std::function< void(ISpecTeardown *)> fn) const |
|
void | foreach_one_time_setup (std::function< void(ISpecSetup *)> fn) const |
|
void | foreach_one_time_teardown (std::function< void(ISpecTeardown *)> fn) const |
|
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 |
|
virtual | ~ISpecDocumented ()=default |
|
virtual const char * | description () const =0 |
|
virtual const char * | full_description () const =0 |
|
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) |
|
| 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 |
|
| SpecDocumented (std::string_view description) |
|
const char * | description () const override |
|
Definition at line 15 of file SpecGroup.h.