index
:
systemd
main
systemd
Fast-forward packages
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
test
/
test-macro.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add ASSERT_OK_ZERO_ERRNO() and ASSERT_OK_EQ_ERRNO()
Daan De Meyer
2024-09-19
1
-0
/
+12
*
tests: Add ASSERT_OK_EQ()
Daan De Meyer
2024-08-27
1
-0
/
+6
*
test: add ASSERT_OK_POSITIVE() and ASSERT_OK_ZERO()
Yu Watanabe
2024-08-14
1
-0
/
+12
*
test: Add ASSERT_EQ_ID128() and ASSERT_NE_ID128()
Daan De Meyer
2024-07-24
1
-0
/
+10
*
test: Add ASSERT_FAIL()
Daan De Meyer
2024-07-24
1
-0
/
+5
*
test: Add ASSERT_ERROR() and ASSERT_ERROR_ERRNO()
Daan De Meyer
2024-04-22
1
-0
/
+15
*
Merge pull request #32202 from DaanDeMeyer/assert
Yu Watanabe
2024-04-11
1
-0
/
+6
|
\
|
*
Introduce ASSERT_OK_ERRNO()
Daan De Meyer
2024-04-10
1
-0
/
+6
*
|
ASSERT_NULL/ASSERT_NOT_NULL
Ivan Kruglov
2024-04-10
1
-6
/
+6
|
/
*
test: add a couple of sanity tests for ASSERT_*() macros
Frantisek Sumsal
2024-04-09
1
-0
/
+57
*
fundamental: Add overflow-safe math helpers
Adrian Vovk
2024-02-13
1
-0
/
+147
*
tree-wide: replace FOREACH_POINTER with FOREACH_ARGUMENT
Mike Yuan
2024-01-24
1
-79
/
+0
*
macro: rename VA_ARGS_FOREACH to FOREACH_ARGUMENT
Mike Yuan
2024-01-24
1
-23
/
+23
*
tree-wide: insert space after for and switch
Yu Watanabe
2023-12-24
1
-6
/
+6
*
test-macro: use capital test names for macro tests
Zbigniew Jędrzejewski-Szmek
2023-12-02
1
-9
/
+9
*
macro: introduce u64_multiply_safe() to avoid overflow
Yu Watanabe
2023-10-19
1
-0
/
+25
*
macro: introduce several helper functions for alignment
Yu Watanabe
2023-10-19
1
-0
/
+128
*
test-macro: add ROUND_UP() macro for rounding up to next multiple
Lennart Poettering
2023-06-02
1
-0
/
+66
*
test/test-macro: add tests for FOREACH_VA_ARGS()
Dan Streetman
2023-03-09
1
-0
/
+184
*
macro: introduce FOREACH_ARRAY() macro
Yu Watanabe
2023-03-07
1
-0
/
+50
*
fundamental: rework IN_SET() to require at least three arguments
Lennart Poettering
2023-01-02
1
-4
/
+4
*
macro: add generic IS_ALIGNED32() anf friends
Lennart Poettering
2022-12-08
1
-0
/
+53
*
test: add test for IN_SET() with bitfield specifier
Yu Watanabe
2022-10-26
1
-0
/
+10
*
macro: add macro for checking if integer is power of 2
Lennart Poettering
2022-08-05
1
-0
/
+56
*
Add saturate_add() that generalizes size_add()
Zbigniew Jędrzejewski-Szmek
2022-05-12
1
-0
/
+9
*
macro: add macro that simplifies going backwards through an array via pointers
Lennart Poettering
2022-03-23
1
-0
/
+23
*
test: add test case for DECIMAL_STR_MAX()
Lennart Poettering
2022-03-14
1
-0
/
+23
*
test: add test for DECIMAL_STR_WIDTH()
Lennart Poettering
2022-03-14
1
-0
/
+23
*
test: change // comments to /* */
Lennart Poettering
2022-03-14
1
-2
/
+2
*
test: Slightly rework DEFINE_TEST_MAIN macros
Jan Janssen
2021-11-25
1
-1
/
+1
*
test: Create convenience macros to declare tests
Jan Janssen
2021-11-13
1
-42
/
+10
*
test: Add test for flag macros
Jan Janssen
2021-11-05
1
-0
/
+70
*
macro: Move ALIGN_TO to macro-fundamental.h and introduce CONST_ALIGN_TO
Jan Janssen
2021-10-17
1
-0
/
+9
*
test: use assert_se() instead of assert()
Yu Watanabe
2021-10-12
1
-5
/
+5
*
macro: handle overflow in ALIGN_TO() somewhat reasonably
Lennart Poettering
2021-08-20
1
-0
/
+33
*
test: split out macro tests into own test-macro.c
Lennart Poettering
2021-08-20
1
-0
/
+310