KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_eda_text.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <base_units.h>
#include <eda_text.h>
#include <gr_text.h>
#include <text_var_dependency.h>

Go to the source code of this file.

Functions

static EDA_TEXT makeText200 ()
 
 BOOST_AUTO_TEST_CASE (Compare)
 
 BOOST_AUTO_TEST_CASE (BoldFlagLeavesStoredThicknessAlone)
 
 BOOST_AUTO_TEST_CASE (EffectiveWidthAppliesBoldMultiplierForStroke)
 
 BOOST_AUTO_TEST_CASE (EffectiveWidthAutoBoldMatchesLegacy)
 
 BOOST_AUTO_TEST_CASE (MigrateLegacyBoldStrokeWidthRecoversBase)
 
 BOOST_AUTO_TEST_CASE (AutoThicknessOffFreezesBaseNotEffective)
 
 BOOST_AUTO_TEST_CASE (TextVarReferences_EmptyWhenNoVars)
 
 BOOST_AUTO_TEST_CASE (TextVarReferences_CapturedAfterSetText)
 
 BOOST_AUTO_TEST_CASE (TextVarReferences_InvalidatedOnRetext)
 
 BOOST_AUTO_TEST_CASE (TextVarReferences_StableReferenceBetweenReads)
 
 BOOST_AUTO_TEST_CASE (TextVarReferences_EscapedLiteralNotEdge)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/11]

◆ BOOST_AUTO_TEST_CASE() [2/11]

BOOST_AUTO_TEST_CASE ( BoldFlagLeavesStoredThicknessAlone )

◆ BOOST_AUTO_TEST_CASE() [3/11]

BOOST_AUTO_TEST_CASE ( Compare )

◆ BOOST_AUTO_TEST_CASE() [4/11]

BOOST_AUTO_TEST_CASE ( EffectiveWidthAppliesBoldMultiplierForStroke )

◆ BOOST_AUTO_TEST_CASE() [5/11]

◆ BOOST_AUTO_TEST_CASE() [6/11]

◆ BOOST_AUTO_TEST_CASE() [7/11]

BOOST_AUTO_TEST_CASE ( TextVarReferences_CapturedAfterSetText )

◆ BOOST_AUTO_TEST_CASE() [8/11]

BOOST_AUTO_TEST_CASE ( TextVarReferences_EmptyWhenNoVars )

◆ BOOST_AUTO_TEST_CASE() [9/11]

BOOST_AUTO_TEST_CASE ( TextVarReferences_EscapedLiteralNotEdge )

◆ BOOST_AUTO_TEST_CASE() [10/11]

BOOST_AUTO_TEST_CASE ( TextVarReferences_InvalidatedOnRetext )

◆ BOOST_AUTO_TEST_CASE() [11/11]

BOOST_AUTO_TEST_CASE ( TextVarReferences_StableReferenceBetweenReads )

◆ makeText200()