Merge lp:~tiagosh/telephony-service/use-libphonenumber into lp:telephony-service
| Status: | Merged |
|---|---|
| Approved by: | Gustavo Pichorim Boiko on 2015-08-11 |
| Approved revision: | 1115 |
| Merged at revision: | 1110 |
| Proposed branch: | lp:~tiagosh/telephony-service/use-libphonenumber |
| Merge into: | lp:telephony-service |
| Diff against target: |
1022 lines (+254/-371) 19 files modified
Ubuntu/Telephony/contactwatcher.cpp (+1/-1) debian/copyright (+0/-17) indicator/textchannelobserver.cpp (+1/-1) libtelephonyservice/CMakeLists.txt (+2/-0) libtelephonyservice/multimediaaccountentry.cpp (+1/-1) libtelephonyservice/ofonoaccountentry.cpp (+27/-1) libtelephonyservice/ofonoaccountentry.h (+5/-0) libtelephonyservice/phonenumberutils.h (+0/-303) libtelephonyservice/phoneutils.cpp (+100/-24) libtelephonyservice/phoneutils.h (+20/-2) tests/common/mock/MockConnection.xml (+6/-0) tests/common/mock/connection.cpp (+7/-0) tests/common/mock/connection.h (+2/-0) tests/common/mock/emergencymodeiface.cpp (+28/-1) tests/common/mock/emergencymodeiface.h (+12/-0) tests/common/mock/mockconnectiondbus.cpp (+6/-0) tests/common/mock/mockconnectiondbus.h (+1/-0) tests/libtelephonyservice/OfonoAccountEntryTest.cpp (+18/-0) tests/libtelephonyservice/PhoneUtilsTest.cpp (+17/-20) |
| To merge this branch: | bzr merge lp:~tiagosh/telephony-service/use-libphonenumber |
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gustavo Pichorim Boiko (community) | 2015-07-15 | Approve on 2015-08-10 | |
| PS Jenkins bot | continuous-integration | Approve on 2015-08-10 | |
|
Review via email:
|
|||
Commit Message
Use libphonenumber for phone number validation, normalization and comparison.
Description of the Change
Use libphonenumber for phone number validation, normalization and comparison.
--Checklist--
Are there any related MPs required for this MP to build/function as expected? Please list.
No
Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes
Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Yes
Did you successfully run all tests found in your component's Test Plan (https:/
Yes
If you changed the UI, was the change specified/approved by design?
N/A
If you changed UI labels, did you update the pot file?
N/A
If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
N/A
- 1103. By Tiago Salem Herrmann on 2015-07-17
-
reenable tests
- 1104. By Tiago Salem Herrmann on 2015-07-17
-
fix copyright header
- 1105. By Tiago Salem Herrmann on 2015-07-17
-
revert po changes
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1105
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1106. By Tiago Salem Herrmann on 2015-07-17
-
Provide a fallback to country code if none is provided
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1106
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1107. By Tiago Salem Herrmann on 2015-07-20
-
Read countryCode() from ofono
- 1108. By Tiago Salem Herrmann on 2015-07-20
-
Add code to fallback
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1108
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1109. By Tiago Salem Herrmann on 2015-07-21
-
Use IsEmergencyNumber() instead of ConnectsToEmerg
encyNumber( )
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1109
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1110. By Tiago Salem Herrmann on 2015-07-23
-
Change comparePhoneNum
bers() to return PhoneUtils: :PhoneNumberMat chType
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1110
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1111. By Tiago Salem Herrmann on 2015-07-23
-
merge trunk
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1111
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1112. By Tiago Salem Herrmann on 2015-07-31
-
Only use libphonenumber if both numbers have more than 7 digits
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1112
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1113. By Tiago Salem Herrmann on 2015-08-05
-
fix build with libphonenumber >= 7
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1113
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Gustavo Pichorim Boiko (boiko) wrote : | # |
Just one request, other than that the code looks good!
- 1114. By Tiago Salem Herrmann on 2015-08-10
-
add test for numbers with slash
- 1115. By Tiago Salem Herrmann on 2015-08-10
-
add test for phones with slashes
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1115
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Gustavo Pichorim Boiko (boiko) wrote : | # |
Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
Yes
Did CI run pass? If not, please explain why.
Yes
Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes
Code looks good and works as expected!

FAILED: Continuous integration, rev:1102 jenkins. qa.ubuntu. com/job/ telephony- service- ci/499/ jenkins. qa.ubuntu. com/job/ telephony- service- vivid-amd64- ci/171/ console jenkins. qa.ubuntu. com/job/ telephony- service- vivid-armhf- ci/167/ console jenkins. qa.ubuntu. com/job/ telephony- service- vivid-i386- ci/167/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/telephony- service- ci/499/ rebuild
http://