|
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 <schematic.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 129 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 88 of file test_sch_sheet_path.cpp.
References BOOST_AUTO_TEST_CASE(), and BOOST_CHECK_EQUAL().
| BOOST_AUTO_TEST_CASE | ( | NonEmpty | ) |
Check properties of a non-empty SCH_SHEET_PATH.
Definition at line 109 of file test_sch_sheet_path.cpp.
References BOOST_CHECK_EQUAL(), BOOST_CHECK_PREDICATE(), and KI_TEST::IsUUIDPathWithLevels().
| BOOST_AUTO_TEST_CASE | ( | SheetListGetOrdinalPath | ) |
Definition at line 139 of file test_sch_sheet_path.cpp.
References BOOST_CHECK_EQUAL(), 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 172 of file test_sch_sheet_path.cpp.