diff options
author | 2025-03-14 18:00:37 +0000 | |
---|---|---|
committer | 2025-03-20 15:50:43 -0700 | |
commit | 6f3beba5e01780c30364e34be15335da51c4e0e5 (patch) | |
tree | 1f7fcdeefd53e4601a5ad585f9da0765870ce483 /libnativebridge/tests/NativeBridgeTest.h | |
parent | 8badd481972993739e7711258f03a44638ca87a5 (diff) |
Move more path logic for tests to testing.cc, so it can be used without
depending on CommonArtTest.
Preparation to fix the libart-gtest dependency in
art_standalone_libartpalette_tests.
Due to a new #include, this necessitated fixing a bunch of `testing`
namespace references that could become ambigious wrt `art::testing`.
Test: m generate-boot-image
Test: art/tools/buildbot-build.sh
Bug: 404306250
Change-Id: Iafb3d73148125775c9c5ddbcbaef39dc61859118
Diffstat (limited to 'libnativebridge/tests/NativeBridgeTest.h')
-rw-r--r-- | libnativebridge/tests/NativeBridgeTest.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnativebridge/tests/NativeBridgeTest.h b/libnativebridge/tests/NativeBridgeTest.h index 88ea0e33c8..1b9415db58 100644 --- a/libnativebridge/tests/NativeBridgeTest.h +++ b/libnativebridge/tests/NativeBridgeTest.h @@ -34,7 +34,7 @@ constexpr const char* kNativeBridgeLibrary8 = "libnativebridge8-test-case.so"; namespace android { -class NativeBridgeTest : public testing::Test { +class NativeBridgeTest : public ::testing::Test { protected: NativeBridgeTest() : temp_dir_() { app_data_dir_ = std::string(temp_dir_.path); |