diff options
author | 2025-03-14 18:00:37 +0000 | |
---|---|---|
committer | 2025-03-20 15:50:43 -0700 | |
commit | 6f3beba5e01780c30364e34be15335da51c4e0e5 (patch) | |
tree | 1f7fcdeefd53e4601a5ad585f9da0765870ce483 /runtime/exec_utils_test.cc | |
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 'runtime/exec_utils_test.cc')
-rw-r--r-- | runtime/exec_utils_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/exec_utils_test.cc b/runtime/exec_utils_test.cc index eb21652c19..636383d474 100644 --- a/runtime/exec_utils_test.cc +++ b/runtime/exec_utils_test.cc @@ -102,7 +102,7 @@ class NeverFallbackExecUtils : public TestingExecUtils { } }; -class ExecUtilsTest : public CommonRuntimeTest, public testing::WithParamInterface<bool> { +class ExecUtilsTest : public CommonRuntimeTest, public ::testing::WithParamInterface<bool> { protected: void SetUp() override { CommonRuntimeTest::SetUp(); @@ -390,6 +390,6 @@ TEST_P(ExecUtilsTest, ExecNewProcessGroupFalse) { &error_msg); } -INSTANTIATE_TEST_SUITE_P(AlwaysOrNeverFallback, ExecUtilsTest, testing::Values(true, false)); +INSTANTIATE_TEST_SUITE_P(AlwaysOrNeverFallback, ExecUtilsTest, ::testing::Values(true, false)); } // namespace art |