diff options
author | Carlos Chinchilla <cachinchilla@google.com> | 2023-12-07 02:34:12 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-12-07 02:34:12 +0000 |
commit | ab2aa2d269549241c902c7bdc70f1fad63ebcc21 (patch) | |
tree | 723edaa31ec3b93778c0ffa2735808f34af35778 /pw_string | |
parent | d173a4e9ac16a30f951c5c1649a5dbf7b8329396 (diff) | |
download | pigweed-ab2aa2d269549241c902c7bdc70f1fad63ebcc21.tar.gz |
pw_snapshot: Use unit test framework
Include pw_unit_test/framework.h instead of gtest/gtest.h as the facade
for unit tests.
Change-Id: I7cc550144571ade4086cf066148a01650bc043b3
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/183351
Reviewed-by: Taylor Cramer <cramertj@google.com>
Pigweed-Auto-Submit: Carlos Chinchilla <cachinchilla@google.com>
Commit-Queue: Carlos Chinchilla <cachinchilla@google.com>
Diffstat (limited to 'pw_string')
-rw-r--r-- | pw_string/format_test.cc | 2 | ||||
-rw-r--r-- | pw_string/string_builder_test.cc | 2 | ||||
-rw-r--r-- | pw_string/string_test.cc | 2 | ||||
-rw-r--r-- | pw_string/to_string_test.cc | 2 | ||||
-rw-r--r-- | pw_string/type_to_string_test.cc | 2 | ||||
-rw-r--r-- | pw_string/util_test.cc | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/pw_string/format_test.cc b/pw_string/format_test.cc index cc7b7308b..3688682a0 100644 --- a/pw_string/format_test.cc +++ b/pw_string/format_test.cc @@ -16,8 +16,8 @@ #include <cstdarg> -#include "gtest/gtest.h" #include "pw_span/span.h" +#include "pw_unit_test/framework.h" namespace pw::string { namespace { diff --git a/pw_string/string_builder_test.cc b/pw_string/string_builder_test.cc index 5252dc6b9..6080dc5ba 100644 --- a/pw_string/string_builder_test.cc +++ b/pw_string/string_builder_test.cc @@ -20,9 +20,9 @@ #include <cstring> #include <string_view> -#include "gtest/gtest.h" #include "pw_span/span.h" #include "pw_string/format.h" +#include "pw_unit_test/framework.h" namespace this_pw_test { diff --git a/pw_string/string_test.cc b/pw_string/string_test.cc index efb78cbbb..75aaefacc 100644 --- a/pw_string/string_test.cc +++ b/pw_string/string_test.cc @@ -18,9 +18,9 @@ #include <iterator> #include <type_traits> -#include "gtest/gtest.h" #include "pw_compilation_testing/negative_compilation.h" #include "pw_polyfill/standard.h" +#include "pw_unit_test/framework.h" namespace pw { diff --git a/pw_string/to_string_test.cc b/pw_string/to_string_test.cc index 8ec9c498d..bb03d9292 100644 --- a/pw_string/to_string_test.cc +++ b/pw_string/to_string_test.cc @@ -20,10 +20,10 @@ #include <cstring> #include <string> -#include "gtest/gtest.h" #include "pw_status/status.h" #include "pw_string/internal/config.h" #include "pw_string/type_to_string.h" +#include "pw_unit_test/framework.h" namespace pw { diff --git a/pw_string/type_to_string_test.cc b/pw_string/type_to_string_test.cc index 2b2e8fe9f..ef46fa341 100644 --- a/pw_string/type_to_string_test.cc +++ b/pw_string/type_to_string_test.cc @@ -19,7 +19,7 @@ #include <limits> #include <string_view> -#include "gtest/gtest.h" +#include "pw_unit_test/framework.h" namespace pw::string { namespace { diff --git a/pw_string/util_test.cc b/pw_string/util_test.cc index 9c1a7d7e9..b08eccf25 100644 --- a/pw_string/util_test.cc +++ b/pw_string/util_test.cc @@ -16,7 +16,7 @@ #include <cstring> -#include "gtest/gtest.h" +#include "pw_unit_test/framework.h" namespace pw::string { namespace { |