|
KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>#include <schematic_utils/schematic_file_util.h>#include <connection_graph.h>#include <schematic.h>#include <sch_sheet.h>#include <sch_screen.h>#include <settings/settings_manager.h>#include <lib_symbol.h>#include <sch_pin.h>#include <sch_symbol.h>#include <locale_io.h>Go to the source code of this file.
Classes | |
| struct | JUMPER_PIN_GROUP_FIXTURE |
| Test for issue #23058: Jumper pin groups with out-of-bounds pin numbers cause crash. More... | |
Functions | |
| BOOST_FIXTURE_TEST_CASE (JumperPinGroupOutOfBounds, JUMPER_PIN_GROUP_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (JumperPinGroupAllInvalid, JUMPER_PIN_GROUP_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (JumperPinGroupValidPins, JUMPER_PIN_GROUP_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (Issue23058FileLoad, JUMPER_PIN_GROUP_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE | ( | Issue23058FileLoad | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 204 of file test_issue23058_jumper_pin_groups.cpp.
References dummy, and KI_TEST::LoadSchematic().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupAllInvalid | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 106 of file test_issue23058_jumper_pin_groups.cpp.
References LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), LIB_SYMBOL::GetLibId(), group, LIB_SYMBOL::JumperPinGroups(), path, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupOutOfBounds | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 67 of file test_issue23058_jumper_pin_groups.cpp.
References LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), LIB_SYMBOL::GetLibId(), group, LIB_SYMBOL::JumperPinGroups(), path, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupValidPins | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 138 of file test_issue23058_jumper_pin_groups.cpp.
References LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), BOOST_REQUIRE(), SCH_ITEM::ConnectedItems(), LIB_SYMBOL::GetLibId(), SCH_SYMBOL::GetPin(), group, LIB_SYMBOL::JumperPinGroups(), path, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().