KiCad PCB EDA Suite
|
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <import_gfx/graphics_import_mgr.h>
#include <import_gfx/graphics_import_plugin.h>
#include <regex>
Go to the source code of this file.
Classes | |
struct | TYPE_TO_EXTS |
Functions | |
static bool | pluginHandlesExt (const GRAPHICS_IMPORT_PLUGIN &aPlugin, const std::string &aExt) |
Declares a struct as the Boost test fixture. | |
BOOST_AUTO_TEST_CASE (SelectByType) | |
Check we can look a plugin up by type and get the right one. | |
BOOST_AUTO_TEST_CASE (SelectByExt) | |
Check we can look a plugin up by ext and get the right one. | |
Variables | |
static const std::vector< TYPE_TO_EXTS > | type_to_ext_cases |
BOOST_AUTO_TEST_CASE | ( | SelectByExt | ) |
Check we can look a plugin up by ext and get the right one.
Definition at line 103 of file test_graphics_import_mgr.cpp.
References GRAPHICS_IMPORT_MGR::GetPluginByExt(), and type_to_ext_cases.
BOOST_AUTO_TEST_CASE | ( | SelectByType | ) |
Check we can look a plugin up by type and get the right one.
Definition at line 79 of file test_graphics_import_mgr.cpp.
References GRAPHICS_IMPORT_MGR::GetPlugin(), pluginHandlesExt(), and type_to_ext_cases.
|
static |
Declares a struct as the Boost test fixture.
Definition at line 36 of file test_graphics_import_mgr.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 63 of file test_graphics_import_mgr.cpp.
Referenced by BOOST_AUTO_TEST_CASE().