summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSiyamed Sinir <siyamed@google.com>2015-11-18 15:02:57 -0800
committerSiyamed Sinir <siyamed@google.com>2016-01-04 17:59:45 -0800
commit840385c9f6a2805d6f54f08f3592d80facdf5b3d (patch)
tree599e966e5122a12d9d3bb1bd4b095eb3264e81da /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8190e5dca4d1ea42e34728122f4fd8c91013c8f9 (diff)
New regular expression to autolink URLs
Introduced a new regular expression to autolink URLs. Previous regular expression used the protocol as an optional rule. The new expression applies separate rules for strings that do not start with a known protocol and strings that do start with a known protocol. - In order to reuse previous regular expression definitions for different parts of a URL, created constants for different parts of WEB_URL expression. - Separated the test cases for WEB_URL in order to remove the suppress command and make them running again. - Fixed failing tests for punycode urls, which were causing existing tests to fail. - Introduced new a regular expression for URL matching. - Changed the protocol rule to be case insensitive. - Updated IANA TLDs. - Added tests for the new regular expression. - Added tests for Linkify. - Bug 9622849 is partially fixed. Bug: 25727599 Bug: 9622849 Bug: 24500693 Bug: 23189367 Bug: 24543148 Change-Id: Ifd62455d342ca7adb22996246ff652e1d5944bec
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions