@micro-os-plus/micro-test-plus 3.2.0 → 3.2.3

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.
Files changed (42) hide show
  1. package/.cmake-format.yaml +11 -0
  2. package/CHANGELOG.md +502 -11
  3. package/CMakeLists.txt +33 -32
  4. package/LICENSE +1 -1
  5. package/README.md +15 -14
  6. package/config/xcdl-build.json +32 -0
  7. package/include/micro-os-plus/micro-test-plus/detail.h +1885 -0
  8. package/include/micro-os-plus/micro-test-plus/function-comparators.h +333 -0
  9. package/include/micro-os-plus/micro-test-plus/inlines/details-inlines.h +172 -0
  10. package/include/micro-os-plus/micro-test-plus/inlines/function-comparators-inlines.h +341 -0
  11. package/include/micro-os-plus/micro-test-plus/inlines/literals-inlines.h +604 -0
  12. package/include/micro-os-plus/micro-test-plus/inlines/math-inlines.h +315 -0
  13. package/include/micro-os-plus/micro-test-plus/inlines/micro-test-plus-inlines.h +313 -0
  14. package/include/micro-os-plus/micro-test-plus/inlines/reflection-inlines.h +170 -0
  15. package/include/micro-os-plus/micro-test-plus/inlines/test-reporter-inlines.h +471 -0
  16. package/include/micro-os-plus/micro-test-plus/inlines/test-suite-inlines.h +115 -0
  17. package/include/micro-os-plus/micro-test-plus/literals.h +912 -0
  18. package/include/micro-os-plus/micro-test-plus/math.h +217 -0
  19. package/include/micro-os-plus/micro-test-plus/operators.h +514 -0
  20. package/include/micro-os-plus/micro-test-plus/reflection.h +233 -0
  21. package/include/micro-os-plus/micro-test-plus/test-reporter.h +801 -0
  22. package/include/micro-os-plus/micro-test-plus/test-runner.h +241 -0
  23. package/include/micro-os-plus/micro-test-plus/test-suite.h +456 -0
  24. package/include/micro-os-plus/micro-test-plus/type-traits.h +1148 -0
  25. package/include/micro-os-plus/micro-test-plus.h +171 -554
  26. package/meson.build +6 -7
  27. package/package.json +40 -32
  28. package/src/micro-test-plus.cpp +143 -42
  29. package/src/test-reporter.cpp +350 -9
  30. package/src/test-runner.cpp +77 -14
  31. package/src/test-suite.cpp +132 -14
  32. package/LICENSE-Boost +0 -23
  33. package/include/micro-os-plus/detail.h +0 -766
  34. package/include/micro-os-plus/inlines.h +0 -204
  35. package/include/micro-os-plus/literals.h +0 -513
  36. package/include/micro-os-plus/math.h +0 -205
  37. package/include/micro-os-plus/reflection.h +0 -139
  38. package/include/micro-os-plus/test-reporter-inlines.h +0 -231
  39. package/include/micro-os-plus/test-reporter.h +0 -357
  40. package/include/micro-os-plus/test-runner.h +0 -133
  41. package/include/micro-os-plus/test-suite.h +0 -307
  42. package/include/micro-os-plus/type-traits.h +0 -390
