| 
    KiCad PCB EDA Suite
    
   | 
 
#include <qa_utils/wx_utils/unit_test_utils.h>#include <pcbnew_utils/board_test_utils.h>#include <board.h>#include <zone.h>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.   | |
| BOOST_AUTO_TEST_CASE | ( | MultipleLayers | ) | 
Definition at line 51 of file test_zone.cpp.
References B_Cu, BOOST_TEST(), F_Cu, ZONE::GetFirstLayer(), ZONE::GetLayer(), ZONE::IsOnCopperLayer(), ZONE::SetLayerSet(), and UNDEFINED_LAYER.
| 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 | ( | SingleLayer | ) | 
Definition at line 39 of file test_zone.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_TEST(), F_Cu, ZONE::GetFirstLayer(), ZONE::GetLayer(), ZONE::IsOnCopperLayer(), and ZONE::SetLayer().