diff options
author | Daron Andrew Edie <daron.edie@nokia.com> | 2012-01-06 11:40:50 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-06 03:23:43 +0100 |
commit | e72a930f0ad367a0fbeba5b9960094de5077aab5 (patch) | |
tree | a22004887c4280ae37eb82fdac27161dec412505 /tests/systemtests | |
parent | 9e1492ec0131754610555ad42c39b292096d7939 (diff) | |
download | qtsensors-e72a930f0ad367a0fbeba5b9960094de5077aab5.tar.gz |
Added tests to confirm operation of sensors singly and in combination
Change-Id: Ie5db85d3a4ca7d94a683ef3fe0212665e1a332fa
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
Diffstat (limited to 'tests/systemtests')
-rw-r--r-- | tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt b/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt index 2d6791f..85badb1 100644 --- a/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt +++ b/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt @@ -38,7 +38,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -include("product.qtx") +include("Device.qtx") include("extrafunctions.qtt") //TESTED_COMPONENT=src/sensors @@ -156,6 +156,7 @@ cleanup: function() { }, // As a QML Application developer I would like to have one QML element per sensor type +// MTMW-427 QML System Test - Using only Proximity sensor does not start the sensor hardware Display_All_Sensor_Types: function() { // Test meta data @@ -174,9 +175,14 @@ cleanup: function() { | *Step* | *Verification* | | Launch " + testBinary + " | App launches normally | - | Each sensor button will display *start*, press each of the sensor buttons | Verify that each sensor button displays *running* and operates as expected | - | Press each of the sensor buttons | Verify that each button no longer says *running* and now displays *stopped* | - | Press each sensor button again | Verify that each button now says *running* | + | Ensure that none of the sensors are in a *running* state | Press any buttons that display *Running* to place that sensor in a *Stopped* state | + | Each sensor button will display *start* or *Stopped*, press the accelerometer *Start* button | Verify that the accelerometer button displays *running* and operates as expected | + | Press the accelerometer button again to stop the accelerometer | Verify the button reads *Stopped* and the X, Y Rotation values do not repond to movement | + | Press the Ambient Light *Start* button | Verify that the Ambient Light sensor button displays *running* and operates as expected | + | Press the Ambient Light button again to stop the Ambient Light sensor | Verify the button reads *Stopped* and the Ambient Light sensor does not respond when a shadow falls on it | + | Press the Proximity sensor *Start* button | Verify that the Proximity sensor button displays *running* and operates as expected | + | Press the Proximity sensor button again to stop the Proximity sensor | Verify the button reads *Stopped* and the Proximity sensor does not respond when when your palm is brought within 1 cm of the Proximity sensor | + | Press all sensor buttons again to start all sensors | Verify all buttons read *Running* and all sensors operate as expected | ")); }, |