42    wxString 
path = fn.GetFullPath();
 
   45    return wxFileName( 
path );
 
 
   54    LoadSchematic( SchematicQAPath( 
"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( SchematicQAPath( 
"schematic_object_tests/shared_by_multiple_projects/" 
   62                                     "project_a/project_a" ) );
 
   64    sharedScreens = m_schematic->GetSchematicsSharedByMultipleProjects();
 
   66    BOOST_CHECK( !sharedScreens.empty() );
 
 
   72    LoadSchematic( SchematicQAPath( 
"netlists/group_bus_matching/group_bus_matching" ) );
 
   74    BOOST_CHECK( !m_schematic->IsComplexHierarchy() );
 
   76    LoadSchematic( SchematicQAPath( 
"netlists/complex_hierarchy/complex_hierarchy" ) );
 
   78    BOOST_CHECK( m_schematic->IsComplexHierarchy() );
 
 
A generic fixture for loading schematics and associated settings for qa tests.
 
wxFileName SchematicQAPath(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_CASE(HorizontalAlignment)
 
BOOST_AUTO_TEST_SUITE_END()
 
BOOST_AUTO_TEST_CASE(TestSchematicSharedByMultipleProjects)
 
Definition of file extensions used in Kicad.