Merge lp:~alan-griffiths/qtmir/test-harness-for-MirWindowManager into lp:qtmir
| Status: | Merged |
|---|---|
| Approved by: | Gerry Boland on 2015-10-29 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 402 |
| Proposed branch: | lp:~alan-griffiths/qtmir/test-harness-for-MirWindowManager |
| Merge into: | lp:qtmir |
| Prerequisite: | lp:~alan-griffiths/qtmir/small-refactoring-of-MirWindowManager |
| Diff against target: |
833 lines (+795/-0) 7 files modified
tests/mirserver/CMakeLists.txt (+1/-0) tests/mirserver/WindowManager/CMakeLists.txt (+21/-0) tests/mirserver/WindowManager/stub_session.cpp (+125/-0) tests/mirserver/WindowManager/stub_session.h (+59/-0) tests/mirserver/WindowManager/stub_surface.cpp (+198/-0) tests/mirserver/WindowManager/stub_surface.h (+67/-0) tests/mirserver/WindowManager/window_manager.cpp (+324/-0) |
| To merge this branch: | bzr merge lp:~alan-griffiths/qtmir/test-harness-for-MirWindowManager |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gerry Boland | 2015-10-13 | Approve on 2015-10-29 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-10-28 | |
| Michał Sawicz | Needs Fixing on 2015-10-28 | ||
|
Review via email:
|
|||
Commit Message
Test harness for MirWindowManager (in preparation for more intelligent window management)
Description of the Change
Test harness for MirWindowManager (in preparation for more intelligent window management)
| Gerry Boland (gerboland) wrote : | # |
+// and there's not even a proper stub in the Mir-0.15 package mirtest-dev
how about mir 0.17, which will land before this will?
| Alan Griffiths (alan-griffiths) wrote : | # |
> +// and there's not even a proper stub in the Mir-0.15 package mirtest-dev
> how about mir 0.17, which will land before this will?
No, nothing much changed since then. But we can feedback to the Mir team. ;)
| Gerry Boland (gerboland) wrote : | # |
+struct AttribValuePair
+{
+ MirSurfaceAttrib attribute;
+ int value;
+ friend std::ostream& operator<
+ { return out << "attribute:" << pair.attribute << ", value:" << pair.value; }
+};
Qt has a QPair. STL has pair. This just for readability?
This is a decent foundation for what comes next.
| Alan Griffiths (alan-griffiths) wrote : | # |
> +struct AttribValuePair
...
> Qt has a QPair. STL has pair. This just for readability?
Yes.
const auto attribute = GetParam(
const auto value = GetParam().value;
is clearer than:
const auto attribute = GetParam().first;
const auto value = GetParam().second;
and the operator<<() injection here is cleaner than with "using AttribValuePair = std::pair<
namespace std
{
ostream& operator<<(ostream& out, AttribValuePair const& pair)
{ return out << "attribute:" << pair.first << ", value:" << pair.second; }
}
| Alan Griffiths (alan-griffiths) wrote : | # |
> > +// and there's not even a proper stub in the Mir-0.15 package mirtest-dev
> > how about mir 0.17, which will land before this will?
>
> No, nothing much changed since then. But we can feedback to the Mir team. ;)
Vis: lp:~alan-griffiths/mir/dd-some-stubs-to-mirtest-dev/+merge/274262
| Michał Sawicz (saviq) wrote : | # |
This stopped building, please the build output in:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:391
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:392
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:393
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 399. By Michał Sawicz on 2015-11-02
-
Clean up packaging and fix autopkgtest on armhf
Approved by: Gerry Boland - 400. By Michael Terry on 2015-11-02
-
Support new isTouchApp property to ApplicationInfo
Interface and move lifecycle policy logic out of qtmir. Now that qtmir won't decide policy for suspending anymore, we don't need all the lifecycleException handling in qtmir either. That can move to unity8.
But since the GSettings key for that was registered under the qtmir namespace (and there's no technical reason to migrate settings), I left the schema and classes dealing with GSettings alone, for future use.
- 401. By Nick Dedekind on 2015-11-02
-
Support server->client visibility change to stop rendering (lp:#1475678) Fixes: #1475678
Approved by: Daniel d'Andrada - 402. By Alan Griffiths on 2015-11-02
-
Test harness for MirWindowManager (in preparation for more intelligent window management)
Approved by: Gerry Boland

PASSED: Continuous integration, rev:390 jenkins. qa.ubuntu. com/job/ qtmir-ci/ 505/ jenkins. qa.ubuntu. com/job/ qtmir-vivid- amd64-ci/ 201 jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 201 jenkins. qa.ubuntu. com/job/ qtmir-vivid- armhf-ci/ 201/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ qtmir-vivid- i386-ci/ 83 jenkins. qa.ubuntu. com/job/ qtmir-wily- amd64-ci/ 238 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 238 jenkins. qa.ubuntu. com/job/ qtmir-wily- armhf-ci/ 238/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ qtmir-wily- i386-ci/ 83
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/qtmir- ci/505/ rebuild
http://