Tests reach out to dbus (missing Unity.Platform mock)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
High
|
Lukáš Tinkl |
Bug Description
Our tests reach out to dbus, which might not exist in the testing environment.
We need to either mock the service it's reaching out to, or the plugin that's reaching.
Currently known examples:
* Unity.Platform
* logind
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: unity8 8.15+17.
ProcVersionSign
Uname: Linux 4.9.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jan 10 14:36:00 2017
InstallationDate: Installed on 2016-05-06 (248 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: unity8
UpgradeStatus: Upgraded to zesty on 2016-11-22 (49 days ago)
Related branches
- Unity8 CI Bot: Approve (continuous-integration)
- Michał Sawicz: Approve
-
Diff: 55 lines (+29/-0)4 files modifiedtests/mocks/Unity/CMakeLists.txt (+1/-0)
tests/mocks/Unity/Platform/CMakeLists.txt (+1/-0)
tests/mocks/Unity/Platform/MockPlatform.qml (+25/-0)
tests/mocks/Unity/Platform/qmldir (+2/-0)
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
status: | New → In Progress |
Changed in unity8 (Ubuntu): | |
status: | In Progress → Triaged |
status: | Triaged → In Progress |
importance: | Undecided → High |
This bug was fixed in the package unity8 - 8.15+17. 04.20170110. 4-0ubuntu1
--------------- 04.20170110. 4-0ubuntu1) zesty; urgency=medium
unity8 (8.15+17.
[ Albert Astals Cid ] eArea: Use default values for mouseFlick speed and
* Give focus to one of the buttons of the dialog
* tst_WindowResiz
iterations (LP: #1651580)
* Require Qt 5.6 & misc fixes
[ Daniel van Vugt ]
* Deprecate usage of Mir's input resampling, instead opting for: (LP:
#1497105, #1591328)
[ Josh Arenson ]
* Allow the scopes list to automatically scroll when a scope is being
dragged past the bounds of the screen. (LP: #1575319)
[ Lukáš Tinkl ]
* Fix touch window controls being unreachable when the overlay is
being displayed (LP: #1648167)
* Fixup paths for window state storage in snappy environment
* Add Unity.Platform mock for our tests (LP: #1655336)
[ Michael Zanetti ]
* PreviewRatingInput: Use displayText instead of text to
enable/disable the Send button (LP: #1595910)
* Add a D-Bus interface to control some debug facilities on the fly
* some launcher workarounds for the snapping
[ Michał Sawicz ]
* Nuke leftover Platform in IndicatorsManager
[ Nick Dedekind ]
* Added registry for application menus
[ Michael Terry, Nick Dedekind ]
* Run the qmluitests.sh autopkg test against the installed package.
[ Michał Sawicz, Nick Dedekind ]
* Application menus
[ Rodney Dawes ]
* Remove the payments widget and dependency on libpay as no longer
needed.
-- Michał Sawicz <email address hidden> Tue, 10 Jan 2017 14:48:42 +0000