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() );
72 BOOST_REQUIRE( model !=
nullptr );
73 BOOST_TEST_INFO(
"Model: " << model->
m_name );
84 BOOST_REQUIRE( comp !=
nullptr );
86 BOOST_TEST_INFO(
"Component: " << comp->
m_name );
KICAD_PLUGIN_EXPORT SCENEGRAPH * Load(char const *aFileName)
reads a model file and creates a generic display structure
void Report(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_TEST(box.ClosestPointTo(VECTOR2D(0, 0))==VECTOR2D(1, 2))
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(Null)