46 std::vector<wxString> tests = {
"issue18",
59 auto savePath = std::filesystem::temp_directory_path() /
"group_saveload_tst.kicad_pcb";
61 for(
const wxString& relPath : tests )
63 BOOST_TEST_CONTEXT( relPath )
General utilities for PCB file IO for QA programs.
void LoadBoard(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< BOARD > &aBoard)
std::unique_ptr< BOARD > ReadBoardFromFileOrStream(const std::string &aFilename, std::istream &aFallback)
Read a board from a file, or another stream, as appropriate.
void DumpBoardToFile(BOARD &board, const std::string &aFilename)
Utility function to simply write a Board out to a file.
std::unique_ptr< BOARD > m_board
SETTINGS_MANAGER m_settingsManager
BOOST_FIXTURE_TEST_CASE(RegressionSaveLoadTests, SAVE_LOAD_TEST_FIXTURE)