19#include <wx/filename.h>
26 std::unique_ptr<SCHEMATIC> schematic;
35 wxString saved = wxFileName::CreateTempFileName( wxS(
"kicad_issue25869" ) );
39 wxFFile( saved ).ReadAll( &contents );
40 wxRemoveFile( saved );
42 BOOST_CHECK( contents.Contains( wxS(
"(symbol \"vo_lib:R_ALT\"" ) ) );
void LoadProjectTables(std::initializer_list< LIBRARY_TABLE_TYPE > aTablesToLoad={})
(Re)loads the project library tables in the given list, or all tables if no list is given
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
virtual LIBRARY_MANAGER & GetLibraryManager() const
A SCH_IO derivation for loading schematic files using the new s-expression file format.
void SaveSchematicFile(const wxString &aFileName, SCH_SHEET *aSheet, SCHEMATIC *aSchematic, const std::map< std::string, UTF8 > *aProperties=nullptr) override
Write aSchematic to a storage file in a format that this SCH_IO implementation knows about,...
void LoadSchematic(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< SCHEMATIC > &aSchematic)
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
PGM_BASE & Pgm()
The global program "get" accessor.
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_CASE(Issue25869_VariantAlternateInLibSymbols)