KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_api_proto.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <import_export.h>
#include <qa_utils/wx_utils/wx_assert.h>
#include <pcbnew_utils/board_test_utils.h>
#include <settings/settings_manager.h>
#include <google/protobuf/any.pb.h>
#include <api/board/board_types.pb.h>
#include <board.h>
#include <footprint.h>
#include <pcb_dimension.h>
#include <pcb_track.h>
#include <zone.h>

Go to the source code of this file.

Classes

struct  PROTO_TEST_FIXTURE
 

Functions

template<typename ProtoClass , typename KiCadClass , typename ParentClass >
void testProtoFromKiCadObject (KiCadClass *aInput, ParentClass *aParent, bool aStrict=true)
 
 BOOST_FIXTURE_TEST_CASE (BoardTypes, PROTO_TEST_FIXTURE)
 
 BOOST_FIXTURE_TEST_CASE (Padstacks, PROTO_TEST_FIXTURE)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( Padstacks  ,
PROTO_TEST_FIXTURE   
)

Definition at line 166 of file test_api_proto.cpp.

References KI_TEST::LoadBoard(), and PCB_VIA_T.

◆ testProtoFromKiCadObject()

template<typename ProtoClass , typename KiCadClass , typename ParentClass >
void testProtoFromKiCadObject ( KiCadClass *  aInput,
ParentClass *  aParent,
bool  aStrict = true 
)

Definition at line 51 of file test_api_proto.cpp.