diff options
author | 2024-04-18 21:26:10 +0100 | |
---|---|---|
committer | 2024-04-24 13:07:20 +0000 | |
commit | e337c94fc7245e60ce09815faedd59b26406f160 (patch) | |
tree | c1b623be0e6c1399003f6c8b8a6fe48e7ec9a69b /libnativeloader/library_namespaces_test.cpp | |
parent | 1dc111804f9ea778bce6258ffd10fed80fb02d0c (diff) |
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
Diffstat (limited to 'libnativeloader/library_namespaces_test.cpp')
-rw-r--r-- | libnativeloader/library_namespaces_test.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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 |