Specs
Beautiful C++ Test Framework
|
#include <GlobalSpecGroup.h>
Public Member Functions | |
GlobalSpecGroup () | |
GlobalSpecGroup (ISpecGroup *rootGroup) | |
ISpecGroup * | root () const |
ISpecGroup * | get () const |
void | set (ISpecGroup *group) |
void | push (ISpecGroup *group) |
void | pop () |
void | clear_group_stack () |
void | reset_group_stack () |
void | save_group_stack () |
void | restore_group_stack () |
void | define_template (std::string_view templateName, std::unique_ptr< SpecCodeBlock > codeBlock) |
void | define_group (std::string_view description, std::unique_ptr< SpecCodeBlock > codeBlock, bool removeUnderscores=false) |
void | define_spec (std::string_view description, std::unique_ptr< SpecCodeBlock > codeBlock, bool skip=false) |
void | define_setup (std::unique_ptr< SpecCodeBlock > codeBlock, bool skip=false) |
void | define_teardown (std::unique_ptr< SpecCodeBlock > codeBlock, bool skip=false) |
void | define_one_time_setup (std::unique_ptr< SpecCodeBlock > codeBlock, bool skip=false) |
void | define_one_time_teardown (std::unique_ptr< SpecCodeBlock > codeBlock, bool skip=false) |
void | clear_top_level_group () |
void | declare_top_level_group (std::string_view description) |
void | clear_file_group () |
void | declare_file_group (std::string_view description, bool removeUnderscores=true) |
void | declare_top_level_template (std::string_view templateName, bool clearFileGroup=false, bool removeUnderscores=true) |
void | declare_group (std::string_view description, bool removeUnderscores=true) |
void | declare_groups (std::vector< std::string > descriptions) |
void | use_template (std::string_view templateName) |
void | use_templates (std::vector< std::string_view > templateNames) |
void | add_meta_data_for_next_component (ISpecDataValue *value) |
void | add_tag_for_next_component (std::string_view value) |
void | add_tags_for_next_component (std::vector< std::string_view > values) |
Static Public Member Functions | |
static GlobalSpecGroup & | instance () |
Definition at line 22 of file GlobalSpecGroup.h.
|
inline |
Definition at line 70 of file GlobalSpecGroup.h.
|
inline |
Definition at line 78 of file GlobalSpecGroup.h.
|
inline |
Definition at line 349 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::Functions::set_timeout(), and SpecsCpp::DSLs::Functions::skip().
|
inline |
Definition at line 353 of file GlobalSpecGroup.h.
Referenced by add_tags_for_next_component().
|
inline |
Definition at line 357 of file GlobalSpecGroup.h.
|
inline |
Definition at line 250 of file GlobalSpecGroup.h.
Referenced by declare_file_group(), and declare_top_level_template().
|
inline |
Definition at line 93 of file GlobalSpecGroup.h.
Referenced by declare_top_level_template(), and reset_group_stack().
|
inline |
Definition at line 224 of file GlobalSpecGroup.h.
Referenced by declare_file_group(), declare_top_level_group(), and declare_top_level_template().
|
inline |
Definition at line 261 of file GlobalSpecGroup.h.
|
inline |
Definition at line 310 of file GlobalSpecGroup.h.
Referenced by declare_groups().
|
inline |
Definition at line 327 of file GlobalSpecGroup.h.
|
inline |
Definition at line 235 of file GlobalSpecGroup.h.
|
inline |
Definition at line 282 of file GlobalSpecGroup.h.
|
inline |
Definition at line 133 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_group_fn(), and SpecsCpp::DSLs::GlobalInterface::define_group_fn().
|
inline |
Definition at line 200 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), and SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn().
|
inline |
Definition at line 212 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), and SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn().
|
inline |
Definition at line 176 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), and SpecsCpp::DSLs::GlobalInterface::define_setup_fn().
|
inline |
Definition at line 159 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), and SpecsCpp::DSLs::GlobalInterface::define_test_fn().
|
inline |
Definition at line 188 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), and SpecsCpp::DSLs::GlobalInterface::define_teardown_fn().
|
inline |
Definition at line 118 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_template_fn().
|
inline |
Definition at line 86 of file GlobalSpecGroup.h.
Referenced by clear_file_group(), clear_top_level_group(), declare_file_group(), declare_group(), declare_top_level_group(), declare_top_level_template(), define_group(), define_one_time_setup(), define_one_time_teardown(), define_setup(), define_spec(), define_teardown(), define_template(), use_template(), and use_templates().
|
inlinestatic |
Definition at line 80 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::GlobalInterface::define_group_fn(), SpecsCpp::DSLs::GlobalInterface::define_group_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_one_time_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_setup_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_teardown_fn(), SpecsCpp::DSLs::GlobalInterface::define_template_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), SpecsCpp::DSLs::GlobalInterface::define_test_fn(), instance(), SpecsCpp::Entrypoint::main(), SpecsCpp::DSLs::Functions::set_timeout(), SpecsCpp::DSLs::Functions::skip(), SpecsCpp_Load(), and SpecsCpp::DSLs::Functions::use_template().
|
inline |
Definition at line 91 of file GlobalSpecGroup.h.
Referenced by clear_file_group(), clear_top_level_group(), and define_group().
|
inline |
Definition at line 90 of file GlobalSpecGroup.h.
Referenced by declare_file_group(), declare_group(), declare_top_level_group(), declare_top_level_template(), define_group(), and reset_group_stack().
|
inline |
Definition at line 101 of file GlobalSpecGroup.h.
|
inline |
Definition at line 112 of file GlobalSpecGroup.h.
|
inline |
Definition at line 85 of file GlobalSpecGroup.h.
Referenced by reset_group_stack(), and SpecsCpp_Load().
|
inline |
Definition at line 106 of file GlobalSpecGroup.h.
|
inline |
Definition at line 89 of file GlobalSpecGroup.h.
Referenced by define_template().
|
inline |
Definition at line 331 of file GlobalSpecGroup.h.
Referenced by SpecsCpp::DSLs::Functions::use_template(), and use_templates().
|
inline |
Definition at line 344 of file GlobalSpecGroup.h.