|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | SCH_TEXTBOX_FIXTURE |
Functions | |
| BOOST_AUTO_TEST_CASE (GetMinSizeReturnsHeightOnly) | |
| Verify that GetMinSize() returns height-only constraint for non-empty text. | |
| BOOST_AUTO_TEST_CASE (GetMinSizeGrowsWithMoreText) | |
| Verify that GetMinSize() height grows when more text is added. | |
| BOOST_AUTO_TEST_CASE (GetMinSizeIncludesMargins) | |
| Verify that GetMinSize() height grows when vertical margins are increased. | |
| BOOST_AUTO_TEST_CASE (GetMinSizeEmptyText) | |
| Verify that GetMinSize() returns zero for both axes with empty text. | |
| BOOST_AUTO_TEST_CASE (GetMinSizeVerticalText) | |
| Verify that GetMinSize() swaps the constrained axis for vertical text. | |
| BOOST_AUTO_TEST_CASE (GetMinSizeAllowsWidthReduction) | |
| Verify that width is always unconstrained regardless of text content. | |
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeAllowsWidthReduction | ) |
Verify that width is always unconstrained regardless of text content.
Definition at line 145 of file test_sch_textbox.cpp.
References BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeEmptyText | ) |
Verify that GetMinSize() returns zero for both axes with empty text.
Definition at line 105 of file test_sch_textbox.cpp.
References BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeGrowsWithMoreText | ) |
Verify that GetMinSize() height grows when more text is added.
Definition at line 60 of file test_sch_textbox.cpp.
References VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeIncludesMargins | ) |
Verify that GetMinSize() height grows when vertical margins are increased.
Definition at line 76 of file test_sch_textbox.cpp.
References BOOST_CHECK_EQUAL(), schIUScale, VECTOR2< T >::x, and VECTOR2< T >::y.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeReturnsHeightOnly | ) |
Verify that GetMinSize() returns height-only constraint for non-empty text.
Definition at line 48 of file test_sch_textbox.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and minSize.
| BOOST_AUTO_TEST_CASE | ( | GetMinSizeVerticalText | ) |
Verify that GetMinSize() swaps the constrained axis for vertical text.
Definition at line 121 of file test_sch_textbox.cpp.
References ANGLE_VERTICAL, BOOST_CHECK_EQUAL(), VECTOR2< T >::x, and VECTOR2< T >::y.