|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include "pcbnew_utils/board_expectations.h"#include <optional>#include <board.h>Go to the source code of this file.
Classes | |
| class | INT_MATCHER |
| Simple binary expectation that checks if an integer value meets the expectation (exact, at least, at most). More... | |
| class | STRING_PATTERN_MATCHER |
| Glob-like pattern matcher for strings, supporting '*' and '? More... | |
| class | FOOTPRINT_EXPECTATION |
| class | NET_EXPECTATION |
| class | LAYER_EXPECTATION |
Functions | |
| static std::unique_ptr< BOARD_EXPECTATION > | createFootprintExpectation (const nlohmann::json &aExpectationEntry) |
| static std::vector< std::string > | getStringArray (const nlohmann::json &aJson) |
| static std::unique_ptr< BOARD_EXPECTATION > | createNetExpectation (const nlohmann::json &aExpectationEntry) |
| static std::unique_ptr< BOARD_EXPECTATION > | createLayerExpectation (const nlohmann::json &aExpectationEntry) |
|
static |
Definition at line 344 of file board_expectations.cpp.
References INT_MATCHER::FromJson().
Referenced by KI_TEST::BOARD_EXPECTATION_TEST::CreateFromJson().
|
static |
Definition at line 408 of file board_expectations.cpp.
References INT_MATCHER::Exact(), INT_MATCHER::FromJson(), and getStringArray().
Referenced by KI_TEST::BOARD_EXPECTATION_TEST::CreateFromJson().
|
static |
Definition at line 388 of file board_expectations.cpp.
References INT_MATCHER::FromJson(), and getStringArray().
Referenced by KI_TEST::BOARD_EXPECTATION_TEST::CreateFromJson().
|
static |
Definition at line 359 of file board_expectations.cpp.
References result.
Referenced by createLayerExpectation(), and createNetExpectation().