@@ -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,9 +6,500 @@ 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-17
10
+
11
+ * v3.2.3 published on npmjs.com
12
+ * v3.2.3 prepared
13
+ * 7943290 package.json update
14
+ * d40573b settings.json update
15
+ * 6eaed82 re-generate website
16
+ * 6c53c08 re-generate tests commons
17
+
18
+ ## 2026-03-15
19
+
20
+ * f785a0d re-generate tests commons with define-executables
21
+ * 28700b7 re-generate tests commons; xpacks_enable_*
22
+ * 87c04ad settings.json update cmake defaultFormatter
23
+ * fa4719e tests: update to simplified platform aliases
24
+
25
+ ## 2026-03-13
26
+
27
+ * 1df6029 package-lovk.json update
28
+ * c94b7cf re-generate tests commons
29
+ * b3ec2a9 tests meson cosmetics
30
+ * 4045da4 tests cmake reformat
31
+ * 42e6f65 tests add DO NOT EDIT
32
+ * 0c2c517 ad and use project-functions.cmake
33
+
34
+ ## 2026-03-12
35
+
36
+ * 9f3eba2 tests infrastructure update
37
+ * 9270993 dependencies-folders use project folders
38
+ * a3d23f4 tests: project-definitions
39
+ * b080e20 *-test: fix message > dependency
40
+ * acf22f4 cmake: move CMAKE_EXPORT_COMPILE_COMMANDS up
41
+
42
+ ## 2026-03-11
43
+
44
+ * 861b4ca move xcdl-build.json
45
+ * 8e0540a re-generate top commons
46
+
47
+ ## 2026-03-10
48
+
49
+ * f16de5e README update
50
+ * f68a8d9 package*.json updates
51
+ * 3a0bd1a workflows update to 0.23.2
52
+
53
+ ## 2026-03-09
54
+
55
+ * 85aca94 tests/package*.json bump deps
56
+ * 9a7ccbf tests/package.json: explicit dependencies specifier & platforms
57
+ * fd40e7b try xpm install -dd
58
+ * e29a752 try xpm install -dd
59
+ * 3641e20 re-generate top commons
60
+ * a42b3d8 package*.json update
61
+ * fc922bf test-ci.yml: bump deps
62
+ * 250ddb4 test-ci.yml: bump deps
63
+
64
+ ## 2026-03-08
65
+
66
+ * 9356141 package.json cosmetics
67
+ * 4ffc072 website copyright 2026 update
68
+ * 6060eb9 tests/package.json: bump deps
69
+ * 42a0eaf silence warnings
70
+
71
+ ## 2026-01-19
72
+
73
+ * 27d753f package.json update ctest --test-dir
74
+
75
+ ## 2026-01-18
76
+
77
+ * 7f5dd8c package.json: group deps releases
78
+ * 8ac2c5b package.json compute latest release
79
+
80
+ ## 2026-01-17
81
+
82
+ * 2ac5ca4 package.json update with templates
83
+
84
+ ## 2026-01-16
85
+
86
+ * efd0b74 package.json: update inherits
87
+ * a5ad31e package.json: update toochain names
88
+ * a6e7fb6 package.json template actions
89
+
90
+ ## 2026-01-15
91
+
92
+ * 92a7d78 settings.json: configure meson false
93
+
94
+ ## 2026-01-06
95
+
96
+ * 489d204 workflows update
97
+ * c149bda package.json 3.2.3-pre
98
+ * 5f2f0cc CHANGELOG update
99
+ * dafef2a copyright reformat following cmake
100
+ * c1bb7e4 Copyright 2026
101
+ * 9543dc5 package*.json bump deps
102
+ * cdb7c12 CMakeLists.txt reformat
103
+ * 55d1500 add .cmake-format.yaml
104
+ * b127ac5 settings.json update
105
+ * 578d545 include: fix doxygen
106
+ * 710c8ff tests rework & reformat cmake
107
+
108
+ ## 2025-11-20
109
+
110
+ * c1459d7 npm --prefix
111
+ * 414f4da npm --prefix
112
+ * 5460362 silence warnings
113
+ * d2032d5 replace auto -> source_location
114
+
115
+ ## 2025-10-07
116
+
117
+ * f099ea9 update copyright notices
118
+
119
+ ## 2025-08-23
120
+
121
+ * 6e09fe5 tests/package.json disable clang 15
122
+ * caba436 tests native rework
123
+ * 1ba174e tests top meson.build
124
+ * e6ce35c tests global-definitions add minimal test
125
+ * db8a14b no need for top config.h
126
+ * 1c926ff move tests to folders
127
+ * 858b92d move code from test-main.cmake to top
128
+
129
+ ## 2025-08-22
130
+
131
+ * 8dbfa79 fix typo
132
+
133
+ ## 2025-08-08
134
+
135
+ * ab3b7ab website update Generated via
136
+ * 7d69688 website update Generated via links
137
+
138
+ ## 2025-07-30
139
+
140
+ * 31ed4de add doxygen back to git
141
+
142
+ ## 2025-07-29
143
+
144
+ * 621040d website update sidebar
145
+ * 53124cc website update without The ... Reference
146
+
147
+ ## 2025-07-14
148
+
149
+ * b878ad9 website update for tree tables
150
+
151
+ ## 2025-07-10
152
+
153
+ * 38442a1 website/package.json update d2d config
154
+ * fb828ce website package.json update link-helpers
155
+ * e9132f8 website update for doxygen2docusaurus
156
+
157
+ ## 2025-07-06
158
+
159
+ * 897d07e website reorder index without ~
160
+ * f571fce website rework index files
161
+ * 9da3278 website update with treeEntryName
162
+ * ea87f50 fix broken links in test/md
163
+ * be89733 publish-github-pages.yml update
164
+ * 48f427d website update
165
+ * b016885 website/doxygen update
166
+ * 25fddfa reflection-inlines.h update doxy metadata
167
+
168
+ ## 2025-06-19
169
+
170
+ * afa713d publish-github-pages without doxygen
171
+ * a65e1f8 website package.json cleanup
172
+ * d0fbaf3 website re-generate as html
173
+
174
+ ## 2025-06-16
175
+
176
+ * 4593547 website docs api update
177
+ * 99e639a website doxygen xml update
178
+ * b8132ed website doxygen update
179
+
180
+ ## 2025-06-11
181
+
182
+ * c2f2863 website update
183
+
184
+ ## 2025-06-06
185
+
186
+ * c9ae57b website docusaurus.config.ts comment out faster
187
+ * 3e913cb website docusaurus.config.ts enable faster
188
+ * e8e05e4 website package*.json add faster
189
+ * b518e57 website docusaurus.config.ts revert to using preset
190
+ * c43d1a9 website package*.json 3.8.1
191
+ * 2a5c0f3 website regenerate
192
+ * e66973e move @mainpage to doxygen folder
193
+
194
+ ## 2025-06-05
195
+
196
+ * 4154858 update package*.json
197
+ * 3c7a543 website package*.json update
198
+ * 16888c7 website add doxygen/xml
199
+ * e37c3fb website update config and docs/api
200
+
201
+ ## 2025-05-26
202
+
203
+ * 1ede877 website re-generate commons 1.14.0
204
+ * a6be438 package*.json update
205
+ * 35df5ab re-generate commons doxygen 1.14.0
206
+
207
+ ## 2025-05-24
208
+
209
+ * d29b5dc website doxygen cosmetics
210
+ * 8f90d06 website re-generate docs api
211
+ * efe9e95 website re-generate commons
212
+ * a1f8d68 website re-generate docs api
213
+ * 1b170fd package*.json bump deps
214
+ * c8c0efd add Docs wrapper
215
+
216
+ ## 2025-05-23
217
+
218
+ * bebad3d website re-generate commons runOnStart
219
+ * 9861c51 re-generate top commons (no generate-doxygen)
220
+ * 3bfb114 fix topics.h H1
221
+
222
+ ## 2025-05-22
223
+
224
+ * f0fa84f website re-generate docs api
225
+ * 22af156 type-traits.h fix warning
226
+ * 6ca4410 website re-generate docs api
227
+ * 054114e code fix doxygen errors
228
+ * ee4beec website re-generate docs
229
+ * dd2d262 code update doxygen for files & folders
230
+ * 8f4a2ad cosmetics
231
+ * 2db30dc move *-inlines.h to separate folder
232
+ * 08065b2 code split inlines into separate files
233
+
234
+ ## 2025-05-21
235
+
236
+ * 6ace7d6 move throws & nothrow to inlines
237
+ * 00a29fb move function comparators to inlines
238
+ * 8b05ae6 test-suite-inlines.h fixes
239
+ * 38399a7 move expect & assume to inlines.h
240
+ * cf74ace move include inlines to test-reporter.h
241
+ * 62f00e7 move test_suite::test_suite to separate inline
242
+ * af7231f doxygen cosmetics
243
+ * a0aba61 website re-generate commons
244
+ * 8278aec re-generate commons
245
+ * 746e991 website cosmetics licenses/mit
246
+
247
+ ## 2025-05-20
248
+
249
+ * 2209a6d website package-lock.json update
250
+ * 13daa54 website re-generate commons, bump deps
251
+ * 9b80736 website re-generate doxygen docs
252
+ * 44ee8dc doxygen updates
253
+
254
+ ## 2025-05-18
255
+
256
+ * b4716ec re-generate top commons
257
+ * e897e3c tests re-generate commons
258
+ * 2a2d633 detail.h: fix doxygen
259
+ * 52c5636 website package.json bump deps
260
+ * 925e2c7 publish-github-pages.yml update
261
+ * 867fb72 website package.json bump deps
262
+ * dbed476 website package-lock.json update
263
+ * 7425379 website package.json use github deps
264
+ * 64825e3 website package.json bump deps
265
+ * 387961f publish-github-pages.yml update GITHUB_PATH
266
+ * 0fc37eb publish-github-pages.yml update build
267
+ * 590a68b website update
268
+ * 664e2a6 doxygen topics add ##Description
269
+ * 526405d literals.h replace @deprecated with @par
270
+ * 06b1ac9 website reorder @details
271
+ * fd2f81c sources move @details at the end
272
+
273
+ ## 2025-05-17
274
+
275
+ * 987479c website updates
276
+ * 329fcc9 explicit void and cosmetics
277
+ * e1d4b86 website namespaces with full name
278
+ * 500f2e0 website docs api update with full doxygen metadata
279
+ * 64d1b71 website doxygen configuration split into separate files
280
+ * 44b464a source code full doxygen
281
+
282
+ ## 2025-05-16
283
+
284
+ * 4199543 use @code/@endcode
285
+ * 42e258b website update with fully documented detail.h
286
+ * 2822be3 detail.h fully documented
287
+ * c75d146 website update doxygen
288
+ * 499b31f doxygen rephrase in british english
289
+ * 1639668 website faq update
290
+ * b70fef2 website update for moved headers; add documentation for folders
291
+ * 88a3163 move headers to include/micro-os-plus/micro-test-plus
292
+ * 6f6144a website rename doxygen topics files as .h
293
+
294
+ ## 2025-05-15
295
+
296
+ * d2b8232 website @file @namespace updates
297
+ * 8706045 doxygen @file @namespace updates
298
+ * 142c64e website update
299
+ * 68c26b1 website rephrase all project files
300
+ * 20d2371 website api update topics
301
+ * 16fdd97 website update docusaurus config, sidebar and menu
302
+ * 8503518 website update topics and user's guide
303
+
304
+ ## 2025-05-14
305
+
306
+ * ef6cb40 website re-generate commons
307
+ * ea4ed37 doxygen REPEAT_BRIEF = NO
308
+ * 3d93c1d website re-generate commons
309
+ * e884791 website move docusaurus jsons to top
310
+
311
+ ## 2025-05-12
312
+
313
+ * 835d5e5 website fix index template parameters
314
+ * c6f4b98 website sort members
315
+ * 03ba6ee website update () for functions & Constructors sections
316
+ * f5050c0 website rename top topics
317
+ * 3ffd64a website update indices
318
+
319
+ ## 2025-05-11
320
+
321
+ * bf33de1 website: add docusaurus-config-api-menu-dropdown.json
322
+ * 02f9451 website move folders index to files
323
+ * c903886 doxygen fix @par empty line
324
+
325
+ ## 2025-05-10
326
+
327
+ * 80283a5 website update for default constructors & destructor
328
+ * c4c31b3 website: add redirectsOutputFolderPath to plugin
329
+ * 4350132 website update for @par Example
330
+ * b394f2b add an empty line after @par Example
331
+ * 99967a3 website update pages h1
332
+ * b7470b3 website namespaces add fqn
333
+
334
+ ## 2025-05-09
335
+
336
+ * f42a5bf website update EnumerationListItem & Reference
337
+
338
+ ## 2025-05-08
339
+
340
+ * a692dc5 website update enumeration
341
+ * 654a4ae website update docs/api
342
+
343
+ ## 2025-04-30
344
+
345
+ * e54b9b8 add website api pages
346
+ * f302a91 update doxygen metadata
347
+
348
+ ## 2025-04-25
349
+
350
+ * 75cfaa6 website re-generate commons
351
+
352
+ ## 2025-03-16
353
+
354
+ * e9f4d19 website: re-generate commons
355
+ * b80ae62 website: blog post update
356
+
357
+ ## 2025-03-15
358
+
359
+ * ed2ee93 website: blog post release 3.2.2 published
360
+ * 32950dc 3.2.2
361
+ * 10cf3b9 CHANGELOG: publish npm v3.2.2
362
+ * 234724a prepare v3.2.2
363
+ * 771e589 re-generate commons
364
+
365
+ ## 2025-03-14
366
+
367
+ * 1475002 re-generate top commons
368
+ * 464a485 re-generate top commons
369
+ * 632bcc8 publish-github-pages update
370
+ * d89c851 website: blog post release 3.2.1 published
371
+ * c70d3e0 3.2.1
372
+ * 60103cd prepare v3.2.1
373
+ * 8daa820 website: update post
374
+ * 703dcf9 website: re-generate commons & blog posts
375
+ * 564f37f tests: re-generate commons
376
+
377
+ ## 2025-03-12
378
+
379
+ * a7dc192 re-generate commons with long description
380
+ * ae24148 website: re-generate commons
381
+ * 0c97d4e website: re-generate commons
382
+ * 7c01414 website: re-generate commons
383
+ * 31d25ac website: re-generate commons
384
+
385
+ ## 2025-03-11
386
+
387
+ * e0db831 website: re-generate commons
388
+ * e31417b website: re-generate commons
389
+ * 0350fa2 website: re-generate with longer descriptiveName
390
+
391
+ ## 2025-03-10
392
+
393
+ * f514bf6 website: re-generate commons
394
+ * 3ba95c6 website: re-generate commons major
395
+
396
+ ## 2025-03-05
397
+
398
+ * 30197db website: green
399
+
400
+ ## 2025-03-04
401
+
402
+ * 57afe72 website: fix pathname:// links
403
+ * 24e28c1 website: getting-started rework
404
+ * 73abd63 config.doxyfile: disable XML for now
405
+ * af1383f docusaurus*: use pathname:///
406
+ * d963f3d docusaurus*: accept broken links
407
+ * ba6a4e9 *redirect.ts remove '/reference'
408
+ * d71fa22 re-generate commons
409
+ * 2cc8dd6 website docusaurus test
410
+
411
+ ## 2025-03-03
412
+
413
+ * 17fc2c5 doxygen/.gitignore
414
+
415
+ ## 2025-03-02
416
+
417
+ * e233776 website: move doxygen files to separate folder
418
+ * 32ff366 tests/package-lock.json update
419
+
420
+ ## 2025-02-28
421
+
422
+ * 435d61f copyright notices cosmetics
423
+ * c228aef tests: re-generate commons
424
+ * d178ebe re-generate workflows
425
+ * 5f78801 test-all: fix clear cache syntax
426
+
427
+ ## 2025-02-27
428
+
429
+ * 9a6ecf5 test-all: fix clear cache syntax
430
+ * 5a78a81 test-all: fix clear cache syntax
431
+ * df341b9 test-all: fix clear cache syntax
432
+ * 4c56913 test-all: clean xPack cache
433
+ * 76606cb re-generate workflows
434
+ * 6472bc0 tests/native/meson -rtlib=compiler-rt
435
+ * e5bed09 tests/native/cmake remove duplicate -stdlib=libc++
436
+ * 5425929 tests/package.json: add native-meson-clang to test-ci
437
+ * 9babed3 tests/native meson -stdlib=libc++
438
+ * 1fe540d reflection.h: unsigned int line
439
+
440
+ ## 2025-02-26
441
+
442
+ * 4d46b66 package.json fix action test
443
+ * c76db36 package.json add git-pull-helper
444
+ * cac8c46 tests/package.json: bump helper
445
+ * 8274320 tests/package-lock.json update
446
+ * db0f79a re-generate commons
447
+ * 052057d workflows: update
448
+
449
+ ## 2025-02-25
450
+
451
+ * 808db36 workflows cosmetics
452
+ * 6531845 meson/common-options: fix link_args
453
+ * 241c368 workflows: npm -C
454
+ * b867523 workflows: &&
455
+ * 2636562 workflows: remove windows 2019
456
+ * 8aca778 tests/package-local.json
457
+ * 9650766 re-generate commons
458
+ * 34695b1 xcdl.json update
459
+
460
+ ## 2025-02-24
461
+
462
+ * cca99a3 package.json: update topConfig
463
+ * 6b926ad package.json update
464
+ * 66412e3 package.json: add topConfig
465
+ * eab469f re-generate workflows
466
+ * 5fc7f95 test-ci.yml: fix install-ci
467
+ * de675ce test-ci.yml: fix install-ci
468
+ * cf02869 rename test-ci.yml
469
+ * 8a8431d ci.yml update
470
+ * 94d8603 tests/package*.json: bump deps
471
+ * 05e42b2 platforms/native: update RPATH
472
+ * 00c2a30 publish-github-pages.yml: update from npm helper
473
+ * 5a1770c website: update for node_modules
474
+ * 328857c re-generate commons
475
+ * a8a661e package*.json: use npm & extract xcdl.json
476
+ * d3c7750 silence documentation warnings
477
+
478
+ ## 2024-11-21
479
+
480
+ * c3847f1 rename xpack-development
481
+ * e7b1d9b rename MICRO_OS_PLUS_TRACE_MICRO_TEST_PLUS
482
+ * 459143c package.json: add cdlComponents
483
+ * ffaf7b1 tests/package.json CMAKE_MAKE_PROGRAM only on windows
484
+ * 5cf103a update copyright notice
485
+
486
+ ## 2024-02-14
487
+
488
+ * a1b201a tests/package.json: add short win path to meson
489
+ * 3269a0e tests/package.json: explicit CMAKE_MAKE_PROGRAM
490
+
491
+ ## 2023-12-26
492
+
493
+ * 7c113ee README update
494
+ * b534088 credits.md: remove macstadium.com opensource
495
+ * 11ffc8b website/pages/home.md: cleanup dummy links
496
+ * acefd31 publish-github-pages.yml: bump doxygen 1.10.0
497
+ * b24ad6b cmake cosmetics
498
+
9
499
  ## 2023-12-06
