KiCad PCB EDA Suite
lib_field_test_utils.h File Reference

Test utils (e.g. More...

Go to the source code of this file.

Classes

struct  BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< LIB_FIELD >
 
struct  BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< LIB_FIELDS >
 

Namespaces

 BOOST_TEST_PRINT_NAMESPACE_OPEN
 Before Boost 1.64, nullptr_t wasn't handled.
 
 KI_TEST
 

Functions

bool KI_TEST::FieldNameIdMatches (const LIB_FIELD &aField, const std::string &aExpectedName, int aExpectedId)
 Predicate to check a field name is as expected. More...
 
bool KI_TEST::AreDefaultFieldsCorrect (const LIB_FIELDS &aFields)
 Predicate to check that the mandatory fields in a LIB_FIELDS object look sensible. More...
 

Detailed Description

Test utils (e.g.

print helpers and test predicates for LIB_FIELD objects

Definition in file lib_field_test_utils.h.