42 wxString
path = fn.GetFullPath();
45 return wxFileName(
path );
54 LoadSchematic(
"schematic_object_tests/not_shared_by_multiple_projects/"
55 "not_shared_by_multiple_projects" );
57 std::set<const SCH_SCREEN*> sharedScreens = m_schematic.GetSchematicsSharedByMultipleProjects();
59 BOOST_CHECK( sharedScreens.empty() );
61 LoadSchematic(
"schematic_object_tests/shared_by_multiple_projects/project_a/project_a" );
63 sharedScreens = m_schematic.GetSchematicsSharedByMultipleProjects();
65 BOOST_CHECK( !sharedScreens.empty() );
71 LoadSchematic(
"netlists/group_bus_matching/group_bus_matching" );
73 BOOST_CHECK( !m_schematic.IsComplexHierarchy() );
75 LoadSchematic(
"netlists/complex_hierarchy/complex_hierarchy" );
77 BOOST_CHECK( m_schematic.IsComplexHierarchy() );
A generic fixture for loading schematics and associated settings for qa tests.
wxFileName GetSchematicPath(const wxString &aRelativePath) override
static const std::string KiCadSchematicFileExtension
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
static void LoadSchematic(SCHEMATIC *aSchematic, SCH_SHEET *aRootSheet, const wxString &aFileName)
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(TestSchematicSharedByMultipleProjects)
Definition of file extensions used in Kicad.