KiCad PCB EDA Suite
test_netlists.cpp File Reference

Go to the source code of this file.

Classes

class  TEST_NETLISTS_FIXTURE
 

Functions

static wxString getSchematicFile (const wxString &aBaseName)
 
 BOOST_AUTO_TEST_CASE (FindPlugin)
 
 BOOST_AUTO_TEST_CASE (GlobalPromotion)
 
 BOOST_AUTO_TEST_CASE (GlobalPromotion2)
 
 BOOST_AUTO_TEST_CASE (Video)
 
 BOOST_AUTO_TEST_CASE (ComplexHierarchy)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( FindPlugin  )

Definition at line 214 of file test_netlists.cpp.

215 {
216  BOOST_CHECK_NE( m_pi, nullptr );
217 }

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( GlobalPromotion  )

Definition at line 220 of file test_netlists.cpp.

221 {
222  doNetlistTest( "test_global_promotion" );
223 }

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( GlobalPromotion2  )

Definition at line 226 of file test_netlists.cpp.

227 {
228  doNetlistTest( "test_global_promotion_2" );
229 }

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( Video  )

Definition at line 232 of file test_netlists.cpp.

233 {
234  doNetlistTest( "video" );
235 }

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( ComplexHierarchy  )

Definition at line 238 of file test_netlists.cpp.

239 {
240  doNetlistTest( "complex_hierarchy" );
241 }

◆ getSchematicFile()

static wxString getSchematicFile ( const wxString &  aBaseName)
static

Definition at line 66 of file test_netlists.cpp.

67 {
68  wxFileName fn = KI_TEST::GetEeschemaTestDataDir();
69  fn.AppendDir( "netlists" );
70  fn.AppendDir( aBaseName );
71  fn.SetName( aBaseName );
72  fn.SetExt( KiCadSchematicFileExtension );
73 
74  return fn.GetFullPath();
75 }
wxFileName GetEeschemaTestDataDir()
Get the configured location of Eeschema test data.
const std::string KiCadSchematicFileExtension

References KI_TEST::GetEeschemaTestDataDir(), and KiCadSchematicFileExtension.

Referenced by TEST_NETLISTS_FIXTURE::loadSchematic().