10
500
 
11
- * v3.2.0
501
+ * 7a2ee88 3.2.0
502
+ * 2a6abf2 prepare v3.2.0
12
503
  * 90963ce micro-test-plus.h cosmetics
13
504
  * c57c46e literals.h: silence clang deprecation warning
14
505
  * f776b18 doxygen metadata: add @headerfile
@@ -113,16 +604,16 @@ and close existing issues and pull requests.
113
604
  ## 2023-11-25
114
605
 
115
606
  * 509ff38 home.md: add Manual Pages
116
- 2023-11-25 * eed0475 tests/package.json: add install/tes-latest
117
- 2023-11-25 * d2a23dd tests/README update
118
- 2023-11-25 * a755996 maintainer.md: update
119
- 2023-11-25 * 17866f0 tests/package.json: add more selected
120
- 2023-11-25 * 593b361 tests/package.json: fix syntax
121
- 2023-11-25 * bbe15ab tests/package.json: fix syntax
122
- 2023-11-25 * 1456260 tests/package.json: re-enable some tests
123
- 2023-11-25 * c8f7c5a tests/package.json: reorder actions
124
- 2023-11-25 * 68626be tests/package.json: fix install-selected
125
- 2023-11-25 * 079df5c tests/package.json: cleanup actions
607
+ * eed0475 tests/package.json: add install/tes-latest
608
+ * d2a23dd tests/README update
609
+ * a755996 maintainer.md: update
610
+ * 17866f0 tests/package.json: add more selected
611
+ * 593b361 tests/package.json: fix syntax
612
+ * bbe15ab tests/package.json: fix syntax
613
+ * 1456260 tests/package.json: re-enable some tests
614
+ * c8f7c5a tests/package.json: reorder actions
615
+ * 68626be tests/package.json: fix install-selected
616
+ * 079df5c tests/package.json: cleanup actions
126
617
 
