KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_zone.cpp File Reference

Go to the source code of this file.

Classes

struct  ZONE_TEST_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (SingleLayer)
 
 BOOST_AUTO_TEST_CASE (MultipleLayers)
 
 BOOST_AUTO_TEST_CASE (RescuedLayers)
 During zone loading, the layer is set to Rescue if the layer is not found.
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/3]

BOOST_AUTO_TEST_CASE ( MultipleLayers  )

◆ BOOST_AUTO_TEST_CASE() [2/3]

BOOST_AUTO_TEST_CASE ( RescuedLayers  )

During zone loading, the layer is set to Rescue if the layer is not found.

This is not a UI-visible layer, so make sure it can still be retreived.

https://gitlab.com/kicad/code/kicad/-/issues/18553

Definition at line 71 of file test_zone.cpp.

References BOOST_TEST(), ZONE::GetFirstLayer(), ZONE::GetLayer(), ZONE::IsOnCopperLayer(), Rescue, and ZONE::SetLayer().

◆ BOOST_AUTO_TEST_CASE() [3/3]

BOOST_AUTO_TEST_CASE ( SingleLayer  )