polybar-dwm/tests/unit_tests/utils
patrick96 1a59599388 fix(modules): Avoid downcast in module constructor
The previous CAST_MOD(Impl) for the action_router constructor was
illegal because `this` is not yet of type Impl (because the subclass
constructor has not run yet).

The action_router now accepts std::function for its callbacks.

Fixes #2519
2021-10-03 03:18:39 +02:00
..
action_router.cpp fix(modules): Avoid downcast in module constructor 2021-10-03 03:18:39 +02:00
actions.cpp actions: Move parsing to utility file 2020-11-26 20:53:53 +01:00
color.cpp fix(color): Rename type() function to get_type 2021-03-01 00:05:44 +01:00
command.cpp script: Fix concurrency issues (#2518) 2021-10-03 01:27:11 +02:00
env.cpp Add tests for env_util 2021-09-21 21:43:27 +02:00
file.cpp add command unit tests 2020-05-08 23:24:29 +02:00
math.cpp fix: unbounded_percentage always rounded down 2021-03-03 22:48:17 +01:00
memory.cpp
process.cpp Add env parameter to exec_sh() 2021-09-28 22:16:07 +02:00
scope.cpp tests: Convert scope test to gtest 2018-06-10 16:42:07 +02:00
string.cpp Display correct(binary) unit prefixes in memory module (#2211) 2020-11-27 23:30:09 +01:00