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

Test suite for SCH_SHEET_PATH and SCH_SHEET_LIST. More...

#include <qa_utils/uuid_test_utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <sch_sheet_path.h>
#include <sch_sheet.h>
#include <sstream>

Go to the source code of this file.

Classes

class  TEST_SCH_SHEET_PATH_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (Empty)
 Declare the test suite.
 
 BOOST_AUTO_TEST_CASE (NonEmpty)
 Check properties of a non-empty SCH_SHEET_PATH.
 
 BOOST_AUTO_TEST_CASE (Compare)
 
 BOOST_AUTO_TEST_CASE (SheetPathPageProperties)
 Test sheet path page number properties.
 

Detailed Description

Test suite for SCH_SHEET_PATH and SCH_SHEET_LIST.

Definition in file test_sch_sheet_path.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( Compare  )

Definition at line 122 of file test_sch_sheet_path.cpp.

References BOOST_CHECK().

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( Empty  )

Declare the test suite.

Check properties of an empty SCH_SHEET_PATH

Definition at line 81 of file test_sch_sheet_path.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( NonEmpty  )

Check properties of a non-empty SCH_SHEET_PATH.

Definition at line 102 of file test_sch_sheet_path.cpp.

References KI_TEST::IsUUIDPathWithLevels().

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( SheetPathPageProperties  )

Test sheet path page number properties.

Definition at line 135 of file test_sch_sheet_path.cpp.