summaryrefslogtreecommitdiff
path: root/android/PhoneticStringUtilsTest.cpp
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2009-06-26 11:17:34 +0900
committerDaisuke Miyakawa <dmiyakawa@google.com>2009-06-26 11:17:34 +0900
commitde43094477419f8a190a6f97b47d346827310a02 (patch)
treeb63fe3723dabccdf655a9313419ed794277e900b /android/PhoneticStringUtilsTest.cpp
parent0ff6f71d24bbde0087c8d2bd0a94d699117e2562 (diff)
"Rewrite" PhoneNumberUtil so that it compares two phone strings using as many characters as possible, unlike the previous implementation.
The new implementation considers country code seriously. To confirm this change does not do something wrong, I also created another change (https://android-git.corp.google.com/g/Gerrit#change,4036). All tests related to PhoneNumberUtils pass, including Thailand's ugly buggy behavior around country code handling :-P Also Add tests for PhoneNumberUtils, which can be executed in the usual workstation like this: > g++ -Wall external/sqlite/android/PhoneNumberUtils.cpp external/sqlite/android/PhoneNumberUtilsTest.cpp > ./a.out This change fixes the internal bug 1868702.
Diffstat (limited to 'android/PhoneticStringUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions