lp:~pitti/qtubuntu-sensors/crash-without-hw
- Get this branch:
- bzr branch lp:~pitti/qtubuntu-sensors/crash-without-hw
Branch merges
- Sergio Schvezov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 246 lines (+127/-11)4 files modifieddebian/control (+1/-1)
plugins/sensors/core_shared_accelerometer.cpp (+10/-3)
plugins/sensors/core_shared_accelerometer.h (+1/-0)
tests/test_sensor_api.cpp (+115/-7)
Related bugs
Related blueprints
Branch information
Recent revisions
- 51. By Martin Pitt
-
Fix crash if there are no available sensors
Check if ua_sensors_
accelerometer_ new() returns NULL, which happens if
platform-api cannot actually instantiate a sensor (hardware or simulated).
Don't try and call functions on it and just leave the sensor in an error state
(covered by tests of previous commit). - 50. By Martin Pitt
-
Add tests for real/default backend
Add integration tests what happens when using qtubuntu-sensors against the real
(non-simulated) platform-api backend, and the default backend (which is "dummy"
if you don't have qtubuntu-sensors installed, and "core" if you do as that
ships /etc/xdg/QtProject/ Sensors. conf). Rename the existing APITests to SimBackendTests to tell them apart from the new
{Real,Default}BackendTests. - 49. By Albert Astals Cid
-
Q_ASSERT -> EXPECT_EQ
Since sometimes Q_ASSERT can be compiled out and thus the test would fail. Fixes: https:/
/bugs.launchpad .net/bugs/ 1271886. Approved by PS Jenkins bot, Timo Jyrinki.
- 48. By Albert Astals Cid
-
Make it compile with Qt 5.2 (LP: #1271415). Fixes: https:/
/bugs.launchpad .net/bugs/ 1271415. Approved by PS Jenkins bot, Timo Jyrinki.
- 47. By Martin Pitt
-
Add integration tests for the QtSensor API → qtubuntu-sensors → platform-api (with simulated sensor backend).
Approved by PS Jenkins bot, Thomas Voß.
- 46. By PS Jenkins bot
-
Releasing 0.6+14.
04.20140113. 1-0ubuntu1 (revision 45 from lp:qtubuntu-sensors). Approved by PS Jenkins bot.
- 44. By Thomas Voß
-
Add the position plugin for QtLocation. Fixes: https:/
/bugs.launchpad .net/bugs/ 1214402. Approved by Timo Jyrinki, Didier Roche, Martin Pitt, PS Jenkins bot.
- 43. By PS Jenkins bot
-
Releasing 0.6+14.
04.20140108. 2-0ubuntu1 (revision 42 from lp:qtubuntu-sensors). Approved by PS Jenkins bot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:qtubuntu-sensors