From e337c94fc7245e60ce09815faedd59b26406f160 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Thu, 18 Apr 2024 21:26:10 +0100 Subject: Clean up the test mocks. Split them up so that the API tests only have the JNI mock that they need, and the "platform" mock - which is nonfunctional there - is not present. Also a few other code cleanups. Test: atest libnativeloader_test \ art_libnativeloader_cts_test \ libnativeloader_lazy_test Bug: 335224367 Change-Id: Ifabc64db43e0346d5aefc9809266190690178ebf --- libnativeloader/library_namespaces_test.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libnativeloader/library_namespaces_test.cpp') diff --git a/libnativeloader/library_namespaces_test.cpp b/libnativeloader/library_namespaces_test.cpp index 4582223f4a..706209a28e 100644 --- a/libnativeloader/library_namespaces_test.cpp +++ b/libnativeloader/library_namespaces_test.cpp @@ -14,8 +14,6 @@ * limitations under the License. */ -#if defined(ART_TARGET_ANDROID) - #include "library_namespaces.h" #include "android-base/result-gmock.h" @@ -103,5 +101,3 @@ TEST(LibraryNamespacesTest, TestGetApiDomainFromPathList) { } // namespace } // namespace nativeloader } // namespace android - -#endif // ART_TARGET_ANDROID -- cgit v1.2.3-59-g8ed1b