Merge lp:~dandrader/unity8/unifyShellTests into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Michael Terry on 2015-03-02 |
| Approved revision: | 1638 |
| Merged at revision: | 1665 |
| Proposed branch: | lp:~dandrader/unity8/unifyShellTests |
| Merge into: | lp:unity8 |
| Prerequisite: | lp:~dandrader/unity8/stabilizeShellTest |
| Diff against target: |
971 lines (+336/-382) 3 files modified
tests/qmltests/CMakeLists.txt (+0/-1) tests/qmltests/tst_Shell.qml (+336/-77) tests/qmltests/tst_TabletShell.qml (+0/-304) |
| To merge this branch: | bzr merge lp:~dandrader/unity8/unifyShellTests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Terry | 2015-02-25 | Approve on 2015-03-02 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-02-26 | |
|
Review via email:
|
|||
Commit Message
Make tst_Shell absorb tst_TabletShell
Benefits:
- less code duplication (the code beyond the test functions themselves, such as qml code and helper functions)
- Enables one to try out and test all possible combinations involving shell, like tablet vs phone vs single user vs multi user. test_launchedAp
- Sticks to the convention that all qml tests for a given component are run by "make testComponentName". For Shell they were spread around between tst_Shell, tst_TabletShell and tst_ShellWithPin (that last one remains for now).
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
No, but it builds upon lp:~dandrader/unity8/stabilizeShellTest
* Did you perform an exploratory manual test run of your code change and any related functionality?
Not applicable.
* 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.
| Albert Astals Cid (aacid) wrote : | # |
Seems the new tests actually didn't pass
- 1638. By Daniel d'Andrada on 2015-02-26
-
Wait for greeter to stabilize before running test and remove unused function
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1638
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Daniel d'Andrada (dandrader) wrote : | # |
On 26/02/15 05:20, Albert Astals Cid wrote:
> Seems the new tests actually didn't pass
Fixed.
| Michael Terry (mterry) wrote : | # |
You dropped the following code during cleanup:
shell.indicator
(It is property defined outside of Shell.qml, so reloading Shell.qml doesn't reset it. And it is modified by some tests, so we should clean it to a known-good value.)
| Michael Terry (mterry) wrote : | # |
Nope, I'm wrong. That property is defined in the sourceComponent. It's fine as is.
| Michael Terry (mterry) 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.
Yesish, autopilot is it's own problem.
* Did you make sure that the branch does not contain spurious tags?
Yes
- 1639. By Daniel d'Andrada on 2015-03-10
-
Merge trunk
[ Albert Astals ]
* Don't precache items that are outisde the 1.5*height buffering area
(LP: #1410131)
[ Albert Astals Cid ]
* Don't precache items that are outisde the 1.5*height buffering area
(LP: #1410131)
[ Chris Townsend ]
* Add a wrapper for handling the
/org/gnome/SessionMa nager/EndSessio nDialog DBus object used by
indicator-session. This allows indicator-session to properly talk to
the Unity 8 session management functions. (LP: #1392187)
* Allow for proper logout session management. This uses the
EndSession() Upstart DBus method on the current session bus. (LP:
#1360316)
* Make the Unity 8 session dialogs behave in the same fashion as Unity
7. From indicator-session: Clicking "Log Out" will now present a
dialog to "Lock", "Log Out", or "Cancel". Clicking "Shut Down" will
now present a dialog to "Reboot", "Shut Down", or "Cancel". (LP:
#1416074)
[ Daniel d'Andrada ]
* Add NO_TESTS cmake option to skip tests and therefore speed up
builds
* Remove enums and properties that doesn't exist in the real
ApplicationManager
* Stabilize some Shell qml tests
[ Josh Arenson ]
* Create a PhysicalKeyMapper to handle all physical/hardware keys (LP:
#1390393)
[ Michael Terry ]
* Make the draggable part of the right edge (during the tutorial) a
constant size, instead of having it grow and shrink as the spread
peeks out from the side.
[ MichaĆ Sawicz ]
* Create a PhysicalKeyMapper to handle all physical/hardware keys (LP:
#1390393)
[ Robert Bruce Park ]
* Launchpad automatic translations update.
[ CI Train Bot ]
* New rebuild forced.
[ Pete Woods ]
* Only set scopes active when the screen is on (LP: #1422879)

FAILED: Continuous integration, rev:1637 jenkins. qa.ubuntu. com/job/ unity8- ci/5361/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 1534 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- vivid/525 jenkins. qa.ubuntu. com/job/ unity8- vivid-amd64- ci/526 jenkins. qa.ubuntu. com/job/ unity8- vivid-i386- ci/526 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 1365 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1532 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 1532/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 18353
http://
Executed test runs:
UNSTABLE: http://
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/5361/ rebuild
http://