|
KiCad PCB EDA Suite
|
Public Member Functions | |
| void | SetComment (std::string aComment) |
| Set a comment to be included in the test output for this expectation, which can be used to provide more details about the expectation. | |
| const std::string & | GetComment () const |
Public Attributes | |
| std::optional< SCALAR_CONSTRAINT > | 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) |
Private Attributes | |
| std::string | m_Comment |
Definition at line 337 of file board_expectations.cpp.
|
inlineprivate |
Definition at line 378 of file board_expectations.cpp.
References BOOST_TEST_CONTEXT(), CheckConstraint(), BOARD::GetNetCount(), and m_Count.
Referenced by RunTest().
|
inlineprivate |
Definition at line 349 of file board_expectations.cpp.
References BOARD::GetNetInfo(), m_NamePatterns, and nameMatches().
Referenced by RunTest().
|
inlineinherited |
Definition at line 57 of file board_expectations.h.
References m_Comment.
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 431 of file board_expectations.cpp.
References m_Count, m_NamePatterns, and vecToString().
|
inlinestaticprivate |
Definition at line 344 of file board_expectations.cpp.
Referenced by findMatchingNets(), and RunTest().
|
inlineoverrideprivatevirtual |
Implements KI_TEST::BOARD_EXPECTATION.
Definition at line 389 of file board_expectations.cpp.
References BOOST_TEST(), BOOST_TEST_CONTEXT(), CheckConstraint(), doSimpleCountTest(), findMatchingNets(), m_Count, m_NamePatterns, and nameMatches().
|
inlineinherited |
Set a comment to be included in the test output for this expectation, which can be used to provide more details about the expectation.
Definition at line 56 of file board_expectations.h.
References m_Comment.
|
privateinherited |
Definition at line 60 of file board_expectations.h.
Referenced by GetComment(), and SetComment().
| std::optional<SCALAR_CONSTRAINT> NET_EXPECTATION::m_Count |
Definition at line 340 of file board_expectations.cpp.
Referenced by doSimpleCountTest(), GetName(), and RunTest().
| std::vector<std::string> NET_EXPECTATION::m_NamePatterns |
Definition at line 341 of file board_expectations.cpp.
Referenced by findMatchingNets(), GetName(), and RunTest().