Merge lp://staging/~nik90/ubuntu-clock-app/add-first-qmltest into lp://staging/ubuntu-clock-app

Proposed by Nekhelesh Ramananthan
Status: Merged
Approved by: Nekhelesh Ramananthan
Approved revision: 66
Merged at revision: 61
Proposed branch: lp://staging/~nik90/ubuntu-clock-app/add-first-qmltest
Merge into: lp://staging/ubuntu-clock-app
Diff against target: 523 lines (+306/-95)
11 files modified
README (+10/-5)
README.autopilot (+13/-8)
README.developers (+31/-17)
README.unittest (+32/-0)
app/alarm/AlarmLabel.qml (+12/-15)
app/alarm/AlarmRepeat.qml (+3/-0)
debian/changelog (+1/-0)
manifest.json (+1/-1)
tests/unit/tst_alarmLabel.qml (+86/-0)
tests/unit/tst_alarmRepeat.qml (+117/-0)
tests/unit/tst_hellocomponent.qml (+0/-49)
To merge this branch: bzr merge lp://staging/~nik90/ubuntu-clock-app/add-first-qmltest
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Michael Zanetti (community) Approve
Ubuntu Clock Developers Pending
Review via email: mp+230702@code.staging.launchpad.net

Commit message

Added the following qml unit tests,
- Test if the back button in the AlarmLabel page is correctly enabled/disabled based on the alarm label
- Test if the alarm label textfield correctly receives the alarm message
- Test if the switches in the AlarmRepeat page are correctly checked based on the alarm dayOfTheWeek value.
- Test if setting the switches in the AlarmRepeat page correctly updates the alarm dayOfTheWeek value.
- Transitioned alarm label page to the new header API.

Description of the change

Added the following qml unit tests,
- Test if the back button in the AlarmLabel page is correctly enabled/disabled based on the alarm label
- Test if the alarm label textfield correctly receives the alarm message
- Test if the switches in the AlarmRepeat page are correctly checked based on the alarm dayOfTheWeek value.
- Test if setting the switches in the AlarmRepeat page correctly updates the alarm dayOfTheWeek value.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
58. By Nekhelesh Ramananthan

Merged trunk

59. By Nekhelesh Ramananthan

Updated debian changelog and click package version in the manifest file

60. By Nekhelesh Ramananthan

Added more unit tests

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
61. By Nekhelesh Ramananthan

Added comment and fixed timing issue in switchStatusUpdatesAlarmObject function

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Leo Arias (elopio) wrote :

yay!!! tests!
Can you please add on the README or HACKING file the instructions to run them?
Also, we need to run this tests on jenkins for each MP. That can be in a following branch. We can add them to the make test task, or as autopkgtests. Let me know if you need a hand with this and I'll work with you next week.

62. By Nekhelesh Ramananthan

Updated readme files with instruction to run ap and unit tests

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

> yay!!! tests!
> Can you please add on the README or HACKING file the instructions to run them?
> Also, we need to run this tests on jenkins for each MP. That can be in a
> following branch. We can add them to the make test task, or as autopkgtests.
> Let me know if you need a hand with this and I'll work with you next week.

:) I have extensively edited the readme files to accommodate your request. During my weekly clock meeting I informed balloons about the need to have jenkins run the unit tests for each MP. I think it might require enabling things on the jenkins side of things. But I rather let you both discuss it :D

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
63. By Nekhelesh Ramananthan

merged trunk

64. By Nekhelesh Ramananthan

Added one more test to alarm repeat page

65. By Nekhelesh Ramananthan

merged trunk

66. By Nekhelesh Ramananthan

Improved comment

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

looks good to me.

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) 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