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

This file contains unit tests for the SCHEMATIC object. More...

#include <qa_utils/wx_utils/unit_test_utils.h>
#include "eeschema_test_utils.h"
#include <lib_symbol.h>
#include <sch_screen.h>
#include <sch_symbol.h>
#include <schematic.h>
#include <bus_alias.h>
#include <project.h>
#include <project/project_file.h>
#include <wildcards_and_files_ext.h>

Go to the source code of this file.

Classes

class  TEST_SCHEMATIC_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (TestSchematicSharedByMultipleProjects)
 
 BOOST_AUTO_TEST_CASE (TestSchematicIsComplexHierarchy)
 
 BOOST_AUTO_TEST_CASE (BusAliasesKeepLastDefinitionAcrossReset)
 
 BOOST_AUTO_TEST_CASE (DestructionReleasesSharedHierarchySymbols)
 

Detailed Description

This file contains unit tests for the SCHEMATIC object.

Definition in file test_schematic.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( BusAliasesKeepLastDefinitionAcrossReset )

Definition at line 88 of file test_schematic.cpp.

References BOOST_REQUIRE(), and LoadSchematic().

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( DestructionReleasesSharedHierarchySymbols )

Definition at line 122 of file test_schematic.cpp.

References BOOST_REQUIRE(), LoadSchematic(), path, and SCH_SYMBOL_T.

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( TestSchematicIsComplexHierarchy )

Definition at line 76 of file test_schematic.cpp.

References LoadSchematic().

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( TestSchematicSharedByMultipleProjects )

Definition at line 58 of file test_schematic.cpp.

References BOOST_AUTO_TEST_CASE(), and LoadSchematic().