Initial commit of the test code for ART Service
This CL adds the scaffolding for testing the ART Tools and ART Service
libraries.
The command `atest ArtServiceTest` will fail with Tradefed errors, but
these same errors are generated by existing tests such as `atest
android-icu4j-tests`.
Test: m test-art-host-gtest && atest ArtServiceTest
Bug: 177273468
Merged-In: I053f2446144a1fc020b040b952a370ab7779dd47
Change-Id: I053f2446144a1fc020b040b952a370ab7779dd47
diff --git a/libartservice/Android.bp b/libartservice/Android.bp
index c629cfb..297a1f2 100644
--- a/libartservice/Android.bp
+++ b/libartservice/Android.bp
@@ -60,3 +60,17 @@
plugins: ["java_api_finder"],
}
+
+art_cc_test {
+ name: "art_libartservice_tests",
+ defaults: [
+ "art_gtest_defaults",
+ ],
+ srcs: [
+ "service/native/service_test.cc",
+ ],
+ shared_libs: [
+ "libbase",
+ "libartservice",
+ ],
+}