OSDN Git Service

Add smoke test for jni library
authorChenbo Feng <fengc@google.com>
Fri, 5 Apr 2019 21:14:55 +0000 (14:14 -0700)
committerChenbo Feng <fengc@google.com>
Tue, 16 Apr 2019 02:02:56 +0000 (19:02 -0700)
commit206077ad855c5c6b1d6b12d5e0484de6ce43ed87
treeb77379ae45e48edf6219e027b4b9257b133e91b8
parentbe0106abced580a34ea89d0484b2851d0b73065c
Add smoke test for jni library

Since the Framework net test require jni library
libnetworkstatsfactorytestjni, but the test fails to load that library
unless *all* the dependencies of that library are explicitly listed in
jni_libs, whenever any of the dependencies changes the framework net
test will start failing and it might not be catched since the change
might not related to frameworks/base. And this smoke test is aimed to
spot those native library changes and it should be stable enough to put
in global presubmit.

Bug: 124764595
Test: FrameworksNetSmokeTests
Change-Id: Id24e7f0558b5643e4ad7393e85f1f0a2bd875615
Merged-In: Id24e7f0558b5643e4ad7393e85f1f0a2bd875615
(cherry picked from commit 5f8a630da7d5b308c0824a25f6fc1dd4c7552c9f)
tests/net/Android.bp
tests/net/smoketest/Android.bp [new file with mode: 0644]
tests/net/smoketest/AndroidManifest.xml [new file with mode: 0644]
tests/net/smoketest/AndroidTest.xml [new file with mode: 0644]
tests/net/smoketest/java/SmokeTest.java [new file with mode: 0644]