diff options
author | Wyatt Hepler <hepler@google.com> | 2022-05-16 17:22:49 -0700 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-05-18 17:09:29 +0000 |
commit | cb90af7d9b020f02cea339f37f79b68d8fef4628 (patch) | |
tree | c22a8121898e4b8ecd1f1c8c09eca9d2f1728f6b /pw_preprocessor/boolean_test.cc | |
parent | e22add4c26f15d3d039b975a199c5631930a22e8 (diff) | |
download | pigweed-cb90af7d9b020f02cea339f37f79b68d8fef4628.tar.gz |
pw_unit_test: Make pw_unit_test/framework.h private
- 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>
Diffstat (limited to 'pw_preprocessor/boolean_test.cc')
-rw-r--r-- | pw_preprocessor/boolean_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw_preprocessor/boolean_test.cc b/pw_preprocessor/boolean_test.cc index 40a00eb8f..decc85dd6 100644 --- a/pw_preprocessor/boolean_test.cc +++ b/pw_preprocessor/boolean_test.cc @@ -16,7 +16,7 @@ // passed. The TEST functions are used for organization only. #include "pw_preprocessor/boolean.h" -#include "pw_unit_test/framework.h" +#include "gtest/gtest.h" namespace pw { namespace { |