polybar-dwm/tests
infokiller fb6e874235 feat(label): Add minlen with alignment (#1546)
* Add label minlen and alignment.

Fix build

* Update src/drawtypes/label.cpp

Co-Authored-By: infokiller <infokiller@users.noreply.github.com>

* Use existing alignment type.

* Remove redundant max_len handling in label::get.

* Fix shadowing.

* Add label alignment tests.

* Handle minlen/maxlen and alignment in same function.

Also add a test for a test case brought up in the PR discussion.

* Format files with clang-format

* Move builder::get_label_text tests into label tests

builder::get_label_text doesn't really do anything anymore

* builder: remove get_label_text

* label: Clean up label::get()

* Fix comment style.

* Set default label alignment to left.

* Update src/drawtypes/label.cpp

Co-Authored-By: Patrick Ziegler <p.ziegler96@gmail.com>

* Update include/drawtypes/label.hpp

Co-Authored-By: Patrick Ziegler <p.ziegler96@gmail.com>
2019-12-01 01:28:41 +01:00
..
common refactor(test): Remove old testing harness 2018-07-31 13:20:27 -07:00
unit_tests feat(label): Add minlen with alignment (#1546) 2019-12-01 01:28:41 +01:00
CMakeLists.txt feat(label): Add minlen with alignment (#1546) 2019-12-01 01:28:41 +01:00
CMakeLists.txt.in fix(tests): Compile gtest at configure time 2018-04-10 00:56:51 +02:00