KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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< SCH_FIELD >
 
struct  BOOST_TEST_PRINT_NAMESPACE_OPEN::print_log_value< std::vector< SCH_FIELD > >
 

Namespaces

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

Functions

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.
 

Detailed Description

Test utils (e.g.

print helpers and test predicates for SCH_FIELD objects

Definition in file lib_field_test_utils.h.