127
618
  ## 2023-11-24
128
619
 
package/CMakeLists.txt CHANGED
@@ -1,14 +1,13 @@
1
1
  # -----------------------------------------------------------------------------
2
2
  #
3
- # This file is part of the µOS++ distribution.
4
- # (https://github.com/micro-os-plus/)
5
- # Copyright (c) 2021 Liviu Ionescu
3
+ # This file is part of the µOS++ project (https://micro-os-plus.github.io/).
4
+ # Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
6
5
  #
7
- # Permission to use, copy, modify, and/or distribute this software
8
- # for any purpose is hereby granted, under the terms of the MIT license.
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.
9
8
  #
10
- # If a copy of the license was not distributed with this file, it can
11
- # be obtained from https://opensource.org/licenses/MIT/.
9
+ # If a copy of the license was not distributed with this file, it can be
10
+ # obtained from https://opensource.org/licenses/mit.
12
11
  #
13
12
  # -----------------------------------------------------------------------------
14
13
 
@@ -25,17 +24,17 @@
25
24
  # https://cmake.org/cmake/help/v3.20/
26
25
  cmake_minimum_required(VERSION 3.20)
27
26
 
28
- project(
29
- micro-os-plus-micro-test-plus
30
- DESCRIPTION "µTest++"
31
- )
27
+ project(micro-os-plus-micro-test-plus DESCRIPTION "µTest++")
32
28
 
