KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_net_settings.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <project/net_settings.h>
#include <netclass.h>
#include <settings/json_settings_internals.h>

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ChainClassAssignmentAffectsEquality)
 
 BOOST_AUTO_TEST_CASE (ChainClassValueAndClearAffectEquality)
 
 BOOST_AUTO_TEST_CASE (AssignmentSizeDifferencesAffectEquality)
 
static bool resolvesToNetclass (NET_SETTINGS &aSettings, const wxString &aNetName, const wxString &aExpected)
 
 BOOST_AUTO_TEST_CASE (ChainPatternAssignmentResolvesAndClears)
 
 BOOST_AUTO_TEST_CASE (ClearChainPatternAssignmentsLeavesUserPatterns)
 
 BOOST_AUTO_TEST_CASE (ClearNetChainClassesRemovesAllEntries)
 
 BOOST_AUTO_TEST_CASE (ChainPatternAssignmentExcludedFromEquality)
 
 BOOST_AUTO_TEST_CASE (NetChainClassesJsonRoundTrip)
 
 BOOST_AUTO_TEST_CASE (NetChainClassesJsonRoundTripEmpty)
 
 BOOST_AUTO_TEST_CASE (NetChainClassesJsonDropsEmptyValues)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/10]

BOOST_AUTO_TEST_CASE ( AssignmentSizeDifferencesAffectEquality )

Definition at line 79 of file test_net_settings.cpp.

References NET_SETTINGS::SetNetclassLabelAssignment().

◆ BOOST_AUTO_TEST_CASE() [2/10]

BOOST_AUTO_TEST_CASE ( ChainClassAssignmentAffectsEquality )

◆ BOOST_AUTO_TEST_CASE() [3/10]

BOOST_AUTO_TEST_CASE ( ChainClassValueAndClearAffectEquality )

Definition at line 52 of file test_net_settings.cpp.

References NET_SETTINGS::SetNetChainClass().

◆ BOOST_AUTO_TEST_CASE() [4/10]

BOOST_AUTO_TEST_CASE ( ChainPatternAssignmentExcludedFromEquality )

◆ BOOST_AUTO_TEST_CASE() [5/10]

BOOST_AUTO_TEST_CASE ( ChainPatternAssignmentResolvesAndClears )

◆ BOOST_AUTO_TEST_CASE() [6/10]

◆ BOOST_AUTO_TEST_CASE() [7/10]

BOOST_AUTO_TEST_CASE ( ClearNetChainClassesRemovesAllEntries )

◆ BOOST_AUTO_TEST_CASE() [8/10]

◆ BOOST_AUTO_TEST_CASE() [9/10]

◆ BOOST_AUTO_TEST_CASE() [10/10]

◆ resolvesToNetclass()

static bool resolvesToNetclass ( NET_SETTINGS & aSettings,
const wxString & aNetName,
const wxString & aExpected )
static