Age | Commit message (Collapse) | Author |
|
- Move pw_unit_test/framework.h to pw_unit_test/internal/. For
GoogleTest compatibility, this header must only be accessed as
gtest/gtest.h.
- Remove required dependency on pw_unit_test, but set
pw_unit_test_PUBLIC_DEPS to include it by default. This removes the
pw_unit_test dep when using a different library, like GoogleTest.
Change-Id: I1ee9fe69cddc391c4c5ab8291cac82033439d2bc
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/94867
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
|
|
- Rename PW_ARG_COUNT to PW_MACRO_ARG_COUNT.
- Reorganize the arguments.h header to put the high-level, easier-to-use
macros first (PW_DELEGATE_BY_ARG_COUNT and PW_COMMA_ARGS).
- Fix the test that demonstrates what happens when PW_COMMA_ARGS is
used incorrectly.
- Update the documentation for arguments.h.
Change-Id: I741995c02e1f36ca805f4ba15eb113caa98164f8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/17501
Commit-Queue: Wyatt Hepler <hepler@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
|
|
- Rename macro_arg_count.h to arguments.h
- Have macro_arg_count.h #include the renamed header for compatibility.
Change-Id: I781a457af88c6dd63ab8f8394bfe45cff9bc71e9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/17500
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
|