|
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 <jumper_group.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 (JumperPinGroupStackedPinMember, JUMPER_PIN_GROUP_FIXTURE) | |
| BOOST_FIXTURE_TEST_CASE (JumperPinGroupAllContactsOfOnePin, 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 294 of file test_issue23058_jumper_pin_groups.cpp.
References dummy, and KI_TEST::LoadSchematic().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupAllContactsOfOnePin | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 247 of file test_issue23058_jumper_pin_groups.cpp.
References JUMPER_GROUP_SET::Add(), LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), BOOST_REQUIRE(), SCH_ITEM::ConnectedItems(), LIB_SYMBOL::GetLibId(), SCH_SYMBOL::GetPin(), LIB_SYMBOL::JumperPinGroups(), JUMPER_GROUP::Make(), path, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupAllInvalid | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 100 of file test_issue23058_jumper_pin_groups.cpp.
References JUMPER_GROUP_SET::Add(), LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), LIB_SYMBOL::GetLibId(), LIB_SYMBOL::JumperPinGroups(), JUMPER_GROUP::Make(), path, pin1, PT_PASSIVE, and SCH_SYMBOL::UpdatePins().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupOutOfBounds | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 64 of file test_issue23058_jumper_pin_groups.cpp.
References JUMPER_GROUP_SET::Add(), LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), LIB_SYMBOL::GetLibId(), LIB_SYMBOL::JumperPinGroups(), JUMPER_GROUP::Make(), path, pin1, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().
| BOOST_FIXTURE_TEST_CASE | ( | JumperPinGroupStackedPinMember | , |
| JUMPER_PIN_GROUP_FIXTURE | ) |
Definition at line 192 of file test_issue23058_jumper_pin_groups.cpp.
References JUMPER_GROUP_SET::Add(), LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), BOOST_REQUIRE(), SCH_ITEM::ConnectedItems(), LIB_SYMBOL::GetLibId(), SCH_SYMBOL::GetPin(), LIB_SYMBOL::JumperPinGroups(), JUMPER_GROUP::Make(), 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 129 of file test_issue23058_jumper_pin_groups.cpp.
References JUMPER_GROUP_SET::Add(), LIB_SYMBOL::AddDrawItem(), SCH_SCREEN::Append(), BOOST_REQUIRE(), SCH_ITEM::ConnectedItems(), LIB_SYMBOL::GetLibId(), SCH_SYMBOL::GetPin(), LIB_SYMBOL::JumperPinGroups(), JUMPER_GROUP::Make(), path, pin1, pin3, PT_PASSIVE, SCH_PIN::SetNumber(), SCH_PIN::SetPosition(), SCH_PIN::SetType(), and SCH_SYMBOL::UpdatePins().