KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_footprint_load_save.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <boost/test/data/test_case.hpp>
#include <board.h>
#include <kiid.h>
#include <footprint.h>
#include <pcbnew_utils/board_file_utils.h>
#include <pcbnew_utils/board_test_utils.h>
#include <settings/settings_manager.h>

Go to the source code of this file.

Functions

 BOOST_DATA_TEST_CASE (FootprintLoadSave, boost::unit_test::data::make(FootprintLoadSave_testCases), testCase)
 Simple tests cases that load a board file and check expected properties of the footprints.
 

Function Documentation

◆ BOOST_DATA_TEST_CASE()

BOOST_DATA_TEST_CASE ( FootprintLoadSave  ,
boost::unit_test::data::make(FootprintLoadSave_testCases)  ,
testCase   
)

Simple tests cases that load a board file and check expected properties of the footprints.

This is not the same as FpLibLoadSave as it loads board files, and not footprint files from a library.

Definition at line 82 of file test_footprint_load_save.cpp.

References BOOST_CHECK_EQUAL(), BOOST_TEST_MESSAGE(), KI_TEST::LoadAndTestBoardFile(), PCB_FOOTPRINT_T, and KI_TEST::RequireBoardItemWithTypeAndId().