30std::string GetLibraryPath(
const std::string& aBaseName )
33 fn.SetName( aBaseName );
35 return std::string( fn.GetFullPath().ToUTF8() );
62 std::string
path = GetLibraryPath(
"ibis_v1_1" );
65 BOOST_TEST_INFO(
"Parsed: " <<
path );
66 BOOST_TEST_INFO(
"Reported: " << reporter.
GetMessages() );
73 BOOST_TEST_INFO(
"Model: " << model->
m_name );
86 BOOST_TEST_INFO(
"Component: " << comp->
m_name );
KICAD_PLUGIN_EXPORT SCENEGRAPH * Load(char const *aFileName)
Read a model file and creates a generic display structure.
void Report(const std::string &aMsg, SEVERITY aSeverity=RPT_SEVERITY_INFO) const
Print a message.
std::vector< KIBIS_PIN > m_pins
std::string m_name
Name of the component.
IBIS_MODEL_ENABLE m_enable
bool HasGNDClamp() const
Return true if the model has a clamp diode to the gnd net.
IBIS_MODEL_POLARITY m_polarity
KIBIS_MODEL * GetModel(const std::string &aName)
Return the model with name aName .
KIBIS_COMPONENT * GetComponent(const std::string &aName)
Return the component with name aName .
A wrapper for reporting to a wxString object.
const wxString & GetMessages() const
std::string GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_TEST(contains==c.ExpectedContains)
BOOST_REQUIRE(intersection.has_value()==c.ExpectedIntersection.has_value())
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(Null)