|
KiCad PCB EDA Suite
|
Public Member Functions | |
| SYMBOL_LIBRARY_PARSE_ERROR_FIXTURE () | |
| ~SYMBOL_LIBRARY_PARSE_ERROR_FIXTURE () | |
| wxString | GetTempLibraryPath () |
| void | CreateValidLibrary (const wxString &aPath, int aSymbolCount) |
| Create a valid symbol library file with the specified number of symbols. | |
| void | CorruptLibraryAfterSymbol (const wxString &aPath, int aSymbolNumber) |
| Corrupt the library file by introducing a parse error after the specified symbol. | |
Public Attributes | |
| std::vector< wxString > | m_tempFiles |
Definition at line 44 of file test_symbol_library_parse_error.cpp.
|
inline |
Definition at line 47 of file test_symbol_library_parse_error.cpp.
|
inline |
Definition at line 51 of file test_symbol_library_parse_error.cpp.
References m_tempFiles.
|
inline |
Corrupt the library file by introducing a parse error after the specified symbol.
This simulates a bad merge or file corruption that would cause parsing to fail partway through the library.
Definition at line 119 of file test_symbol_library_parse_error.cpp.
|
inline |
Create a valid symbol library file with the specified number of symbols.
Each symbol is named "Symbol_N" where N is 1, 2, 3, etc.
Definition at line 74 of file test_symbol_library_parse_error.cpp.
|
inline |
Definition at line 61 of file test_symbol_library_parse_error.cpp.
References m_tempFiles.
| std::vector<wxString> SYMBOL_LIBRARY_PARSE_ERROR_FIXTURE::m_tempFiles |
Definition at line 150 of file test_symbol_library_parse_error.cpp.
Referenced by GetTempLibraryPath(), and ~SYMBOL_LIBRARY_PARSE_ERROR_FIXTURE().