summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-12-13 16:36:01 -0700
committerJeff Sharkey <jsharkey@android.com>2020-12-17 08:16:06 -0700
commite09d74c644c846b94fb792de7d97a0bd072f4229 (patch)
tree1d5c16f89950a632ed07bbb4719a485f89c09658 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf9266a2946fd9a4e8ec72ba57cefe557acbce119 (diff)
Prepare for binary XML pivot.
As part of preparing to enable the new binary XML wire format across the device, we ran a large suite of unit tests which uncovered a handful of bugs where client code was assuming that the serializer would create TEXT tokens for newlines between tags. Also relaxes all binary XML classes to accept either "UTF-8" or "utf-8" as the encoding name. Slight bug fixes to clear names, text, and attributes for each event to match XmlPullParser documentation. Fixes for existing unit tests that were assuming human-readable XML, or assuming that the serialization would perform UTF-8 validation. Bug: 171832118 Test: atest FrameworksServicesTests Change-Id: I841fe41e4967b36ab17551294ae0f42fb87a8e71
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions