KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_sch_differ.cpp File Reference
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <schematic_utils/schematic_file_util.h>
#include <diff_merge/sch_differ.h>
#include <diff_merge/kicad_diff_types.h>
#include <diff_merge/sch_geometry_extractor.h>
#include <schematic.h>
#include <schematic_settings.h>
#include <erc/erc_settings.h>
#include <sch_sheet_path.h>
#include <sch_screen.h>
#include <sch_symbol.h>
#include <sch_field.h>
#include <sch_sheet.h>
#include <settings/settings_manager.h>
#include <project.h>
#include <project/project_file.h>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Classes

struct  SCH_DIFFER_FIXTURE
 

Functions

 BOOST_AUTO_TEST_CASE (TwoFreshLoadsAreIdentical)
 
 BOOST_AUTO_TEST_CASE (SymbolFieldEditSurfacesAsProperty)
 
 BOOST_AUTO_TEST_CASE (DiffIsDeterministic)
 
 BOOST_AUTO_TEST_CASE (DiffJsonRoundTrip)
 
static const ITEM_CHANGEfindRootDocLevelChange (const DOCUMENT_DIFF &aDiff)
 
static const PROPERTY_DELTAfindProperty (const ITEM_CHANGE &aChange, const wxString &aName)
 
 BOOST_AUTO_TEST_CASE (ModifiedSymbolTypeNameIsSchSymbol)
 
 BOOST_AUTO_TEST_CASE (DrawingSheetFilePathEditEmitsDocLevelDelta)
 
 BOOST_AUTO_TEST_CASE (MultiSheetDiffJsonIsDeterministic)
 
 BOOST_AUTO_TEST_CASE (SubSheetSymbolKiidPathIncludesSheetPrefix)
 
 BOOST_AUTO_TEST_CASE (ExtractSchematicGeometryProducesDrawableContext)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

◆ BOOST_AUTO_TEST_CASE() [2/9]

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( DrawingSheetFilePathEditEmitsDocLevelDelta )

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( ExtractSchematicGeometryProducesDrawableContext )

◆ BOOST_AUTO_TEST_CASE() [5/9]

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( MultiSheetDiffJsonIsDeterministic )

◆ BOOST_AUTO_TEST_CASE() [7/9]

◆ BOOST_AUTO_TEST_CASE() [8/9]

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( TwoFreshLoadsAreIdentical )

◆ findProperty()

◆ findRootDocLevelChange()

static const ITEM_CHANGE * findRootDocLevelChange ( const DOCUMENT_DIFF & aDiff)
static