Merge lp:~aacid/unity8/listviewforreviews into lp:unity8
| Status: | Merged | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Approved by: | Michael Zanetti on 2015-12-01 | ||||||||
| Approved revision: | 2045 | ||||||||
| Merged at revision: | 2084 | ||||||||
| Proposed branch: | lp:~aacid/unity8/listviewforreviews | ||||||||
| Merge into: | lp:unity8 | ||||||||
| Diff against target: |
293 lines (+179/-25) 8 files modified
qml/Dash/Previews/Preview.qml (+2/-0) qml/Dash/Previews/PreviewRatingDisplay.qml (+72/-21) qml/Dash/Previews/PreviewWidget.qml (+3/-0) qml/Dash/Previews/PreviewWidgetFactory.qml (+4/-0) tests/qmltests/CMakeLists.txt (+1/-0) tests/qmltests/Dash/Previews/tst_PreviewRatingDisplay.qml (+1/-3) tests/qmltests/Dash/Previews/tst_PreviewRatingDisplayCreationRanges.qml (+94/-0) tests/utils/modules/Unity/Test/UnityTestCase.qml (+2/-1) |
||||||||
| To merge this branch: | bzr merge lp:~aacid/unity8/listviewforreviews | ||||||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Zanetti (community) | 2015-11-13 | Approve on 2015-12-01 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-11-27 | |
|
Review via email:
|
|||
Commit Message
Create ratings on demand instead of all at the same time
Description of the Change
* Are there any related MPs required for this MP to build/function as expected?
No
* Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
* Did you make sure that your branch does not contain spurious tags?
Yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
* If you changed the UI, has there been a design review?
N/A
| Michael Zanetti (mzanetti) wrote : | # |
Improves the issue a lot. Code looks reasonable.
Do you think it is worth writing some test for this? Shouldn't be too hard to open a fake preview with tons of entries, making sure only very few are created, flicking to the bottom and making sure all of them are created. Would at least check if noone breaks it by making it perform bad again, or by preventing things from being built up when required.
- 2040. By Albert Astals Cid on 2015-11-26
-
Merge
- 2041. By Albert Astals Cid on 2015-11-26
-
Do not use 5 max iterations hardcoded in flickToYEnd, makes no sense
- 2042. By Albert Astals Cid on 2015-11-26
-
Rename parentList to parentFlickable
- 2043. By Albert Astals Cid on 2015-11-26
-
Add test for the creation ranges on rating display creation
| Albert Astals Cid (aacid) wrote : | # |
Test added
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2040
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2043
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 2044. By Albert Astals Cid on 2015-11-27
-
beware of scary eol
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2044
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2045. By Albert Astals Cid on 2015-11-27
-
Make test pass again
There's no need to check the repeater.count (that doesn't exist anymore)
since we're checking the existance of "reviewItem" + index later in the loop anyway
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2045
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Michael Zanetti (mzanetti) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
yes
* Did CI run pass? If not, please explain why.
yes
* Did you make sure that the branch does not contain spurious tags?
yes

FAILED: Continuous integration, rev:2039 jenkins. qa.ubuntu. com/job/ unity8- ci/6706/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 5141/console jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- xenial- touch/121/ console jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/1418/ console jenkins. qa.ubuntu. com/job/ unity8- qmluitest- xenial- amd64/121 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/1313 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/1314 jenkins. qa.ubuntu. com/job/ unity8- xenial- amd64-ci/ 120 jenkins. qa.ubuntu. com/job/ unity8- xenial- i386-ci/ 120 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5155 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 5155/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- xenial- touch/22/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/121 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- xenial- armhf/121/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 25132
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/6706/ rebuild
http://