KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_expand_text_vars.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <common.h>

Go to the source code of this file.

Classes

struct  ExpandTextVarsFixture
 Test fixture for ExpandTextVars tests. More...
 

Macros

#define BOOST_TEST_NO_MAIN
 

Functions

 BOOST_AUTO_TEST_CASE (SimpleVariable)
 
 BOOST_AUTO_TEST_CASE (MultipleVariables)
 
 BOOST_AUTO_TEST_CASE (EscapedVariable)
 
 BOOST_AUTO_TEST_CASE (EscapedThenRegularVariable)
 
 BOOST_AUTO_TEST_CASE (RegularThenEscapedVariable)
 
 BOOST_AUTO_TEST_CASE (EscapedInsideMathExpression)
 
 BOOST_AUTO_TEST_CASE (EscapedInsideVariableReference)
 
 BOOST_AUTO_TEST_CASE (MultipleEscapedInMathExpression)
 
 BOOST_AUTO_TEST_CASE (EscapedAtInExpression)
 
 BOOST_AUTO_TEST_CASE (ConsecutiveEscaped)
 

Macro Definition Documentation

◆ BOOST_TEST_NO_MAIN

#define BOOST_TEST_NO_MAIN

Definition at line 21 of file test_expand_text_vars.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/10]

BOOST_AUTO_TEST_CASE ( ConsecutiveEscaped )

Definition at line 160 of file test_expand_text_vars.cpp.

References BOOST_CHECK_EQUAL(), ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [2/10]

BOOST_AUTO_TEST_CASE ( EscapedAtInExpression )

Definition at line 150 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [3/10]

BOOST_AUTO_TEST_CASE ( EscapedInsideMathExpression )

Definition at line 97 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [4/10]

BOOST_AUTO_TEST_CASE ( EscapedInsideVariableReference )

Definition at line 116 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [5/10]

BOOST_AUTO_TEST_CASE ( EscapedThenRegularVariable )

Definition at line 78 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [6/10]

BOOST_AUTO_TEST_CASE ( EscapedVariable )

Definition at line 70 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [7/10]

BOOST_AUTO_TEST_CASE ( MultipleEscapedInMathExpression )

Definition at line 128 of file test_expand_text_vars.cpp.

References BOOST_CHECK_EQUAL(), ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [8/10]

BOOST_AUTO_TEST_CASE ( MultipleVariables )

Definition at line 63 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [9/10]

BOOST_AUTO_TEST_CASE ( RegularThenEscapedVariable )

Definition at line 87 of file test_expand_text_vars.cpp.

References ExpandTextVars(), resolver, and result.

◆ BOOST_AUTO_TEST_CASE() [10/10]

BOOST_AUTO_TEST_CASE ( SimpleVariable )

Definition at line 56 of file test_expand_text_vars.cpp.

References BOOST_AUTO_TEST_CASE(), ExpandTextVars(), resolver, and result.