|
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 174 of file board_expectations.cpp.
|
inlineprivate |
Definition at line 215 of file board_expectations.cpp.
References BOOST_TEST_CONTEXT(), BOARD::GetNetCount(), and m_Count.
Referenced by RunTest().
|
inlineprivate |
Definition at line 186 of file board_expectations.cpp.
References BOARD::GetNetInfo(), m_NamePatterns, and nameMatches().
Referenced by RunTest().
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 268 of file board_expectations.cpp.
References m_Count, and m_NamePatterns.
|
inlinestaticprivate |
Definition at line 181 of file board_expectations.cpp.
Referenced by findMatchingNets(), and RunTest().
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 226 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 177 of file board_expectations.cpp.
Referenced by doSimpleCountTest(), GetName(), and RunTest().
| std::vector<std::string> NET_EXPECTATION::m_NamePatterns |
Definition at line 178 of file board_expectations.cpp.
Referenced by findMatchingNets(), GetName(), and RunTest().