KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
struct | ExtWildcardFilterCase |
Data used to construct a simple test of one or more extensions and get a filter string for WX dialogs out. More... | |
struct | testExtensions |
Functions | |
static constexpr bool | should_use_regex_filters () |
BOOST_AUTO_TEST_CASE (FileNameComparison) | |
Check correct comparison of file names. | |
BOOST_AUTO_TEST_CASE (BasicFilter) | |
Check correct handling of filter strings (as used by WX) | |
static constexpr bool | should_use_windows_filters () |
BOOST_AUTO_TEST_CASE (AllFilesFilter) | |
Variables | |
static const std::vector< ExtWildcardFilterCase > | ext_wildcard_cases |
static const std::vector< std::string > | extensionList = { "dxf", "svg", "SCH", "^g.*" } |
static const std::vector< testExtensions > | testExtensionList |
BOOST_AUTO_TEST_CASE | ( | AllFilesFilter | ) |
Definition at line 149 of file test_wildcards_and_files_ext.cpp.
References AddFileExtListToFilter(), and should_use_windows_filters().
BOOST_AUTO_TEST_CASE | ( | BasicFilter | ) |
Check correct handling of filter strings (as used by WX)
Definition at line 127 of file test_wildcards_and_files_ext.cpp.
References AddFileExtListToFilter(), ext_wildcard_cases, and should_use_regex_filters().
BOOST_AUTO_TEST_CASE | ( | FileNameComparison | ) |
Check correct comparison of file names.
Definition at line 108 of file test_wildcards_and_files_ext.cpp.
References compareFileExtensions(), extensionList, and testExtensionList.
|
staticconstexpr |
Definition at line 63 of file test_wildcards_and_files_ext.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
staticconstexpr |
Definition at line 140 of file test_wildcards_and_files_ext.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 49 of file test_wildcards_and_files_ext.cpp.
Referenced by BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 81 of file test_wildcards_and_files_ext.cpp.
Referenced by PROJECT_ARCHIVER::Archive(), and BOOST_AUTO_TEST_CASE().
|
static |
Definition at line 82 of file test_wildcards_and_files_ext.cpp.
Referenced by BOOST_AUTO_TEST_CASE().