|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <tools/ee_grid_helper.h>#include <lib_symbol.h>#include <sch_text.h>#include <sch_line.h>#include <sch_pin.h>#include <sch_shape.h>#include <sch_junction.h>#include <sch_symbol.h>#include <layer_ids.h>Go to the source code of this file.
Classes | |
| class | EEGridHelperTestFixture |
Macros | |
| #define | BOOST_TEST_NO_MAIN |
Functions | |
| BOOST_AUTO_TEST_CASE (ItemGridClassification) | |
| BOOST_AUTO_TEST_CASE (SymbolLayoutBoundsIgnoreFields) | |
| BOOST_AUTO_TEST_CASE (SymbolLayoutPinsReportEveryPin) | |
| #define BOOST_TEST_NO_MAIN |
Definition at line 18 of file test_ee_grid_helper.cpp.
| BOOST_AUTO_TEST_CASE | ( | ItemGridClassification | ) |
Definition at line 44 of file test_ee_grid_helper.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), EE_GRID_HELPER::GetItemGrid(), GRID_GRAPHICS, GRID_TEXT, GRID_WIRES, LAYER_NOTES, LAYER_WIRE, and text.
| BOOST_AUTO_TEST_CASE | ( | SymbolLayoutBoundsIgnoreFields | ) |
Definition at line 83 of file test_ee_grid_helper.cpp.
References SCH_SYMBOL::GetBodyAndPinsBoundingBox(), SCH_SYMBOL::GetBoundingBox(), SCH_SYMBOL::GetField(), EEGridHelperTestFixture::LayoutBounds(), REFERENCE, and SCH_FIELD::SetPosition().
| BOOST_AUTO_TEST_CASE | ( | SymbolLayoutPinsReportEveryPin | ) |
Definition at line 95 of file test_ee_grid_helper.cpp.
References BOOST_CHECK_EQUAL(), EEGridHelperTestFixture::LayoutPins(), pin, SCH_PIN::SetPosition(), and SCH_SYMBOL::UpdatePins().