|
KiCad PCB EDA Suite
|
Public Attributes | |
| std::optional< INT_MATCHER > | m_Count |
| std::vector< std::string > | m_NamePatterns |
Private Member Functions | |
| std::vector< const NETINFO_ITEM * > | findMatchingNets (const BOARD &aBrd) const |
| void | doSimpleCountTest (const BOARD &aBrd) const |
| void | RunTest (const BOARD &aBrd) const override |
| std::string | GetName () const override |
Static Private Member Functions | |
| static bool | nameMatches (const std::string &aName, const std::string &aPattern) |
Definition at line 172 of file board_expectations.cpp.
|
inlineprivate |
Definition at line 213 of file board_expectations.cpp.
References BOOST_TEST_CONTEXT(), BOARD::GetNetCount(), and m_Count.
Referenced by RunTest().
|
inlineprivate |
Definition at line 184 of file board_expectations.cpp.
References BOARD::GetNetInfo(), m_NamePatterns, and nameMatches().
Referenced by RunTest().
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 266 of file board_expectations.cpp.
References m_Count, and m_NamePatterns.
|
inlinestaticprivate |
Definition at line 179 of file board_expectations.cpp.
Referenced by findMatchingNets(), and RunTest().
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 224 of file board_expectations.cpp.
References BOOST_TEST(), BOOST_TEST_CONTEXT(), doSimpleCountTest(), findMatchingNets(), BOARD::GetNetInfo(), m_Count, m_NamePatterns, and nameMatches().
| std::optional<INT_MATCHER> NET_EXPECTATION::m_Count |
Definition at line 175 of file board_expectations.cpp.
Referenced by doSimpleCountTest(), GetName(), and RunTest().
| std::vector<std::string> NET_EXPECTATION::m_NamePatterns |
Definition at line 176 of file board_expectations.cpp.
Referenced by findMatchingNets(), GetName(), and RunTest().