27#include <boost/test/unit_test.hpp>
40#include <wx/filename.h>
48 projectPath.AppendDir(
"issue25469" );
49 projectPath.SetName(
"issue25469" );
53 m_schematic = std::make_unique<SCHEMATIC>(
nullptr );
75 dataDir.AppendDir(
"issue25469" );
79 BOOST_REQUIRE_MESSAGE( rootFile.FileExists(),
80 "Test data missing: " + rootFile.GetFullPath().ToStdString() );
86 m_schematic.get() ) );
91 int unnamedPinCount = 0;
99 if(
pin->GetText().IsEmpty() )
EE_TYPE OfType(KICAD_T aType) const
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
A SCH_IO derivation for loading schematic files using the new s-expression file format.
SCH_SHEET * LoadSchematicFile(const wxString &aFileName, SCHEMATIC *aSchematic, SCH_SHEET *aAppendToMe=nullptr, const std::map< std::string, UTF8 > *aProperties=nullptr) override
Load information from some input file format that this SCH_IO implementation knows about,...
Base class for any item which can be embedded within the SCHEMATIC container class,...
EE_RTREE & Items()
Get the full RTree, usually for iterating.
Define a sheet pin (label) used in sheets to create hierarchical schematics.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
SCH_SCREEN * GetScreen() const
static const std::string ProjectFileExtension
static const std::string KiCadSchematicFileExtension
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
std::vector< FAB_LAYER_COLOR > dummy
SETTINGS_MANAGER m_settingsManager
std::unique_ptr< SCHEMATIC > m_schematic
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_SUITE_END()
BOOST_CHECK_EQUAL(result, "25.4")
Definition of file extensions used in Kicad.