33
- # To access the optional functions, add `@micro-os-plus/build-helper` as a
34
- # dependency and include the `cmake/micro-os-plus-build-helper.cmake` file.
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.
35
32
 
36
33
  if(COMMAND xpack_get_package_name_and_version)
37
34
  xpack_get_package_name_and_version("${CMAKE_CURRENT_SOURCE_DIR}/package.json")
38
- message(VERBOSE "Processing xPack ${PACKAGE_JSON_NAME}@${PACKAGE_JSON_VERSION}...")
35
+ message(VERBOSE
36
+ "Processing xPack ${PACKAGE_JSON_NAME}@${PACKAGE_JSON_VERSION}..."
37
+ )
39
38
  endif()
40
39
 
41
40
  # -----------------------------------------------------------------------------
@@ -43,32 +42,29 @@ endif()
43
42
  # The project library definitions.
44
43
 
45
44
  # https://cmake.org/cmake/help/v3.20/command/add_library.html?highlight=interface#normal-libraries
46
- # PRIVATE: build definitions, used internally
47
- # INTERFACE: usage definitions, passed up to targets linking to it
48
- # PUBLIC: both
45
+ # PRIVATE: build definitions, used internally INTERFACE: usage definitions,
46
+ # passed up to targets linking to it PUBLIC: both
49
47
  add_library(micro-os-plus-micro-test-plus-interface INTERFACE)
