KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_sym_lib_differ.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <schematic_utils/schematic_file_util.h>
#include <diff_merge/sym_lib_differ.h>
#include <diff_merge/kicad_diff_types.h>
#include <diff_merge/sch_geometry_extractor.h>
#include <lib_symbol.h>
#include <sch_item.h>
#include <sch_pin.h>
#include <sch_shape.h>
#include <nlohmann/json.hpp>
#include <wx/filename.h>

Go to the source code of this file.

Functions

static wxString getFixturePath ()
 
 BOOST_AUTO_TEST_CASE (IdenticalLibrariesDiffEmpty)
 
 BOOST_AUTO_TEST_CASE (SymbolNameOnlyInBeforeShowsRemoved)
 
 BOOST_AUTO_TEST_CASE (SymbolChangesCarryDrawableBBoxes)
 
 BOOST_AUTO_TEST_CASE (ExtractSymbolGeometryProducesDrawableContext)
 
 BOOST_AUTO_TEST_CASE (DiffJsonRoundTrip)
 
 BOOST_AUTO_TEST_CASE (LibraryItemKiidPathIsDeterministicForSameName)
 
 BOOST_AUTO_TEST_CASE (LibraryItemKiidPathDiffersForDifferentNames)
 
 BOOST_AUTO_TEST_CASE (MultipleSymbolRemovalsAllEmitChanges)
 
 BOOST_AUTO_TEST_CASE (OutputOrderingIsDeterministicAcrossRuns)
 
 BOOST_AUTO_TEST_CASE (ModifiedSymbolCarriesPinChildDelta)
 
 BOOST_AUTO_TEST_CASE (PinNameChangeIsDetected)
 
 BOOST_AUTO_TEST_CASE (AddedGraphicYieldsSingleAddedElement)
 
 BOOST_AUTO_TEST_CASE (DerivedSymbolKeepsResolvedParentAfterLoad)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/13]

◆ BOOST_AUTO_TEST_CASE() [2/13]

BOOST_AUTO_TEST_CASE ( DerivedSymbolKeepsResolvedParentAfterLoad )

◆ BOOST_AUTO_TEST_CASE() [3/13]

◆ BOOST_AUTO_TEST_CASE() [4/13]

◆ BOOST_AUTO_TEST_CASE() [5/13]

BOOST_AUTO_TEST_CASE ( IdenticalLibrariesDiffEmpty )

◆ BOOST_AUTO_TEST_CASE() [6/13]

BOOST_AUTO_TEST_CASE ( LibraryItemKiidPathDiffersForDifferentNames )

Definition at line 163 of file test_sym_lib_differ.cpp.

References KICAD_DIFF::LibraryItemKiidPath().

◆ BOOST_AUTO_TEST_CASE() [7/13]

BOOST_AUTO_TEST_CASE ( LibraryItemKiidPathIsDeterministicForSameName )

Definition at line 152 of file test_sym_lib_differ.cpp.

References KICAD_DIFF::LibraryItemKiidPath().

◆ BOOST_AUTO_TEST_CASE() [8/13]

◆ BOOST_AUTO_TEST_CASE() [9/13]

◆ BOOST_AUTO_TEST_CASE() [10/13]

BOOST_AUTO_TEST_CASE ( OutputOrderingIsDeterministicAcrossRuns )

◆ BOOST_AUTO_TEST_CASE() [11/13]

◆ BOOST_AUTO_TEST_CASE() [12/13]

◆ BOOST_AUTO_TEST_CASE() [13/13]

BOOST_AUTO_TEST_CASE ( SymbolNameOnlyInBeforeShowsRemoved )

◆ getFixturePath()