1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
cmake_minimum_required(VERSION 3.12)
add_catch2_executable(
NAME
utils-conditional-invoke-tests
SRCS
test-Utility-ConditionalInvoke.cpp
LIBS
module-utils
)
# Phone number tests
add_catch2_executable(
NAME
utils-phonenumber
SRCS
unittest_phonenumber.cpp
unittest_numbermatcher.cpp
LIBS
module-utils
)
# UCS2 tests
add_catch2_executable(
NAME
utils-ucs2
SRCS
unittest_ucs2.cpp
LIBS
module-utils
)
# duration tests
add_catch2_executable(
NAME
utils-duration
SRCS
unittest_duration.cpp
LIBS
module-utils
iosyscalls
DEPS
PurePhone-disk-img
)
# utils tests
add_catch2_executable(
NAME
utils
SRCS
unittest_utils.cpp
LIBS
module-utils
iosyscalls
DEPS
PurePhone-disk-img
)
# Math tests
add_catch2_executable(
NAME
utils-math
SRCS
test_math.cpp
LIBS
module-utils
)
# Log tests
add_catch2_executable(
NAME
utils-log
SRCS
test_log.cpp
LIBS
module-utils
)
# Logger buffer tests
add_catch2_executable(
NAME
utils-loggerbuffer
SRCS
test_LoggerBuffer.cpp
LIBS
module-utils
)
# ParserICS tests
#add_catch2_executable(
# NAME
# utils-parserIcs
# SRCS
# test_ParserICS.cpp
# LIBS
# module-utils
#)
# time display tests
add_catch2_executable(
NAME
utils-time_display
SRCS
unittest_TimeRangeParser.cpp
LIBS
module-utils
module-db
)
# i18n language change tests
add_catch2_executable(
NAME
utils-i18n
SRCS
test_i18n.cpp
LIBS
module-utils
)