KiCad PCB EDA Suite
|
Test suite for multiple top-level sheet functionality. More...
#include <boost/test/unit_test.hpp>
#include <sch_sheet.h>
#include <sch_screen.h>
#include <schematic.h>
#include <project/project_file.h>
#include <settings/settings_manager.h>
#include <pgm_base.h>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (TestVirtualRootCreation) | |
BOOST_AUTO_TEST_CASE (TestAddTopLevelSheet) | |
BOOST_AUTO_TEST_CASE (TestAddMultipleTopLevelSheets) | |
BOOST_AUTO_TEST_CASE (TestRemoveTopLevelSheet) | |
BOOST_AUTO_TEST_CASE (TestBuildSheetListWithMultipleRoots) | |
BOOST_AUTO_TEST_CASE (TestTopLevelSheetInfoSerialization) | |
Test suite for multiple top-level sheet functionality.
Definition in file test_multi_top_level_sheets.cpp.
BOOST_AUTO_TEST_CASE | ( | TestAddMultipleTopLevelSheets | ) |
Definition at line 76 of file test_multi_top_level_sheets.cpp.
References SCHEMATIC::AddTopLevelSheet(), BOOST_CHECK_EQUAL(), SCHEMATIC::GetTopLevelSheets(), EDA_ITEM::m_Uuid, niluuid, SCH_SHEET::SetName(), EDA_ITEM::SetParent(), SCHEMATIC::SetRoot(), and SCH_SHEET::SetScreen().
BOOST_AUTO_TEST_CASE | ( | TestAddTopLevelSheet | ) |
Definition at line 48 of file test_multi_top_level_sheets.cpp.
References SCHEMATIC::AddTopLevelSheet(), BOOST_CHECK_EQUAL(), SCHEMATIC::GetTopLevelSheets(), EDA_ITEM::m_Uuid, niluuid, SCH_SHEET::SetName(), EDA_ITEM::SetParent(), SCHEMATIC::SetRoot(), and SCH_SHEET::SetScreen().
BOOST_AUTO_TEST_CASE | ( | TestBuildSheetListWithMultipleRoots | ) |
Definition at line 145 of file test_multi_top_level_sheets.cpp.
References SCHEMATIC::AddTopLevelSheet(), SCH_SCREEN::Append(), BOOST_CHECK_EQUAL(), SCHEMATIC::Hierarchy(), EDA_ITEM::m_Uuid, niluuid, SCHEMATIC::RefreshHierarchy(), SCH_SHEET::SetFileName(), SCH_SHEET::SetName(), EDA_ITEM::SetParent(), SCHEMATIC::SetRoot(), and SCH_SHEET::SetScreen().
BOOST_AUTO_TEST_CASE | ( | TestRemoveTopLevelSheet | ) |
Definition at line 107 of file test_multi_top_level_sheets.cpp.
References SCHEMATIC::AddTopLevelSheet(), BOOST_CHECK_EQUAL(), SCHEMATIC::GetTopLevelSheets(), EDA_ITEM::m_Uuid, niluuid, SCHEMATIC::RemoveTopLevelSheet(), SCH_SHEET::SetName(), EDA_ITEM::SetParent(), SCHEMATIC::SetRoot(), and SCH_SHEET::SetScreen().
BOOST_AUTO_TEST_CASE | ( | TestTopLevelSheetInfoSerialization | ) |
Definition at line 188 of file test_multi_top_level_sheets.cpp.
References BOOST_CHECK_EQUAL(), TOP_LEVEL_SHEET_INFO::filename, TOP_LEVEL_SHEET_INFO::name, and TOP_LEVEL_SHEET_INFO::uuid.
BOOST_AUTO_TEST_CASE | ( | TestVirtualRootCreation | ) |
Definition at line 36 of file test_multi_top_level_sheets.cpp.
References BOOST_AUTO_TEST_CASE(), SCH_SHEET::GetScreen(), EDA_ITEM::m_Uuid, niluuid, and SCH_SHEET::SetScreen().