50
48
 
51
- target_include_directories(micro-os-plus-micro-test-plus-interface INTERFACE
52
- "include"
49
+ target_include_directories(
50
+ micro-os-plus-micro-test-plus-interface INTERFACE "include"
53
51
  )
54
52
 
55
- target_sources(micro-os-plus-micro-test-plus-interface INTERFACE
56
- "src/micro-test-plus.cpp"
57
- "src/test-runner.cpp"
58
- "src/test-reporter.cpp"
59
- "src/test-suite.cpp"
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-suite.cpp"
60
57
  )
61
58
 
62
- target_compile_definitions(micro-os-plus-micro-test-plus-interface INTERFACE
63
- # None.
59
+ target_compile_definitions(
60
+ micro-os-plus-micro-test-plus-interface INTERFACE # None.
64
61
  )
65
62
 
66
- target_compile_options(micro-os-plus-micro-test-plus-interface INTERFACE
67
- # None.
63
+ target_compile_options(
64
+ micro-os-plus-micro-test-plus-interface INTERFACE # None.
68
65
  )
69
66
 
70
- target_link_libraries(micro-os-plus-micro-test-plus-interface INTERFACE
71
- # None.
67
+ target_link_libraries(micro-os-plus-micro-test-plus-interface INTERFACE # None.
72
68
  )
73
69
 
74
70
  if(COMMAND xpack_display_target_lists)
@@ -79,7 +75,12 @@ endif()
79
75
 
80
76
  # Aliases.
81
77
  # https://cmake.org/cmake/help/v3.20/command/add_library.html#alias-libraries
82
- add_library(micro-os-plus::micro-test-plus ALIAS micro-os-plus-micro-test-plus-interface)
83
- message(VERBOSE "> micro-os-plus::micro-test-plus -> micro-os-plus-micro-test-plus-interface")
78
+ add_library(
79
+ micro-os-plus::micro-test-plus ALIAS micro-os-plus-micro-test-plus-interface
80
+ )
81
+ message(
82
+ VERBOSE
83
+ "> micro-os-plus::micro-test-plus -> micro-os-plus-micro-test-plus-interface"
84
+ )
84
85
 
85
86
  # -----------------------------------------------------------------------------
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Liviu Ionescu
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
@@ -1,25 +1,26 @@
1
1
  [![GitHub package.json version](https://img.shields.io/github/package-json/v/micro-os-plus/micro-test-plus-xpack)](https://github.com/micro-os-plus/micro-test-plus-xpack/blob/xpack/package.json)
2
- [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/micro-os-plus/micro-test-plus-xpack)](https://github.com/micro-os-plus/micro-test-plus-xpack/tags/)
3
- [![npm (scoped)](https://img.shields.io/npm/v/@micro-os-plus/micro-test-plus.svg?color=blue)](https://www.npmjs.com/package/@micro-os-plus/micro-test-plus/)
4
- [![license](https://img.shields.io/badge/license-MIT-blue)](https://github.com/micro-os-plus/micro-test-plus-xpack/blob/xpack/LICENSE)
5
- [![CI on Push](https://github.com/micro-os-plus/micro-test-plus-xpack/actions/workflows/ci.yml/badge.svg)](https://github.com/micro-os-plus/micro-test-plus-xpack/actions/workflows/ci.yml)
6
- [![Website](https://img.shields.io/website?url=https%3A%2F%2Fmicro-os-plus.github.io%2Fmicro-test-plus-xpack%2F)](https://micro-os-plus.github.io/micro-test-plus-xpack/)
2
+ [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/micro-os-plus/micro-test-plus-xpack?color=blue)](https://github.com/micro-os-plus/micro-test-plus-xpack/tags)
3
+ [![NPM Version](https://img.shields.io/npm/v/@micro-os-plus/micro-test-plus?color=blue)](https://www.npmjs.com/package/@micro-os-plus/micro-test-plus/)
4
+ [![license](https://img.shields.io/github/license/micro-os-plus/micro-test-plus-xpack)](https://github.com/micro-os-plus/micro-test-plus-xpack/blob/xpack/LICENSE)
7
5
 
8
- # A source code library with µTest++, a lightweight testing framework for embedded platforms
6
+ # The µTest++ Testing Framework
9
7
 
10
- The **µTest++** project (_micro test plus_) provides a small memory footprint
11
- testing framework, intended for running unit tests on embedded
12
- platforms.
8
+ A source code library with µTest++, a lightweight testing framework for embedded platforms.
13
9
 
14
- ## [Project documentation](https://micro-os-plus.github.io/micro-test-plus-xpack/)
10
+ ## Project documentation
15
11
 
16
- For information on how to integrate and use this library, please refer to the
17
- [project documentation](https://micro-os-plus.github.io/micro-test-plus-xpack/) web site.
12
+ For information on how to install and use this project, please refer to the
13
+ [project website](https://micro-os-plus.github.io/micro-test-plus-xpack/).
14
+
15
+ ## Project source
16
+
17
+ The source code of the current release is available on
18
+ [GitHub tag v3.2.3 tree](https://github.com/micro-os-plus/micro-test-plus-xpack/tree/v3.2.3).
18
19
 
19
20
  ## License
20
21
 
21
- Unless otherwise stated, the content is released under the terms of the
22
- [MIT License](https://opensource.org/licenses/mit/),
22
+ Unless otherwise stated, the original content is released under the terms of the
23
+ [MIT License](https://opensource.org/licenses/mit),
23
24
  with all rights reserved to
24
25
  [Liviu Ionescu](https://github.com/ilg-ul).
25
26