KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_io_mgr.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <boost/test/data/test_case.hpp>
#include <pcbnew_utils/board_test_utils.h>
#include <pcbnew_utils/board_file_utils.h>
#include <pcbnew/pcb_io/pcb_io.h>
#include <pcbnew/pcb_io/pcb_io_mgr.h>

Go to the source code of this file.

Classes

struct  PCB_IO_PLUGIN_CASE
 

Functions

 BOOST_CHECK_EQUAL (PCB_IO_MGR::FindPluginTypeFromBoardPath(dataPath), c.m_expected_type)
 
 BOOST_CHECK_EQUAL (PCB_IO_MGR::GuessPluginTypeFromLibPath(dataPath), c.m_expected_type)
 
 for (auto &entry :pluginEntries)
 

Variables

static const std::vector< PCB_IO_PLUGIN_CASEBoardPluginCases
 
static const std::vector< PCB_IO_PLUGIN_CASELibraryPluginCases
 
auto & pluginEntries = PCB_IO_MGR::PLUGIN_REGISTRY::Instance()->AllPlugins()
 

Function Documentation

◆ BOOST_CHECK_EQUAL() [1/2]

BOOST_CHECK_EQUAL ( PCB_IO_MGR::FindPluginTypeFromBoardPath(dataPath)  ,
c.  m_expected_type 
)

Referenced by for().

◆ BOOST_CHECK_EQUAL() [2/2]

BOOST_CHECK_EQUAL ( PCB_IO_MGR::GuessPluginTypeFromLibPath(dataPath)  ,
c.  m_expected_type 
)

◆ for()

for ( auto &entry :pluginEntries   )

Variable Documentation

◆ BoardPluginCases

const std::vector<PCB_IO_PLUGIN_CASE> BoardPluginCases
static

Definition at line 49 of file test_io_mgr.cpp.

◆ LibraryPluginCases

const std::vector<PCB_IO_PLUGIN_CASE> LibraryPluginCases
static

Definition at line 154 of file test_io_mgr.cpp.

◆ pluginEntries

auto& pluginEntries = PCB_IO_MGR::PLUGIN_REGISTRY::Instance()->AllPlugins()

Definition at line 285 of file test_io_mgr.cpp.