More thorough XML testing.

Include vendor.xml in unit tests. Note that changing the build target
with lunch can switch your vendor.xml.

Update DefaultCarrierConfigService#readConfigFromXml to throw errors
instead of returning an empty bundle. This makes failed test output much
better.

Add a test to check that every variable in XML files matches a KEY in
CarrierConfigManager.

Increase detail of error messages with
XmlPullParser#getPositionDescription

Bug: 21619172

Change-Id: I500f4b2476a6fe4fdd6ae0232e293a0f1d82b7b0
2 files changed
tree: cf5ff880b028d52f3bac24f8750aee33b3267d54
  1. assets/
  2. res/
  3. src/
  4. tests/
  5. Android.mk
  6. AndroidManifest.xml
  7. proguard.flags