diff options
author | Daron Andrew Edie <daron.edie@nokia.com> | 2012-02-02 14:22:15 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-08 09:09:36 +0100 |
commit | 10799941850690850af2f2a5f0789faf1264b53f (patch) | |
tree | 0782d88674404ac858d178dadccb1af6373c2d45 /tests | |
parent | 405d051f1f3ab749ffca05e90b4e90b29f14282f (diff) | |
download | qtsensors-10799941850690850af2f2a5f0789faf1264b53f.tar.gz |
removed some tests due to test app availablity problems
Change-Id: I1426afa510cf3339668934e81fa7e4475f22ebc8
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt | 110 |
1 files changed, 2 insertions, 108 deletions
diff --git a/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt b/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt index df96295..c6eea53 100644 --- a/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt +++ b/tests/systemtests/sys_SensorElements/sys_declarative-sensor-elements.qtt @@ -3,7 +3,7 @@ ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** -** This file is part of the Qt Mobility Components. +** This file is part of the QtSensors module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public License Usage @@ -38,6 +38,7 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ + //include("Device.qtx") //include("extrafunctions.qtt") @@ -291,111 +292,4 @@ cleanup: function() { | Repeat the previous steps to find the process ID and kill sensorq a second time | View the baldr logs again to verify that sensorq has started again | ")); }, - -// MTMW-423 QML System Test - Ensure sensor defaults to 10hz - accelerometer - Accelerometer_Default: function() - { - // Test meta data - testApplication = "sensortest"; - testBinary = "sensortest"; - testGoal = "Verify that the accelerometer maximum sample rate defaults to 10 hz"; - testPreconditions = "Nil."; - testGroups = "BAT"; - - // Test steps -// mouseClick(findByProperty("label", testBinary)); wait(500); - prompt(twiki("---+++ " + testApplication + "<br><br> - *Goal:* " + testGoal + "<br> - *Pre-Requisites:* " + testPreconditions + "<br> - *Tested Binary:* " + testBinary + "<br> - | *Step* | *Verification* | - | Connect to the console on the device via ssh and launch *" + testBinary + " accel* | App launches normally | - | A stream of data is displayed, move the device in various directions and observe the X, Y and Z data | Verify that the data varies indicating the accelerometer is operating | - | While continuing to move the device observe the sample rate data (last value on each line) | Verify that the default sample rate does not go higher than 10 Hz | - | Stop the " + testBinary + " application using ctrl c and restart using the following command *" + testBinary + " accel -r 100* | | - | Continue moving the device and observe the sample rate data | Verify the sample rate now doesn't go above 100 Hz | - | Stop the " + testBinary + " application and restart using the following command *" + testBinary + " accel* | | - | Continue moving the device and observe the sample rate data | Verify that the sample rate now doesn't go above 10 Hz | - ")); - }, - - // MTMW-438 QML System Test - Ensure sensor defaults to 10hz - IR proximity - IR_Proximity_Default: function() - { - // Test meta data - testApplication = "sensortest"; - testBinary = "sensortest"; - testGoal = "Verify that the IR proximity sensor maximum sample rate defaults to 10 hz"; - testPreconditions = "Nil."; - testGroups = "BAT"; - - // Test steps - // mouseClick(findByProperty("label", testBinary)); wait(500); - prompt(twiki("---+++ " + testApplication + "<br><br> - *Goal:* " + testGoal + "<br> - *Pre-Requisites:* " + testPreconditions + "<br> - *Tested Binary:* " + testBinary + "<br> - | *Step* | *Verification* | - | Connect to the console on the device via ssh and launch *" + testBinary + " irprox* | App launches normally | - | A stream of data is displayed, move your finger in front of the proximity sensor and observe the IR reflectance value | Verify that the data varies indicating the IR proximity sensor is operating | - | While continuing to move your finger in front of the proximity sensor observe the sample rate data (last value on each line) | Verify that the default sample rate does not go higher than 10 Hz | - | Stop the " + testBinary + " application using ctrl c and restart using the following command *" + testBinary + " irprox -r 100* | | - | Continue moving your finger in front of the proximity sensor and observe the sample rate data | Verify the sample rate now doesn't go above 100 Hz and does occasionly go above 10 Hz | - | Stop the " + testBinary + " application and restart using the following command *" + testBinary + " irprox* | | - | Continue moving your finger in front of the proximity sensor and observe the sample rate data | Verify that the sample rate now doesn't go above 10 Hz | - ")); - }, - - // MTMW-439 QML System Test - Ensure sensor defaults to 10hz - light sensor - Light_Sensor_Default: function() - { - // Test meta data - testApplication = "sensortest"; - testBinary = "sensortest"; - testGoal = "Verify that the light sensor maximum sample rate defaults to 10 hz"; - testPreconditions = "Nil."; - testGroups = "BAT"; - - // Test steps - // mouseClick(findByProperty("label", testBinary)); wait(500); - prompt(twiki("---+++ " + testApplication + "<br><br> - *Goal:* " + testGoal + "<br> - *Pre-Requisites:* " + testPreconditions + "<br> - *Tested Binary:* " + testBinary + "<br> - | *Step* | *Verification* | - | Connect to the console on the device via ssh and launch *" + testBinary + " light* | App launches normally | - | A stream of data is displayed, vary the light falling on the device and observe the lux value of the data | Verify that the data varies indicating the light sensor is operating | - | While continuing to vary the light falling on the device observe the sample rate data (last value on each line) | Verify that the default sample rate does not go higher than 10 Hz | - | Stop the " + testBinary + " application using ctrl c and restart using the following command *" + testBinary + " light -r 5* | | - | Continue to vary the light falling on the device and observe the sample rate data | Verify the sample rate now doesn't go above 5 Hz | - | Stop the " + testBinary + " application and restart using the following command *" + testBinary + " light* | | - | Continue to vary the light falling on the device and observe the sample rate data | Verify that the sample rate now doesn't go above 10 Hz | - ")); - }, - - // MTMW-424 - Slow down IR Proxy polling when close - Slow_Down_IR_Proxy: function() - { - // Test meta data - testApplication = "sensortest"; - testBinary = "sensortest"; - testGoal = "Verify that the IR Proxy poll rate slows down to 5 Hz when objects are close"; - testPreconditions = "Nil."; - testGroups = "BAT"; - - // Test steps - // mouseClick(findByProperty("label", testBinary)); wait(500); - prompt(twiki("---+++ " + testApplication + "<br><br> - *Goal:* " + testGoal + "<br> - *Pre-Requisites:* " + testPreconditions + "<br> - *Tested Binary:* " + testBinary + "<br> - | *Step* | *Verification* | - | Connect to the console on the device via ssh and launch *" + testBinary + " irprox* | Verify the App launches normally and displays *loaded the grue plugin*, *loaded the Meltemi plugin* | - | | Verify it also displays *Detected: HW35*, *Sensor 0, IR Reflectance 0.0%* | - | Move your hand to within 1 cm of the IR Proxy sensor | Verify that the IR Reflectance data increases to about 10Hz briefly and then goes down to 5Hz or less - note that the readings will not update unless your hand is moving | - | Move your hand a small amount without moving further away than 1 cm | Verify that the values update but never go above 5Hz | - | Move your hand further away than 1 cm | Verify the updating stops | - | Move your hand to within 1 cm of the IR Proxy sensor again | Verify that the IR Reflectance data increases to about 10Hz briefly and then goes down to 5Hz or less | - ")); - }, } |