Commit Graph

14 Commits

Author SHA1 Message Date
Marcin Smoczyński
a9cb37d7f4 tests: add proper catch2 handling
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>
2020-06-24 10:38:14 +02:00
Marcin Smoczyński
0936930063 [EGD-2593] improved matching contact by numbers
Introduced format aware phone number comparison to allow improved
matching phone numbers with contacts.

Phone numbers are also displayed formatted on a phonebook/calllog
list view and on detailed contact info view.

Entered and e164 number are verified to match each other during
processing db request.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-17 14:01:38 +02:00
Pawel Olejniczak
bb3191ed73 [EGD-3126] Update tests of contact name formatting 2020-06-03 19:00:20 +02:00
Pawel Olejniczak
cae8e740cf [EGD-3195] Add sections to ContactRecord_tests 2020-05-12 11:54:36 +02:00
Pawel Olejniczak
ed3eefa001 [EGD-3195] Add unit tests for contact name formatting 2020-05-12 11:54:36 +02:00
Pawel Olejniczak
2014feabc7 [EGD-3155] Add changes suggested by reviewers 2020-05-08 08:57:29 +02:00
Pawel Olejniczak
6eed387019 [EGD-3155] Update db unit tests according to last changes with contact address 2020-05-08 08:57:29 +02:00
Alek Rudnik
55ec93cccf [EGD-2986] fixed module db UT (#326)
* [EGD-2986] fixed module db UT

* [EGD-2986] missing change

* []EGD-2986] add BD init check

* [EGD-2986] fix in threads table
2020-04-23 12:41:30 +02:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
pholat
93d964f532 Phonebook: Updated db tests 2019-08-26 09:25:40 +02:00
Mati
2918195e2c Slight change in records API(constructors) 2019-06-07 14:16:57 +02:00
Mati
35982af81c WiP: ThreadRecord 2019-06-04 15:59:30 +02:00
Mati
951604cb95 Minor API updates. Finished implementing ContactRecord 2019-06-04 15:46:54 +02:00
Mati
d446b0ac94 WiP: record interface 2019-06-04 08:27:30 +02:00