48    wxString 
path = fn.GetFullPath();
 
   51    return wxFileName( 
path );
 
 
   66    LoadSchematic( SchematicQAPath( 
"schematic_object_tests/not_shared_by_multiple_projects/" 
   67                                    "not_shared_by_multiple_projects" ) );
 
   70    wxFileName testFn( m_schematic->RootScreen()->GetFileName() );
 
   73    testFn.SetName( 
"test" );
 
   78    testFn.AppendDir( 
"sch" );
 
   83    testFn.RemoveLastDir();
 
   84    testFn.RemoveLastDir();
 
   89    testFn.SetPath( 
"/home/foo/kicad" );
 
   91    wxFileName projectFn( m_schematic->Project().GetProjectFullName() );
 
   94    BOOST_CHECK( testFn.GetDirCount() < projectFn.GetDirCount() );
 
   98    while( projectFn.GetDirCount() != testFn.GetDirCount() )
 
  100        testFn.AppendDir( wxString::Format( wxS( 
"subdir%d" ), subDirCount ) );
 
 
  114    LoadSchematic( SchematicQAPath( 
"schematic_object_tests/not_shared_by_multiple_projects/" 
  115                                    "not_shared_by_multiple_projects" ) );
 
  117    const SCH_SCREEN* rootScreen = m_schematic->RootScreen();
 
 
A generic fixture for loading schematics and associated settings for qa tests.
 
bool HasInstanceDataFromOtherProjects() const
Check symbols for instance data from other projects.
 
void SetFileName(const wxString &aFileName)
Set the file name for this screen to aFileName.
 
bool InProjectPath() const
Check if the schematic file is in the current project path.
 
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(TestInProjectPath)
Declare the test suite.
 
Test utilities for timestamps.
 
Definition of file extensions used in Kicad.