KiCad PCB EDA Suite
|
Test utils (e.g. More...
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <template_fieldnames.h>
#include <sch_field.h>
Go to the source code of this file.
Namespaces | |
namespace | KI_TEST |
Functions | |
std::ostream & | boost_test_print_type (std::ostream &os, SCH_FIELD const &f) |
std::ostream & | boost_test_print_type (std::ostream &os, std::vector< SCH_FIELD > const &f) |
bool | KI_TEST::FieldNameIdMatches (const SCH_FIELD &aField, const std::string &aExpectedName, int aExpectedId) |
Predicate to check a field name is as expected. | |
bool | KI_TEST::AreDefaultFieldsCorrect (const std::vector< SCH_FIELD > &aFields) |
Predicate to check that the mandatory fields look sensible. | |
Test utils (e.g.
print helpers and test predicates for SCH_FIELD objects
Definition in file lib_field_test_utils.h.
std::ostream & boost_test_print_type | ( | std::ostream & | os, |
SCH_FIELD const & | f | ||
) |
Definition at line 38 of file lib_field_test_utils.h.
References SCH_FIELD::GetCanonicalName().
std::ostream & boost_test_print_type | ( | std::ostream & | os, |
std::vector< SCH_FIELD > const & | f | ||
) |
Definition at line 44 of file lib_field_test_utils.h.