KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_board_item.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <eda_item_test_utils.h>
#include <core/typeinfo.h>
#include <drc/drc_item.h>
#include <board.h>
#include <board_item.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_shape.h>
#include <pcb_barcode.h>
#include <pcb_text.h>
#include <pcb_textbox.h>
#include <pcb_table.h>
#include <pcb_tablecell.h>
#include <pcb_reference_image.h>
#include <zone.h>
#include <pcb_track.h>
#include <pcb_marker.h>
#include <pcb_dimension.h>
#include <pcb_point.h>
#include <pcb_target.h>
#include <pcb_group.h>
#include <pcb_board_outline.h>
#include <properties/property.h>
#include <properties/property_mgr.h>

Go to the source code of this file.

Classes

class  TEST_BOARD_ITEM_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (Type)
 
 BOOST_AUTO_TEST_CASE (Move)
 
 BOOST_AUTO_TEST_CASE (Rotate)
 
 BOOST_AUTO_TEST_CASE (FlipLeftRight)
 
 BOOST_AUTO_TEST_CASE (FlipUpDown)
 
 BOOST_AUTO_TEST_CASE (Issue23234_CustomPadstackFlip)
 Regression test for issue #23234: Changing padstack mode to Custom on a flipped footprint's pad and pressing OK caused an "Unhandled exception" (std::out_of_range) because PADSTACK::CopperLayer( F_Cu ) fell through to m_copperProps.at( ALL_LAYERS ) after FlipLayers() had renamed the F_Cu key to B_Cu.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( FlipLeftRight )

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( FlipUpDown )

◆ BOOST_AUTO_TEST_CASE() [3/6]

BOOST_AUTO_TEST_CASE ( Issue23234_CustomPadstackFlip )

Regression test for issue #23234: Changing padstack mode to Custom on a flipped footprint's pad and pressing OK caused an "Unhandled exception" (std::out_of_range) because PADSTACK::CopperLayer( F_Cu ) fell through to m_copperProps.at( ALL_LAYERS ) after FlipLayers() had renamed the F_Cu key to B_Cu.

Definition at line 355 of file test_board_item.cpp.

References PADSTACK::ALL_LAYERS, CIRCLE, PADSTACK::CUSTOM, F_Cu, pad, BASE_SET::set(), SMD, and TOP_BOTTOM.

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( Move )

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( Rotate )

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( Type )