Merge lp:~renatofilho/ubuntu-calendar-app/fix-unit-tests into lp:ubuntu-calendar-app
- fix-unit-tests
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Olivier Tilloy |
Approved revision: | 856 |
Merged at revision: | 852 |
Proposed branch: | lp:~renatofilho/ubuntu-calendar-app/fix-unit-tests |
Merge into: | lp:ubuntu-calendar-app |
Prerequisite: | lp:~osomon/ubuntu-calendar-app/deps-cleanup |
Diff against target: |
24 lines (+5/-2) 1 file modified
tests/unittests/tst_event_bubble.qml (+5/-2) |
To merge this branch: | bzr merge lp:~renatofilho/ubuntu-calendar-app/fix-unit-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
system-apps-ci-bot | continuous-integration | Approve | |
Olivier Tilloy (community) | Approve | ||
Jenkins Bot | continuous-integration | Approve | |
Review via email: mp+298447@code.launchpad.net |
This proposal supersedes a proposal from 2016-06-27.
Commit message
[tst_new_event] Added missing build dep necessary for tests.
[tst_event_bubble] Make sure that initial event start date is always in the future.
Description of the change
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:853
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
- 854. By Renato Araujo Oliveira Filho
-
More missing deps.
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:854
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:854
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:854
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
- 855. By Renato Araujo Oliveira Filho
-
Parent merged: ~osomon/
ubuntu- calendar- app/deps- cleanup - 856. By Renato Araujo Oliveira Filho
-
Reverted changes on debian/control.
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:856
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild:
https:/
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:856
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
Click here to trigger a rebuild:
https:/
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
FAILED: Continuous integration, rev:856
https:/
Executed test runs:
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
FAILURE: https:/
Click here to trigger a rebuild:
https:/
system-apps-ci-bot (system-apps-ci-bot) wrote : | # |
PASSED: Continuous integration, rev:856
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
deb: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
Preview Diff
1 | === modified file 'tests/unittests/tst_event_bubble.qml' |
2 | --- tests/unittests/tst_event_bubble.qml 2016-03-31 19:19:33 +0000 |
3 | +++ tests/unittests/tst_event_bubble.qml 2016-06-27 18:43:42 +0000 |
4 | @@ -2,6 +2,8 @@ |
5 | import QtTest 1.0 |
6 | import QtOrganizer 5.0 |
7 | |
8 | +import "../../dateExt.js" as DATE |
9 | + |
10 | TestCase{ |
11 | id: root |
12 | name: "Event Bubble tests" |
13 | @@ -107,8 +109,9 @@ |
14 | function init() |
15 | { |
16 | var collectionId = get_collection_id_by_name(root.model, root.collection.name) |
17 | - var startDate = new Date(2016, 3, 28, 14, 0,0 ) |
18 | - var endDate = new Date(2016, 3, 28, 15, 0,0 ) |
19 | + var startDate = new Date() |
20 | + startDate = startDate.addDays(1) |
21 | + var endDate = startDate.addMinutes(60) |
22 | var eventData = {"collectionId": collectionId, |
23 | "label": "Sample Test Event", |
24 | "allDay": false, |
PASSED: Continuous integration, rev:853 /core-apps- jenkins. ubuntu. com/job/ calendar- app-ci/ 869/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/936/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ calendar- app-ci/ 869/rebuild
https:/