68089c81068cc93d3fd42e2f768fc3a2a0d08f3c |
|
30-Jun-2016 |
Siyamed Sinir <siyamed@google.com> |
Enable Text core tests Some of the tests were disabled because of the access permissions. This CL: * Removes @Suppress annotations * Annotates the test classes with related annotations such as @SmallTest * Removes unused imports * Replaces android.test.sitebuilder.annotation.SmallTest annotations with android.support.test.filters.SmallTest Bug: 29879498 Change-Id: I9e6e326bc6eaf365d7d5c6d1f7edec35e6957302
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
5932e8b8f0681be45cdb9b2ed707e1eb9973180d |
|
05-Apr-2016 |
Siyamed Sinir <siyamed@google.com> |
Update autoLink URL regex to match empty path, $ and _ Update URL regular expression to match - path and query that contains dollar sign - domain name that contains underscore - empty path with query parameters. i.e. a.com?q=v Bug: 27436084 Bug: 27501264 Change-Id: I3884624e145ccc1175915327dc2f280ef4e55ce1
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
911c2694e2b08c7a3dbb77150afcd09ff01e5ccf |
|
06-Apr-2016 |
Siyamed Sinir <siyamed@google.com> |
Exclude unicode space characters from autoLink URL patterns Excludes the following space characters from autoLink URL patterns: \u00A0: no-break space \u2000: en quad \u2001: em quad \u2002: en space \u2003: em space \u2004: three-per-em space \u2005: four-per-em space \u2006: six-per-em space \u2007: figure space \u2008: punctuation space \u2009: thin space \u200A: hair space \u2028: line separator \u2029: paragraph separator \u202F: narrow no-break space \u3000: ideographic space Bug: 28020781 Change-Id: Ie6df818dc4d33dfee6ee54432a2231cca51ec423
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
0716d5f499949cb131a9a06ac022b26ee8dbb413 |
|
26-Feb-2016 |
Siyamed Sinir <siyamed@google.com> |
Email address autolink regex updates. This CL updates the email address pattern with: * Local-part should be max 64 characters, and domain should be max 255 characters (it was the opposite before). * Labels in the domain name should be at most 63 characters. * Support non-ascii unicode characters. * Add tests for email address pattern. Bug:9585450 Change-Id: I983f269904ef014ef625417dd08b6509084e6879
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
840385c9f6a2805d6f54f08f3592d80facdf5b3d |
|
19-Nov-2015 |
Siyamed Sinir <siyamed@google.com> |
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
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
f90177629a5b69ca3a80466c0ab55abfeb6d26b2 |
|
01-Aug-2015 |
Abodunrinwa Toki <toki@google.com> |
Turn off failing tests in FrameworksCoreTests. We want a green state so we can confidence in tests we write going forward. Change-Id: I2c8db848897b56d0c64202ad28861eb4a7572e07
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
a37fc575a4ac40f3ff2e9a9f2108b577a649db73 |
|
19-Sep-2012 |
Bin Zhu <bin.zhu@sonyericsson.com> |
Allow three digit phone numbers The comment for the PHONE pattern says: "<digit><digit|sdd>+<digit>" But the actual pattern requires that the string contains more than that. A phone number should be allowed to be three digits. Change-Id: I86d2f3d634cd0c1654dad9814906f151055dc23a
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
52fc810f73e0d8e005281e80a981e1ceed855850 |
|
19-Jul-2011 |
Shimeng (Simon) Wang <swang@google.com> |
Add in i18n TLDs and new TLDs to the URL RegEx matcher. also update APIs. issue: 4384739 Change-Id: I946323d80f85fe43338fdc19c5858356faefa6cc
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
db990751ef8e535ea5cb3d527e36936e119095e8 |
|
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt Note: this change doesn't solve the Arabic country code top level domains, which was turned on today. For that, more changes need to be done; probably we need a way to convert the BiDi url to punycode first; then apply this URL pattern. issue: 2663885 Change-Id: I0597fe620c4d44259bff88ecfcbcca1565928c6f
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
cbeaf2d0aef5c8de9ce86b8f1dde17459f9227e3 |
|
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Revert "Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt" This reverts commit 63b849ef8d6a47422b0f2779f1d9320f6a65d16b.
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
9b1872e619bd06f33853716a4bae0214b4a7d176 |
|
07-May-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt Note: this change doesn't solve the Arabic country code top level domains, which was turned on today. For that, more changes need to be done; probably we need a way to convert the BiDi url to punycode first; then apply this URL pattern. issue: 2663885 Change-Id: Iac5d16bf9e091a072a59f8244ab6e87940badd4f
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
40064d3098e17eb447e2b9ee4512b691f6b8c269 |
|
27-Apr-2010 |
Shimeng (Simon) Wang <swang@google.com> |
Add good international characters to the path part of Url pattern. Change-Id: I05efb7e52a023fcb92db9db2b41dbab2ccca87c7
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|
0dc59e78e18493aecd37427531d093e800846c3e |
|
02-Apr-2010 |
Brett Chabot <brettchabot@android.com> |
More framework tests cleanup. Move all tests for android.* classes from tests/AndroidTests and tests/CoreTests into framework/base/<core|graphics>/tests. Consolidate all tests for java.* classes to tests/CoreTests. Eventually hopefully these will be moved to dalvik/ somewhere. Remove tests/AndroidTests entirely. Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
/frameworks/base/core/tests/coretests/src/android/util/PatternsTest.java
|