Fixing serialization compatibility tests for sql tests
The resources files were being loaded using the System classloader, which is not useful for instrumentation CTS tests: the app classloader is a direct child of the boot classloader. Also moving all sql resources beneath com.android.org.apache instead of just org.apache. The resource names used during tests are derived from the fully-qualified names of the test classes. At build time we re-package the test code by prepending "com.android." to the "org.apache" using jarjar. This is probably to avoid conflicts with other tests / support code that have been moved to libcore/harmony-tests but retain their original package name. Also a small change to the .mk file to remove references to packages that no longer exist. Bug: 17342415 Change-Id: I37fef5acedbb8b9cb9fec8fa39e7c5d8ab641f5a
Loading
Please sign in to comment