KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_project_name_instances.cpp File Reference

Test that symbol and sheet instances are saved with the correct project name, not an empty string. More...

#include <boost/test/unit_test.hpp>
#include <eeschema_test_utils.h>
#include <sch_io/kicad_sexpr/sch_io_kicad_sexpr.h>
#include <sch_screen.h>
#include <sch_sheet.h>
#include <sch_symbol.h>
#include <schematic.h>
#include <kiid.h>
#include <locale_io.h>
#include <settings/settings_manager.h>
#include <wx/filename.h>
#include <wx/stdpaths.h>
#include <wx/textfile.h>

Go to the source code of this file.

Classes

struct  PROJECT_NAME_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (SymbolInstanceProjectName)
 Test that symbol instances are saved with the current project name, not an empty string, when using the virtual root pattern.
 

Detailed Description

Test that symbol and sheet instances are saved with the correct project name, not an empty string.

Regression test for the virtual root project name bug.

Definition in file test_project_name_instances.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( SymbolInstanceProjectName )