Vfs init.
Convertion time string to unix time returns 1 hour later than should.
DatabaseInitializer stub that just creates empty dbs with table
structure but without data. Notification table initial records moved
to Database Initilize section. UT run with a stub of Database
Initialize - new test section introduced to test original
initializer: test-initializer.
Added missing data for contacts db to run the sorted list test
and test fix.
The dangling ptrs derefencing freed memory has been fixed.
They caused the tests to trigger the ASan. Additonally, in some tests
where DB objects were allocated dynamically, they are now allocated
automatically on the stack to simplify the code.
Add proper catch2 support:
- add catch2 as a submodule
- add cmake function to add test easily
- discover each test in test binary
- remove copies of catch.hpp
- do not try to process tests for rt1051
Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
* [EGD-3169] added sms templates model and item
fixed common class name convention
* [EGD-3169] added templates window
Passing template to new sms window is already working
* [EGD-3169] PR fixes from DB PR
* [EGD-3169] add universal callback for templates items
* [EGD-3169] requesting templates from more 2 windows
* [EGD-3169] missign change - display template in threads window
* [EGD-3169] minor fixes
* [EGD-3169] minimal clean up
* [EGD-3169] fixed some layout constatnt
* [EGD-3169] rem minor comments and logs
* [EGD-3089] rem redundant vector include
* [EGD-3169] PR fixes
* [EGD-3169] fixes afeter rebase
* [EGD-3169] workaround for list view issue - added 2 dump entries
* [EGD-3169] PR fixes
* [EGD-3169] style fixes
* [EGD-3169] fix for 0x0D char on enter in text widget
* [EGD-3169] PR fixes
* [EGD-3169] compilation issue