OSDN Git Service

Fix service tests.
authorNarayan Kamath <narayan@google.com>
Thu, 21 Aug 2014 11:25:24 +0000 (12:25 +0100)
committerNarayan Kamath <narayan@google.com>
Thu, 21 Aug 2014 11:31:39 +0000 (12:31 +0100)
commitd8b54e831dc59ea5f903f0e920a64cf2411dd3ab
treeaa756baacdf6bb463bce107152903968289dab99
parentf860be88a9c8fca910f2d97694d102f627d06c71
Fix service tests.

Depending on a LOCAL_JAVA_LIBRARY doesn't do anything at runtime
unless the library is manually added to the class path. Since
system server classes (and the system server) can't be instrumented
like a normal app can, we can't really write "real" Instrumentation
Tests for its classes.

Given that, we can just compile the classes under test into the same
jar file as the testcases.

Change-Id: Ie4377bf81b9542ceca938e26ac78e30835fc40bc
services/tests/servicestests/Android.mk
services/tests/servicestests/AndroidManifest.xml