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 "eeschema_test_utils.h"
#include <sch_sheet_path.h>
#include <wildcards_and_files_ext.h>
#include <eeschema_helpers.h>
#include <sch_screen.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 (SheetListGetOrdinalPath)
 
 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/5]

BOOST_AUTO_TEST_CASE ( Compare  )

Definition at line 126 of file test_sch_sheet_path.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( Empty  )

Declare the test suite.

Check properties of an empty SCH_SHEET_PATH

Definition at line 85 of file test_sch_sheet_path.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( NonEmpty  )

Check properties of a non-empty SCH_SHEET_PATH.

Definition at line 106 of file test_sch_sheet_path.cpp.

References KI_TEST::IsUUIDPathWithLevels().

◆ BOOST_AUTO_TEST_CASE() [4/5]

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( SheetPathPageProperties  )

Test sheet path page number properties.

Definition at line 168 of file test_sch_sheet_path.cpp.