Merge lp://staging/~boiko/telephony-service/fix_voicemail_detection into lp://staging/telephony-service

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Tiago Salem Herrmann
Approved revision: 1083
Merged at revision: 1071
Proposed branch: lp://staging/~boiko/telephony-service/fix_voicemail_detection
Merge into: lp://staging/telephony-service
Diff against target: 1384 lines (+342/-159)
20 files modified
.bzrignore (+1/-0)
cmake/modules/GenerateTest.cmake (+0/-1)
libtelephonyservice/accountentry.cpp (+7/-2)
libtelephonyservice/accountentry.h (+2/-0)
libtelephonyservice/callentry.cpp (+1/-1)
libtelephonyservice/ofonoaccountentry.cpp (+3/-1)
libtelephonyservice/telepathyhelper.cpp (+1/-0)
libtelephonyservice/telepathyhelper.h (+1/-0)
tests/common/mock/connection.cpp (+10/-2)
tests/common/mock/connection.h (+1/-0)
tests/common/mock/mockconnectiondbus.cpp (+24/-0)
tests/common/telepathytest.cpp (+13/-20)
tests/common/telepathytest.h (+7/-1)
tests/handler/HandlerTest.cpp (+23/-26)
tests/libtelephonyservice/AccountEntryTest.cpp (+30/-34)
tests/libtelephonyservice/CMakeLists.txt (+1/-0)
tests/libtelephonyservice/CallEntryTest.cpp (+129/-0)
tests/libtelephonyservice/ChatManagerTest.cpp (+9/-13)
tests/libtelephonyservice/OfonoAccountEntryTest.cpp (+29/-31)
tests/libtelephonyservice/TelepathyHelperTest.cpp (+50/-27)
To merge this branch: bzr merge lp://staging/~boiko/telephony-service/fix_voicemail_detection
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Tiago Salem Herrmann (community) Approve
Review via email: mp+257694@code.staging.launchpad.net

Commit message

Fix voicemail detection on CallEntry.

Description of the change

Fix voicemail detection on CallEntry.

== 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://wiki.ubuntu.com/Process/Merges/TestPlan/<package-name>) on device or emulator?
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

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1066. By Gustavo Pichorim Boiko

Try to fix some flakiness.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1067. By Gustavo Pichorim Boiko

Increase the timeout of all tests so that slow builders don't fail.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1068. By Gustavo Pichorim Boiko

Change the tests in a hope to finally remove the flakiness.

1069. By Gustavo Pichorim Boiko

Fix some possible points of flakiness. The connectedChanged() signal might be emitted more than just once.

1070. By Gustavo Pichorim Boiko

Use the account from telepathyhelper in the callentry test.

1071. By Gustavo Pichorim Boiko

Re-add dbus-monitor to debug the test failures.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1072. By Gustavo Pichorim Boiko

And one more.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1073. By Gustavo Pichorim Boiko

Only set mReady when the connection is actually ready.

1074. By Gustavo Pichorim Boiko

Revert the mReady change.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1075. By Gustavo Pichorim Boiko

Sometimes multiple status changed signals are emitted, so account for that in the tests.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
1076. By Gustavo Pichorim Boiko

Some more test fixes.

1077. By Gustavo Pichorim Boiko

Merge latest changes from trunk.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1078. By Gustavo Pichorim Boiko

Add debug on the mock dbus calls.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1079. By Gustavo Pichorim Boiko

Wait for the AccountEntry to change the status.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1080. By Gustavo Pichorim Boiko

Only set offline when really necessary.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
1081. By Gustavo Pichorim Boiko

Fix some more flakiness points.

1082. By Gustavo Pichorim Boiko

Ignore status changes from the client side to mimic the behavior of telepathy-ofono.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tiago Salem Herrmann (tiagosh) :
review: Needs Information
1083. By Gustavo Pichorim Boiko

Not having a voicemail number is just a warning, not critical.

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Questions replied.

Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

looks good now.
Thanks.

--Checklist--
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.
No, not related to the changes.

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches