67 static std::unique_ptr<BOARD_EXPECTATION_TEST>
CreateFromJson(
const std::string& aBrdName,
68 const nlohmann::json& aBrdExpectations );
Information pertinent to a Pcbnew printed circuit board.
std::vector< std::unique_ptr< BOARD_EXPECTATION > > m_expectations
BOARD_EXPECTATION_TEST(const std::string &aBrdName)
static std::unique_ptr< BOARD_EXPECTATION_TEST > CreateFromJson(const std::string &aBrdName, const nlohmann::json &aBrdExpectations)
void RunTest(const BOARD &aBrd) const
Runs the test against the given board.
A single expectation about a board, which can be run as a test against a parsed BOARD.
virtual std::string GetName() const =0
virtual void RunTest(const BOARD &aBrd) const =0
virtual ~BOARD_EXPECTATION()=default