Merge lp:~laney/telephony-service/libphonenumber7.1.0 into lp:telephony-service

Proposed by Iain Lane
Status: Needs review
Proposed branch: lp:~laney/telephony-service/libphonenumber7.1.0
Merge into: lp:telephony-service
Diff against target: 23 lines (+3/-3)
1 file modified
tests/Ubuntu.Telephony/tst_PhoneNumberPhoneUtils.qml (+3/-3)
To merge this branch: bzr merge lp:~laney/telephony-service/libphonenumber7.1.0
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ken VanDine Pending
Ubuntu Phablet Team Pending
Review via email: mp+277108@code.launchpad.net

Commit message

Update international test number to be valid with libphonenumber 7.1.0

Description of the change

I've been working with the Debian maintainer of libphonenumber to get our packages in sync.

As of libphonenumber 7.1.0-2, which I uploaded today, it can be synced.

libphonenumber fails one test now - the international number given isn't matched by the new metadata in this version. Is it because the given number is not actually valid? If so, I've updated it by changing one digit and the test now passes again. Other countries, for example numbers in the UK, also work.

To post a comment you must log in.
Revision history for this message
Iain Lane (laney) wrote :

Once we get synced, Daniel (Debian maintainer) is keen to keep the package that way. That means that future changes should be submitted to upstream and to him (e.g. via email or the Debian BTS) please.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Iain Lane (laney) wrote :

So https://launchpad.net/ubuntu/+source/libphonenumber/7.0.8-0ubuntu3 means we can't sync.

That's pretty frustrating.

And it doesn't appear to be forwarded.

Unmerged revisions

1136. By Iain Lane

Update Brazillian (international) test phone number

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/Ubuntu.Telephony/tst_PhoneNumberPhoneUtils.qml'
2--- tests/Ubuntu.Telephony/tst_PhoneNumberPhoneUtils.qml 2014-12-09 12:53:19 +0000
3+++ tests/Ubuntu.Telephony/tst_PhoneNumberPhoneUtils.qml 2015-11-10 12:10:46 +0000
4@@ -29,7 +29,7 @@
5 var data = [];
6 data.push({input: "6681800", expectedOutput: "668-1800"}) // Local number
7 data.push({input: "7327572923", expectedOutput: "(732) 757-2923"}) // Country number
8- data.push({input: "+558187042155", expectedOutput: "+55 81 8704-2155"}) // International number
9+ data.push({input: "+558177042155", expectedOutput: "+55 81 7704-2155"}) // International number
10 data.push({input: "55555555555", expectedOutput: "55555555555"}) // Invalid number
11 data.push({input: "*144", expectedOutput: "*144"}) // Special number
12 data.push({input: "#123#", expectedOutput: "#123#"}) // Operators command
13@@ -57,8 +57,8 @@
14 expectedMatches: ["650 253 0000"]}) // Local number
15 data.push({text: "my phnle number 7327572923, please call me",
16 expectedMatches: ["7327572923"]}) // Country number
17- data.push({text: "my international number +558187042155, please call me",
18- expectedMatches: ["+558187042155"]}) // International number
19+ data.push({text: "my international number +558177042155, please call me",
20+ expectedMatches: ["+558177042155"]}) // International number
21 data.push({text: "this is an invalid number 55555555555, yes yes it is",
22 expectedMatches: []}) // Invalid number
23 data.push({text: "could you call me between 15h30-16h yes?",

Subscribers

People subscribed via source and target branches

to all changes: