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_track.h>
#include <zone.h>

Go to the source code of this file.

Classes

struct  PROTO_TEST_FIXTURE
 

Functions

template<typename ProtoClass , typename KiCadClass >
void testProtoFromKiCadObject (KiCadClass *aInput)
 
 BOOST_FIXTURE_TEST_CASE (BoardTypes, PROTO_TEST_FIXTURE)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE()

BOOST_FIXTURE_TEST_CASE ( BoardTypes  ,
PROTO_TEST_FIXTURE   
)

Definition at line 88 of file test_api_proto.cpp.

References KI_TEST::LoadBoard(), PCB_ARC_T, PCB_TRACE_T, and PCB_VIA_T.

◆ testProtoFromKiCadObject()

template<typename ProtoClass , typename KiCadClass >
void testProtoFromKiCadObject ( KiCadClass *  aInput)

Definition at line 50 of file test_api_proto.cpp.

References BOOST_TEST_CONTEXT.