@micro-os-plus/micro-test-plus 3.2.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cmake-format.yaml +11 -0
- package/CHANGELOG.md +417 -2
- package/CMakeLists.txt +33 -30
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/{xcdl.json → config/xcdl-build.json} +6 -6
- package/include/micro-os-plus/micro-test-plus/detail.h +1908 -0
- package/include/micro-os-plus/micro-test-plus/function-comparators.h +333 -0
- package/include/micro-os-plus/micro-test-plus/inlines/details-inlines.h +172 -0
- package/include/micro-os-plus/micro-test-plus/inlines/function-comparators-inlines.h +341 -0
- package/include/micro-os-plus/micro-test-plus/inlines/literals-inlines.h +604 -0
- package/include/micro-os-plus/micro-test-plus/inlines/math-inlines.h +315 -0
- package/include/micro-os-plus/micro-test-plus/inlines/micro-test-plus-inlines.h +313 -0
- package/include/micro-os-plus/micro-test-plus/inlines/reflection-inlines.h +170 -0
- package/include/micro-os-plus/micro-test-plus/inlines/test-reporter-inlines.h +476 -0
- package/include/micro-os-plus/micro-test-plus/inlines/test-suite-inlines.h +115 -0
- package/include/micro-os-plus/micro-test-plus/literals.h +912 -0
- package/include/micro-os-plus/micro-test-plus/math.h +217 -0
- package/include/micro-os-plus/micro-test-plus/operators.h +514 -0
- package/include/micro-os-plus/micro-test-plus/reflection.h +233 -0
- package/include/micro-os-plus/micro-test-plus/test-reporter-basic.h +289 -0
- package/include/micro-os-plus/micro-test-plus/test-reporter-tap.h +281 -0
- package/include/micro-os-plus/micro-test-plus/test-reporter.h +846 -0
- package/include/micro-os-plus/micro-test-plus/test-runner.h +281 -0
- package/include/micro-os-plus/micro-test-plus/test-suite.h +492 -0
- package/include/micro-os-plus/micro-test-plus/type-traits.h +1148 -0
- package/include/micro-os-plus/micro-test-plus.h +172 -552
- package/meson.build +7 -5
- package/package.json +29 -34
- package/src/micro-test-plus.cpp +134 -37
- package/src/test-reporter-basic.cpp +466 -0
- package/src/test-reporter-tap.cpp +530 -0
- package/src/test-reporter.cpp +207 -240
- package/src/test-runner.cpp +135 -23
- package/src/test-suite.cpp +182 -10
- package/include/micro-os-plus/detail.h +0 -765
- package/include/micro-os-plus/inlines.h +0 -209
- package/include/micro-os-plus/literals.h +0 -512
- package/include/micro-os-plus/math.h +0 -204
- package/include/micro-os-plus/reflection.h +0 -139
- package/include/micro-os-plus/test-reporter-inlines.h +0 -230
- package/include/micro-os-plus/test-reporter.h +0 -356
- package/include/micro-os-plus/test-runner.h +0 -132
- package/include/micro-os-plus/test-suite.h +0 -306
- package/include/micro-os-plus/type-traits.h +0 -389
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# .cmake-format.yaml
|
|
2
|
+
# https://cmake-format.readthedocs.io/en/latest/configuration.html
|
|
3
|
+
|
|
4
|
+
tab_size: 2
|
|
5
|
+
use_tabchars: false
|
|
6
|
+
line_width: 80
|
|
7
|
+
|
|
8
|
+
# Put closing parens on a dedicated line for multi-line calls.
|
|
9
|
+
dangle_parens: true
|
|
10
|
+
|
|
11
|
+
enable_markup: true
|
package/CHANGELOG.md
CHANGED
|
@@ -6,10 +6,425 @@ Please check
|
|
|
6
6
|
[GitHub](https://github.com/micro-os-plus/micro-test-plus-xpack/issues/)
|
|
7
7
|
and close existing issues and pull requests.
|
|
8
8
|
|
|
9
|
+
## 2026-03-23
|
|
10
|
+
|
|
11
|
+
* v3.3.0 published on npmjs.com
|
|
12
|
+
* v3.3.0 prepared
|
|
13
|
+
|
|
14
|
+
## 2026-03-22
|
|
15
|
+
|
|
16
|
+
* 8d33c3e website update for tap
|
|
17
|
+
* 181b428 website/doxygen rewrites
|
|
18
|
+
* 14bea0a cli.dox update to tap
|
|
19
|
+
* 4a4f840 #9: fix empty line
|
|
20
|
+
* ae54b12 cmake cosmetics
|
|
21
|
+
* 3cb5a08 #10: fix not ok messages
|
|
22
|
+
* 2fda6fc #10: fix rounding
|
|
23
|
+
|
|
24
|
+
## 2026-03-21
|
|
25
|
+
|
|
26
|
+
* 1e2c980 empty .npmignore in tests
|
|
27
|
+
* 2242fd0 test-reporter-tap.cpp cosmetics
|
|
28
|
+
* a3ecec4 try timespec_get only on win32
|
|
29
|
+
* 7ba0701 try timespec_get
|
|
30
|
+
* 9ead310 #if defined(CLOCK_MONOTONIC)
|
|
31
|
+
* 4e9478c Revert "try -lwinpthread on windows"
|
|
32
|
+
* 951742a try -lwinpthread on windows
|
|
33
|
+
* 5bce849 #10: fix long long warning
|
|
34
|
+
|
|
35
|
+
## 2026-03-20
|
|
36
|
+
|
|
37
|
+
* f9c0293 Revert "#10: use defined(__linux__)"
|
|
38
|
+
* 574ff65 #10: fix duplicate struct timespec
|
|
39
|
+
* cbdc8ed #10: use defined(__linux__)
|
|
40
|
+
* 15a191d #10: show total time
|
|
41
|
+
* 3bae621 make runner default_test_suite public
|
|
42
|
+
* e25dbf3 #10: add elapsed time to suites
|
|
43
|
+
* 0139c5e test-reporter-*.cpp plurals
|
|
44
|
+
|
|
45
|
+
## 2026-03-19
|
|
46
|
+
|
|
47
|
+
* 9258c55 cli.dox update
|
|
48
|
+
* 022cbed test-reporter: fix syntax
|
|
49
|
+
* cc95083 website update
|
|
50
|
+
* e4c6be1 #9: default tap
|
|
51
|
+
* 84b34d3 native cmake with explicit --reporter
|
|
52
|
+
* e35ad6a #9: functional test-reporter-tap
|
|
53
|
+
* 7aa70ac test-runner: add totals
|
|
54
|
+
* f6a2bc1 add begin/end_test
|
|
55
|
+
* 7d6f684 test-suite.h: size_t analytics
|
|
56
|
+
* 1e7a54c detail.h: reformat
|
|
57
|
+
|
|
58
|
+
## 2026-03-18
|
|
59
|
+
|
|
60
|
+
* 7bae711 add suite index
|
|
61
|
+
* 6619d3b default basic
|
|
62
|
+
* 5465c38 rename test_suites_
|
|
63
|
+
* c60d2b5 rename test_cases_count
|
|
64
|
+
* 459d10c #9: process --reporter=tap or basic
|
|
65
|
+
* 2c8cc51 #9: add a test-reporter-tap as a duplicate of base
|
|
66
|
+
* 122c76a #11: make the test_reporter_basic class final to avoid warnings
|
|
67
|
+
* d84d2b8 #11: extract test_runner_basic in separate files
|
|
68
|
+
* 75b8fb1 #11: move operator implementations back to the base class
|
|
69
|
+
* 096d136 #11: make the test_reporter an abstract class
|
|
70
|
+
* 8f20d22 #13: access the reporter via a pointer
|
|
71
|
+
|
|
72
|
+
## 2026-03-17
|
|
73
|
+
|
|
74
|
+
* 42e0810 website: blog post release 3.2.3 published
|
|
75
|
+
* b84b446 3.2.3
|
|
76
|
+
* aeda731 CHANGELOG: publish npm v3.2.3
|
|
77
|
+
* 7d877be prepare v3.2.3
|
|
78
|
+
* 7943290 package.json update
|
|
79
|
+
* d40573b settings.json update
|
|
80
|
+
* 6eaed82 re-generate website
|
|
81
|
+
* 6c53c08 re-generate tests commons
|
|
82
|
+
|
|
83
|
+
## 2026-03-15
|
|
84
|
+
|
|
85
|
+
* f785a0d re-generate tests commons with define-executables
|
|
86
|
+
* 28700b7 re-generate tests commons; xpacks_enable_*
|
|
87
|
+
* 87c04ad settings.json update cmake defaultFormatter
|
|
88
|
+
* fa4719e tests: update to simplified platform aliases
|
|
89
|
+
|
|
90
|
+
## 2026-03-13
|
|
91
|
+
|
|
92
|
+
* 1df6029 package-lovk.json update
|
|
93
|
+
* c94b7cf re-generate tests commons
|
|
94
|
+
* b3ec2a9 tests meson cosmetics
|
|
95
|
+
* 4045da4 tests cmake reformat
|
|
96
|
+
* 42e6f65 tests add DO NOT EDIT
|
|
97
|
+
* 0c2c517 ad and use project-functions.cmake
|
|
98
|
+
|
|
99
|
+
## 2026-03-12
|
|
100
|
+
|
|
101
|
+
* 9f3eba2 tests infrastructure update
|
|
102
|
+
* 9270993 dependencies-folders use project folders
|
|
103
|
+
* a3d23f4 tests: project-definitions
|
|
104
|
+
* b080e20 *-test: fix message > dependency
|
|
105
|
+
* acf22f4 cmake: move CMAKE_EXPORT_COMPILE_COMMANDS up
|
|
106
|
+
|
|
107
|
+
## 2026-03-11
|
|
108
|
+
|
|
109
|
+
* 861b4ca move xcdl-build.json
|
|
110
|
+
* 8e0540a re-generate top commons
|
|
111
|
+
|
|
112
|
+
## 2026-03-10
|
|
113
|
+
|
|
114
|
+
* f16de5e README update
|
|
115
|
+
* f68a8d9 package*.json updates
|
|
116
|
+
* 3a0bd1a workflows update to 0.23.2
|
|
117
|
+
|
|
118
|
+
## 2026-03-09
|
|
119
|
+
|
|
120
|
+
* 85aca94 tests/package*.json bump deps
|
|
121
|
+
* 9a7ccbf tests/package.json: explicit dependencies specifier & platforms
|
|
122
|
+
* fd40e7b try xpm install -dd
|
|
123
|
+
* e29a752 try xpm install -dd
|
|
124
|
+
* 3641e20 re-generate top commons
|
|
125
|
+
* a42b3d8 package*.json update
|
|
126
|
+
* fc922bf test-ci.yml: bump deps
|
|
127
|
+
* 250ddb4 test-ci.yml: bump deps
|
|
128
|
+
|
|
129
|
+
## 2026-03-08
|
|
130
|
+
|
|
131
|
+
* 9356141 package.json cosmetics
|
|
132
|
+
* 4ffc072 website copyright 2026 update
|
|
133
|
+
* 6060eb9 tests/package.json: bump deps
|
|
134
|
+
* 42a0eaf silence warnings
|
|
135
|
+
|
|
136
|
+
## 2026-01-19
|
|
137
|
+
|
|
138
|
+
* 27d753f package.json update ctest --test-dir
|
|
139
|
+
|
|
140
|
+
## 2026-01-18
|
|
141
|
+
|
|
142
|
+
* 7f5dd8c package.json: group deps releases
|
|
143
|
+
* 8ac2c5b package.json compute latest release
|
|
144
|
+
|
|
145
|
+
## 2026-01-17
|
|
146
|
+
|
|
147
|
+
* 2ac5ca4 package.json update with templates
|
|
148
|
+
|
|
149
|
+
## 2026-01-16
|
|
150
|
+
|
|
151
|
+
* efd0b74 package.json: update inherits
|
|
152
|
+
* a5ad31e package.json: update toochain names
|
|
153
|
+
* a6e7fb6 package.json template actions
|
|
154
|
+
|
|
155
|
+
## 2026-01-15
|
|
156
|
+
|
|
157
|
+
* 92a7d78 settings.json: configure meson false
|
|
158
|
+
|
|
159
|
+
## 2026-01-06
|
|
160
|
+
|
|
161
|
+
* 489d204 workflows update
|
|
162
|
+
* c149bda package.json 3.2.3-pre
|
|
163
|
+
* 5f2f0cc CHANGELOG update
|
|
164
|
+
* dafef2a copyright reformat following cmake
|
|
165
|
+
* c1bb7e4 Copyright 2026
|
|
166
|
+
* 9543dc5 package*.json bump deps
|
|
167
|
+
* cdb7c12 CMakeLists.txt reformat
|
|
168
|
+
* 55d1500 add .cmake-format.yaml
|
|
169
|
+
* b127ac5 settings.json update
|
|
170
|
+
* 578d545 include: fix doxygen
|
|
171
|
+
* 710c8ff tests rework & reformat cmake
|
|
172
|
+
|
|
173
|
+
## 2025-11-20
|
|
174
|
+
|
|
175
|
+
* c1459d7 npm --prefix
|
|
176
|
+
* 414f4da npm --prefix
|
|
177
|
+
* 5460362 silence warnings
|
|
178
|
+
* d2032d5 replace auto -> source_location
|
|
179
|
+
|
|
180
|
+
## 2025-10-07
|
|
181
|
+
|
|
182
|
+
* f099ea9 update copyright notices
|
|
183
|
+
|
|
184
|
+
## 2025-08-23
|
|
185
|
+
|
|
186
|
+
* 6e09fe5 tests/package.json disable clang 15
|
|
187
|
+
* caba436 tests native rework
|
|
188
|
+
* 1ba174e tests top meson.build
|
|
189
|
+
* e6ce35c tests global-definitions add minimal test
|
|
190
|
+
* db8a14b no need for top config.h
|
|
191
|
+
* 1c926ff move tests to folders
|
|
192
|
+
* 858b92d move code from test-main.cmake to top
|
|
193
|
+
|
|
194
|
+
## 2025-08-22
|
|
195
|
+
|
|
196
|
+
* 8dbfa79 fix typo
|
|
197
|
+
|
|
198
|
+
## 2025-08-08
|
|
199
|
+
|
|
200
|
+
* ab3b7ab website update Generated via
|
|
201
|
+
* 7d69688 website update Generated via links
|
|
202
|
+
|
|
203
|
+
## 2025-07-30
|
|
204
|
+
|
|
205
|
+
* 31ed4de add doxygen back to git
|
|
206
|
+
|
|
207
|
+
## 2025-07-29
|
|
208
|
+
|
|
209
|
+
* 621040d website update sidebar
|
|
210
|
+
* 53124cc website update without The ... Reference
|
|
211
|
+
|
|
212
|
+
## 2025-07-14
|
|
213
|
+
|
|
214
|
+
* b878ad9 website update for tree tables
|
|
215
|
+
|
|
216
|
+
## 2025-07-10
|
|
217
|
+
|
|
218
|
+
* 38442a1 website/package.json update d2d config
|
|
219
|
+
* fb828ce website package.json update link-helpers
|
|
220
|
+
* e9132f8 website update for doxygen2docusaurus
|
|
221
|
+
|
|
222
|
+
## 2025-07-06
|
|
223
|
+
|
|
224
|
+
* 897d07e website reorder index without ~
|
|
225
|
+
* f571fce website rework index files
|
|
226
|
+
* 9da3278 website update with treeEntryName
|
|
227
|
+
* ea87f50 fix broken links in test/md
|
|
228
|
+
* be89733 publish-github-pages.yml update
|
|
229
|
+
* 48f427d website update
|
|
230
|
+
* b016885 website/doxygen update
|
|
231
|
+
* 25fddfa reflection-inlines.h update doxy metadata
|
|
232
|
+
|
|
233
|
+
## 2025-06-19
|
|
234
|
+
|
|
235
|
+
* afa713d publish-github-pages without doxygen
|
|
236
|
+
* a65e1f8 website package.json cleanup
|
|
237
|
+
* d0fbaf3 website re-generate as html
|
|
238
|
+
|
|
239
|
+
## 2025-06-16
|
|
240
|
+
|
|
241
|
+
* 4593547 website docs api update
|
|
242
|
+
* 99e639a website doxygen xml update
|
|
243
|
+
* b8132ed website doxygen update
|
|
244
|
+
|
|
245
|
+
## 2025-06-11
|
|
246
|
+
|
|
247
|
+
* c2f2863 website update
|
|
248
|
+
|
|
249
|
+
## 2025-06-06
|
|
250
|
+
|
|
251
|
+
* c9ae57b website docusaurus.config.ts comment out faster
|
|
252
|
+
* 3e913cb website docusaurus.config.ts enable faster
|
|
253
|
+
* e8e05e4 website package*.json add faster
|
|
254
|
+
* b518e57 website docusaurus.config.ts revert to using preset
|
|
255
|
+
* c43d1a9 website package*.json 3.8.1
|
|
256
|
+
* 2a5c0f3 website regenerate
|
|
257
|
+
* e66973e move @mainpage to doxygen folder
|
|
258
|
+
|
|
259
|
+
## 2025-06-05
|
|
260
|
+
|
|
261
|
+
* 4154858 update package*.json
|
|
262
|
+
* 3c7a543 website package*.json update
|
|
263
|
+
* 16888c7 website add doxygen/xml
|
|
264
|
+
* e37c3fb website update config and docs/api
|
|
265
|
+
|
|
266
|
+
## 2025-05-26
|
|
267
|
+
|
|
268
|
+
* 1ede877 website re-generate commons 1.14.0
|
|
269
|
+
* a6be438 package*.json update
|
|
270
|
+
* 35df5ab re-generate commons doxygen 1.14.0
|
|
271
|
+
|
|
272
|
+
## 2025-05-24
|
|
273
|
+
|
|
274
|
+
* d29b5dc website doxygen cosmetics
|
|
275
|
+
* 8f90d06 website re-generate docs api
|
|
276
|
+
* efe9e95 website re-generate commons
|
|
277
|
+
* a1f8d68 website re-generate docs api
|
|
278
|
+
* 1b170fd package*.json bump deps
|
|
279
|
+
* c8c0efd add Docs wrapper
|
|
280
|
+
|
|
281
|
+
## 2025-05-23
|
|
282
|
+
|
|
283
|
+
* bebad3d website re-generate commons runOnStart
|
|
284
|
+
* 9861c51 re-generate top commons (no generate-doxygen)
|
|
285
|
+
* 3bfb114 fix topics.h H1
|
|
286
|
+
|
|
287
|
+
## 2025-05-22
|
|
288
|
+
|
|
289
|
+
* f0fa84f website re-generate docs api
|
|
290
|
+
* 22af156 type-traits.h fix warning
|
|
291
|
+
* 6ca4410 website re-generate docs api
|
|
292
|
+
* 054114e code fix doxygen errors
|
|
293
|
+
* ee4beec website re-generate docs
|
|
294
|
+
* dd2d262 code update doxygen for files & folders
|
|
295
|
+
* 8f4a2ad cosmetics
|
|
296
|
+
* 2db30dc move *-inlines.h to separate folder
|
|
297
|
+
* 08065b2 code split inlines into separate files
|
|
298
|
+
|
|
299
|
+
## 2025-05-21
|
|
300
|
+
|
|
301
|
+
* 6ace7d6 move throws & nothrow to inlines
|
|
302
|
+
* 00a29fb move function comparators to inlines
|
|
303
|
+
* 8b05ae6 test-suite-inlines.h fixes
|
|
304
|
+
* 38399a7 move expect & assume to inlines.h
|
|
305
|
+
* cf74ace move include inlines to test-reporter.h
|
|
306
|
+
* 62f00e7 move test_suite::test_suite to separate inline
|
|
307
|
+
* af7231f doxygen cosmetics
|
|
308
|
+
* a0aba61 website re-generate commons
|
|
309
|
+
* 8278aec re-generate commons
|
|
310
|
+
* 746e991 website cosmetics licenses/mit
|
|
311
|
+
|
|
312
|
+
## 2025-05-20
|
|
313
|
+
|
|
314
|
+
* 2209a6d website package-lock.json update
|
|
315
|
+
* 13daa54 website re-generate commons, bump deps
|
|
316
|
+
* 9b80736 website re-generate doxygen docs
|
|
317
|
+
* 44ee8dc doxygen updates
|
|
318
|
+
|
|
319
|
+
## 2025-05-18
|
|
320
|
+
|
|
321
|
+
* b4716ec re-generate top commons
|
|
322
|
+
* e897e3c tests re-generate commons
|
|
323
|
+
* 2a2d633 detail.h: fix doxygen
|
|
324
|
+
* 52c5636 website package.json bump deps
|
|
325
|
+
* 925e2c7 publish-github-pages.yml update
|
|
326
|
+
* 867fb72 website package.json bump deps
|
|
327
|
+
* dbed476 website package-lock.json update
|
|
328
|
+
* 7425379 website package.json use github deps
|
|
329
|
+
* 64825e3 website package.json bump deps
|
|
330
|
+
* 387961f publish-github-pages.yml update GITHUB_PATH
|
|
331
|
+
* 0fc37eb publish-github-pages.yml update build
|
|
332
|
+
* 590a68b website update
|
|
333
|
+
* 664e2a6 doxygen topics add ##Description
|
|
334
|
+
* 526405d literals.h replace @deprecated with @par
|
|
335
|
+
* 06b1ac9 website reorder @details
|
|
336
|
+
* fd2f81c sources move @details at the end
|
|
337
|
+
|
|
338
|
+
## 2025-05-17
|
|
339
|
+
|
|
340
|
+
* 987479c website updates
|
|
341
|
+
* 329fcc9 explicit void and cosmetics
|
|
342
|
+
* e1d4b86 website namespaces with full name
|
|
343
|
+
* 500f2e0 website docs api update with full doxygen metadata
|
|
344
|
+
* 64d1b71 website doxygen configuration split into separate files
|
|
345
|
+
* 44b464a source code full doxygen
|
|
346
|
+
|
|
347
|
+
## 2025-05-16
|
|
348
|
+
|
|
349
|
+
* 4199543 use @code/@endcode
|
|
350
|
+
* 42e258b website update with fully documented detail.h
|
|
351
|
+
* 2822be3 detail.h fully documented
|
|
352
|
+
* c75d146 website update doxygen
|
|
353
|
+
* 499b31f doxygen rephrase in british english
|
|
354
|
+
* 1639668 website faq update
|
|
355
|
+
* b70fef2 website update for moved headers; add documentation for folders
|
|
356
|
+
* 88a3163 move headers to include/micro-os-plus/micro-test-plus
|
|
357
|
+
* 6f6144a website rename doxygen topics files as .h
|
|
358
|
+
|
|
359
|
+
## 2025-05-15
|
|
360
|
+
|
|
361
|
+
* d2b8232 website @file @namespace updates
|
|
362
|
+
* 8706045 doxygen @file @namespace updates
|
|
363
|
+
* 142c64e website update
|
|
364
|
+
* 68c26b1 website rephrase all project files
|
|
365
|
+
* 20d2371 website api update topics
|
|
366
|
+
* 16fdd97 website update docusaurus config, sidebar and menu
|
|
367
|
+
* 8503518 website update topics and user's guide
|
|
368
|
+
|
|
369
|
+
## 2025-05-14
|
|
370
|
+
|
|
371
|
+
* ef6cb40 website re-generate commons
|
|
372
|
+
* ea4ed37 doxygen REPEAT_BRIEF = NO
|
|
373
|
+
* 3d93c1d website re-generate commons
|
|
374
|
+
* e884791 website move docusaurus jsons to top
|
|
375
|
+
|
|
376
|
+
## 2025-05-12
|
|
377
|
+
|
|
378
|
+
* 835d5e5 website fix index template parameters
|
|
379
|
+
* c6f4b98 website sort members
|
|
380
|
+
* 03ba6ee website update () for functions & Constructors sections
|
|
381
|
+
* f5050c0 website rename top topics
|
|
382
|
+
* 3ffd64a website update indices
|
|
383
|
+
|
|
384
|
+
## 2025-05-11
|
|
385
|
+
|
|
386
|
+
* bf33de1 website: add docusaurus-config-api-menu-dropdown.json
|
|
387
|
+
* 02f9451 website move folders index to files
|
|
388
|
+
* c903886 doxygen fix @par empty line
|
|
389
|
+
|
|
390
|
+
## 2025-05-10
|
|
391
|
+
|
|
392
|
+
* 80283a5 website update for default constructors & destructor
|
|
393
|
+
* c4c31b3 website: add redirectsOutputFolderPath to plugin
|
|
394
|
+
* 4350132 website update for @par Example
|
|
395
|
+
* b394f2b add an empty line after @par Example
|
|
396
|
+
* 99967a3 website update pages h1
|
|
397
|
+
* b7470b3 website namespaces add fqn
|
|
398
|
+
|
|
399
|
+
## 2025-05-09
|
|
400
|
+
|
|
401
|
+
* f42a5bf website update EnumerationListItem & Reference
|
|
402
|
+
|
|
403
|
+
## 2025-05-08
|
|
404
|
+
|
|
405
|
+
* a692dc5 website update enumeration
|
|
406
|
+
* 654a4ae website update docs/api
|
|
407
|
+
|
|
408
|
+
## 2025-04-30
|
|
409
|
+
|
|
410
|
+
* e54b9b8 add website api pages
|
|
411
|
+
* f302a91 update doxygen metadata
|
|
412
|
+
|
|
413
|
+
## 2025-04-25
|
|
414
|
+
|
|
415
|
+
* 75cfaa6 website re-generate commons
|
|
416
|
+
|
|
417
|
+
## 2025-03-16
|
|
418
|
+
|
|
419
|
+
* e9f4d19 website: re-generate commons
|
|
420
|
+
* b80ae62 website: blog post update
|
|
421
|
+
|
|
9
422
|
## 2025-03-15
|
|
10
423
|
|
|
11
|
-
*
|
|
12
|
-
*
|
|
424
|
+
* ed2ee93 website: blog post release 3.2.2 published
|
|
425
|
+
* 32950dc 3.2.2
|
|
426
|
+
* 10cf3b9 CHANGELOG: publish npm v3.2.2
|
|
427
|
+
* 234724a prepare v3.2.2
|
|
13
428
|
* 771e589 re-generate commons
|
|
14
429
|
|
|
15
430
|
## 2025-03-14
|
package/CMakeLists.txt
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# -----------------------------------------------------------------------------
|
|
2
2
|
#
|
|
3
3
|
# This file is part of the µOS++ project (https://micro-os-plus.github.io/).
|
|
4
|
-
# Copyright (c) 2021 Liviu Ionescu. All rights reserved.
|
|
4
|
+
# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
|
|
5
5
|
#
|
|
6
|
-
# Permission to use, copy, modify, and/or distribute this software
|
|
7
|
-
#
|
|
6
|
+
# Permission to use, copy, modify, and/or distribute this software for any
|
|
7
|
+
# purpose is hereby granted, under the terms of the MIT license.
|
|
8
8
|
#
|
|
9
|
-
# If a copy of the license was not distributed with this file, it can
|
|
10
|
-
#
|
|
9
|
+
# If a copy of the license was not distributed with this file, it can be
|
|
10
|
+
# obtained from https://opensource.org/licenses/mit.
|
|
11
11
|
#
|
|
12
12
|
# -----------------------------------------------------------------------------
|
|
13
13
|
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
# https://cmake.org/cmake/help/v3.20/
|
|
25
25
|
cmake_minimum_required(VERSION 3.20)
|
|
26
26
|
|
|
27
|
-
project(
|
|
28
|
-
micro-os-plus-micro-test-plus
|
|
29
|
-
DESCRIPTION "µTest++"
|
|
30
|
-
)
|
|
27
|
+
project(micro-os-plus-micro-test-plus DESCRIPTION "µTest++")
|
|
31
28
|
|
|
32
|
-
# To access the optional functions,
|
|
33
|
-
#
|
|
29
|
+
# To access the optional functions, include the
|
|
30
|
+
# `cmake/micro-os-plus-build-helper.cmake` file from the
|
|
31
|
+
# `@micro-os-plus/build-helper` package.
|
|
34
32
|
|
|
35
33
|
if(COMMAND xpack_get_package_name_and_version)
|
|
36
34
|
xpack_get_package_name_and_version("${CMAKE_CURRENT_SOURCE_DIR}/package.json")
|
|
37
|
-
message(VERBOSE
|
|
35
|
+
message(VERBOSE
|
|
36
|
+
"Processing xPack ${PACKAGE_JSON_NAME}@${PACKAGE_JSON_VERSION}..."
|
|
37
|
+
)
|
|
38
38
|
endif()
|
|
39
39
|
|
|
40
40
|
# -----------------------------------------------------------------------------
|
|
@@ -42,32 +42,30 @@ endif()
|
|
|
42
42
|
# The project library definitions.
|
|
43
43
|
|
|
44
44
|
# https://cmake.org/cmake/help/v3.20/command/add_library.html?highlight=interface#normal-libraries
|
|
45
|
-
# PRIVATE: build definitions, used internally
|
|
46
|
-
#
|
|
47
|
-
# PUBLIC: both
|
|
45
|
+
# PRIVATE: build definitions, used internally INTERFACE: usage definitions,
|
|
46
|
+
# passed up to targets linking to it PUBLIC: both
|
|
48
47
|
add_library(micro-os-plus-micro-test-plus-interface INTERFACE)
|
|
49
48
|
|
|
50
|
-
target_include_directories(
|
|
51
|
-
"include"
|
|
49
|
+
target_include_directories(
|
|
50
|
+
micro-os-plus-micro-test-plus-interface INTERFACE "include"
|
|
52
51
|
)
|
|
53
52
|
|
|
54
|
-
target_sources(
|
|
55
|
-
|
|
56
|
-
"src/test-runner.cpp"
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
target_sources(
|
|
54
|
+
micro-os-plus-micro-test-plus-interface
|
|
55
|
+
INTERFACE "src/micro-test-plus.cpp" "src/test-runner.cpp"
|
|
56
|
+
"src/test-reporter.cpp" "src/test-reporter-basic.cpp"
|
|
57
|
+
"src/test-reporter-tap.cpp" "src/test-suite.cpp"
|
|
59
58
|
)
|
|
60
59
|
|
|
61
|
-
target_compile_definitions(
|
|
62
|
-
# None.
|
|
60
|
+
target_compile_definitions(
|
|
61
|
+
micro-os-plus-micro-test-plus-interface INTERFACE # None.
|
|
63
62
|
)
|
|
64
63
|
|
|
65
|
-
target_compile_options(
|
|
66
|
-
# None.
|
|
64
|
+
target_compile_options(
|
|
65
|
+
micro-os-plus-micro-test-plus-interface INTERFACE # None.
|
|
67
66
|
)
|
|
68
67
|
|
|
69
|
-
target_link_libraries(micro-os-plus-micro-test-plus-interface INTERFACE
|
|
70
|
-
# None.
|
|
68
|
+
target_link_libraries(micro-os-plus-micro-test-plus-interface INTERFACE # None.
|
|
71
69
|
)
|
|
72
70
|
|
|
73
71
|
if(COMMAND xpack_display_target_lists)
|
|
@@ -78,7 +76,12 @@ endif()
|
|
|
78
76
|
|
|
79
77
|
# Aliases.
|
|
80
78
|
# https://cmake.org/cmake/help/v3.20/command/add_library.html#alias-libraries
|
|
81
|
-
add_library(
|
|
82
|
-
|
|
79
|
+
add_library(
|
|
80
|
+
micro-os-plus::micro-test-plus ALIAS micro-os-plus-micro-test-plus-interface
|
|
81
|
+
)
|
|
82
|
+
message(
|
|
83
|
+
VERBOSE
|
|
84
|
+
"> micro-os-plus::micro-test-plus -> micro-os-plus-micro-test-plus-interface"
|
|
85
|
+
)
|
|
83
86
|
|
|
84
87
|
# -----------------------------------------------------------------------------
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021 Liviu Ionescu. All rights reserved.
|
|
3
|
+
Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ For information on how to install and use this project, please refer to the
|
|
|
15
15
|
## Project source
|
|
16
16
|
|
|
17
17
|
The source code of the current release is available on
|
|
18
|
-
[GitHub tag v3.
|
|
18
|
+
[GitHub tag v3.3.0 tree](https://github.com/micro-os-plus/micro-test-plus-xpack/tree/v3.3.0).
|
|
19
19
|
|
|
20
20
|
## License
|
|
21
21
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"minimumXcdlRequired": "2.0.0",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"copyright": "Copyright (c) 2022 Liviu Ionescu. All rights reserved.",
|
|
4
|
+
"copyright": "Copyright (c) 2022-2026 Liviu Ionescu. All rights reserved.",
|
|
5
5
|
"cdlPackage": {
|
|
6
6
|
"name": "micro-test-plus",
|
|
7
7
|
"description": "µTest++, a lightweight testing framework for embedded platforms",
|
|
8
8
|
"parent": "micro-os-plus",
|
|
9
9
|
"compilerIncludeFolders": [
|
|
10
|
-
"include"
|
|
10
|
+
"../include"
|
|
11
11
|
],
|
|
12
12
|
"compilerSourceFiles": [
|
|
13
|
-
"src/micro-test-plus.cpp",
|
|
14
|
-
"src/test-runner.cpp",
|
|
15
|
-
"src/test-reporter.cpp",
|
|
16
|
-
"src/test-suite.cpp"
|
|
13
|
+
"../src/micro-test-plus.cpp",
|
|
14
|
+
"../src/test-runner.cpp",
|
|
15
|
+
"../src/test-reporter.cpp",
|
|
16
|
+
"../src/test-suite.cpp"
|
|
17
17
|
],
|
|
18
18
|
"compilerDefinitions": [],
|
|
19
19
|
"compilerOptions": [],
|