KiCad PCB EDA Suite
|
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. | |
Test suite for SCH_SHEET_PATH and SCH_SHEET_LIST.
Definition in file test_sch_sheet_path.cpp.
BOOST_AUTO_TEST_CASE | ( | Compare | ) |
Definition at line 126 of file test_sch_sheet_path.cpp.
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 | ( | 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 | ( | SheetListGetOrdinalPath | ) |
Definition at line 136 of file test_sch_sheet_path.cpp.
References KI_TEST::GetEeschemaTestDataDir(), SCH_SHEET_LIST::GetOrdinalPath(), SCH_SHEET::GetScreen(), EESCHEMA_HELPERS::LoadSchematic(), and FILEEXT::ProjectFileExtension.
BOOST_AUTO_TEST_CASE | ( | SheetPathPageProperties | ) |
Test sheet path page number properties.
Definition at line 168 of file test_sch_sheet_path.cpp.