Merge lp:~dandrader/unity8/fixOrientedShellTests into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Josh Arenson on 2015-06-24 |
| Approved revision: | 1833 |
| Merged at revision: | 1833 |
| Proposed branch: | lp:~dandrader/unity8/fixOrientedShellTests |
| Merge into: | lp:unity8 |
| Diff against target: |
329 lines (+31/-49) 10 files modified
qml/OrientedShell.qml (+1/-0) qml/Shell.qml (+13/-15) src/ApplicationArguments.h (+5/-0) src/main.cpp (+2/-1) tests/autopilot/unity8/greeter/tests/test_args.py (+6/-6) tests/qmltests/Stages/tst_SurfaceContainer.qml (+0/-1) tests/qmltests/Tutorial/tst_Tutorial.qml (+3/-10) tests/qmltests/tst_OrientedShell.qml (+1/-12) tests/qmltests/tst_Shell.qml (+0/-2) tests/qmltests/tst_ShellWithPin.qml (+0/-2) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/fixOrientedShellTests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Lukáš Tinkl (community) | Approve on 2015-06-29 | ||
| Josh Arenson | 2015-06-19 | Approve on 2015-06-24 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-06-23 | |
| Albert Astals Cid (community) | Abstain on 2015-06-23 | ||
|
Review via email:
|
|||
Commit Message
Fix tst_OrientedShell and tst_Tutorial
+ Clear several warnings in Shell.qml
+ Move shellMode into applicationArgu
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
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?
Not applicable
* If you changed the UI, has there been a design review?
Not applicable
* Did you have a look at the warnings when running tests? Can they be reduced?
Yes, solved some of them.
- 1830. By CI Train Bot Account on 2015-06-22
-
Resync trunk.
- 1831. By Launchpad Translations on behalf of unity-team on 2015-06-23
-
Launchpad automatic translations update.
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/qmltests/
1 conflicts encountered.
- 1832. By Daniel d'Andrada on 2015-06-23
-
Fix tst_OrientedShell
+ Clear several warnings in Shell.qml
+ Move shellMode into applicationArguments context property
| Daniel d'Andrada (dandrader) wrote : | # |
> Text conflict in tests/qmltests/
> 1 conflicts encountered.
Fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1832
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1833. By Daniel d'Andrada on 2015-06-23
-
Fix tst_Tutorial.qml
| Albert Astals Cid (aacid) wrote : | # |
I do sincerely think the fix for tutorial test is worse than the one in http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1833
http://
Executed test runs:
FAILURE: http://
SUCCESS: 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:1833
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
On 23/06/15 20:44, Josh Arenson wrote:
>> @@ -434,7 +432,7 @@
>> > Greeter {
>> >
>> > hides: [launcher, panel.indicators]
>> > - tabletMode: shell.sideStage
>> > + tabletMode: shell.usageScenario != "phone"
> Do you think naming this property 'phoneMode' would make things more clear? The only place 'tabletMode' is being used is in the greeter, so the amount of refactoring is small. I think the way it is currently is confusing.
>
I think it amounts to the same. Don't see it being any better.
- 1834. By Daniel d'Andrada on 2015-06-25
-
Also fix tst_SurfaceCont
ainer
| Lukáš Tinkl (lukas-kde) wrote : | # |
One minor inline nitpick from me :)
| Lukáš Tinkl (lukas-kde) wrote : | # |
See http://
| Lukáš Tinkl (lukas-kde) wrote : | # |
Also, https:/
| Daniel d'Andrada (dandrader) wrote : | # |
> See http://
> instead-of-by-value for the more elaborate overview of passing by value vs.
> passing by const ref
QString does have a move contructor:
http://
What problem do you see in this case?
| Daniel d'Andrada (dandrader) wrote : | # |
> Also,
> https:/
> #Passing_
This applies if you're not using C++11, where you don't have move constructors and move semantics.
| Lukáš Tinkl (lukas-kde) wrote : | # |
Ok, I stand corrected then, I didn't know Qt enables it for QStrings under C++11 :)

FAILED: Continuous integration, rev:1823 jenkins. qa.ubuntu. com/job/ unity8- ci/5839/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 133 jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/119 jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/120 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- wily-mako/ 86 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 133 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 133/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 21335
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/5839/ rebuild
http://