|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <algorithm>#include <base_units.h>#include <eda_text.h>#include <text_var_dependency.h>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (Compare) | |
| 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) | |
| BOOST_AUTO_TEST_CASE | ( | Compare | ) |
Definition at line 31 of file test_eda_text.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), EDA_TEXT::SetText(), EDA_TEXT::SetTextPos(), and unityScale.
| BOOST_AUTO_TEST_CASE | ( | TextVarReferences_CapturedAfterSetText | ) |
Definition at line 75 of file test_eda_text.cpp.
References TEXT_VAR_REF_KEY::CROSS_REF, EDA_TEXT::GetTextVarReferences(), EDA_TEXT::HasTextVars(), TEXT_VAR_REF_KEY::LOCAL, EDA_TEXT::SetText(), and unityScale.
| BOOST_AUTO_TEST_CASE | ( | TextVarReferences_EmptyWhenNoVars | ) |
Definition at line 66 of file test_eda_text.cpp.
References EDA_TEXT::GetTextVarReferences(), EDA_TEXT::HasTextVars(), EDA_TEXT::SetText(), and unityScale.
| BOOST_AUTO_TEST_CASE | ( | TextVarReferences_EscapedLiteralNotEdge | ) |
Definition at line 126 of file test_eda_text.cpp.
References EDA_TEXT::GetTextVarReferences(), EDA_TEXT::SetText(), and unityScale.
| BOOST_AUTO_TEST_CASE | ( | TextVarReferences_InvalidatedOnRetext | ) |
Definition at line 97 of file test_eda_text.cpp.
References EDA_TEXT::GetTextVarReferences(), EDA_TEXT::SetText(), and unityScale.
| BOOST_AUTO_TEST_CASE | ( | TextVarReferences_StableReferenceBetweenReads | ) |
Definition at line 110 of file test_eda_text.cpp.
References EDA_TEXT::GetTextVarReferences(), EDA_TEXT::SetText(), and unityScale.