|
KiCad PCB EDA Suite
|
#include <boost/test/unit_test.hpp>#include <lib_tree_model_adapter.h>#include <project.h>#include <settings/app_settings.h>Go to the source code of this file.
Classes | |
| class | TEST_LIB_TREE_MODEL_ADAPTER |
| Minimal concrete adapter exposing the loaded column widths. More... | |
Functions | |
| BOOST_AUTO_TEST_CASE (CorruptPersistedColumnWidthIgnoredOnLoad) | |
| A persisted column width can become corrupt after a mixed-DPI monitor change (issue 24702 reported width 427218649), which pushes the tree content off-screen and leaves the symbol/footprint chooser blank. | |
| BOOST_AUTO_TEST_CASE | ( | CorruptPersistedColumnWidthIgnoredOnLoad | ) |
A persisted column width can become corrupt after a mixed-DPI monitor change (issue 24702 reported width 427218649), which pushes the tree content off-screen and leaves the symbol/footprint chooser blank.
Loading such a value must fall back to the sane default instead of applying it, while a legitimate persisted width is honoured.
Definition at line 58 of file test_lib_tree_model_adapter.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), APP_SETTINGS_BASE::LIB_TREE::column_widths, and TEST_LIB_TREE_MODEL_ADAPTER::LoadedWidth().