t.step(function () {
onSuccess = t.step_func(function (a) {
- assert_type(a.x, "number", "invalid type of Acceleraton X");
- assert_not_equals(a.x, 0, "invalid value of Acceleraton X");
- assert_type(a.y, "number", "invalid type of Acceleraton Y");
- assert_not_equals(a.y, 0, "invalid value of Acceleraton Y");
- assert_type(a.z, "number", "invalid type of Acceleraton Z");
- assert_not_equals(a.z, 0, "invalid value of Acceleraton Z");
- assert_type(a.timestamp, "number", "invalid type of Acceleraton Timestamp");
- assert_not_equals(a.timestamp, 0, "invalid value of Acceleraton Timestamp");
+ assert_type(a.x, "number", "invalid type of Acceleration X");
+ assert_not_equals(a.x, 0, "invalid value of Acceleration X");
+ assert_type(a.y, "number", "invalid type of Acceleration Y");
+ assert_not_equals(a.y, 0, "invalid value of Acceleration Y");
+ assert_type(a.z, "number", "invalid type of Acceleration Z");
+ assert_not_equals(a.z, 0, "invalid value of Acceleration Z");
+ assert_type(a.timestamp, "number", "invalid type of Acceleration Timestamp");
+ assert_not_equals(a.timestamp, 0, "invalid value of Acceleration Timestamp");
t.done();
});
</description>
<specs>
</specs>
- </testcase><testcase purpose="Check if accelerometerSuccess is called with argument of proper type." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P3" id="cordova_accelerometerSuccess_onSuccess">
+ </testcase><testcase purpose="Check if accelerometerSuccess is called with argument of proper type." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P3" id="cordova_accelerometerSuccess_onSuccess">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X, Y, Z to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor -> Acceleration to set X, Y, Z to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometerSuccess_onSuccess.html</test_script_entry>
</description>
<specs>
</description>
<specs>
</specs>
- </testcase><testcase purpose="Check if getCurrentAcceleration method can get the current acceleration." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P1" id="cordova_accelerometer_getCurrentAcceleration">
+ </testcase><testcase purpose="Check if getCurrentAcceleration method can get the current acceleration." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P1" id="cordova_accelerometer_getCurrentAcceleration">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor -> Acceleration to set X to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_getCurrentAcceleration.html</test_script_entry>
</description>
<specs>
</description>
<specs>
</specs>
- </testcase><testcase purpose="Check if watchAcceleration method works properly with optional arguments." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P1" id="cordova_accelerometer_watchAcceleration_with_accelerometerOptions">
+ </testcase><testcase purpose="Check if watchAcceleration method works properly with optional arguments." type="compliance" status="approved" component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P1" id="cordova_accelerometer_watchAcceleration_with_accelerometerOptions">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor-> Acceleration to set X to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_watchAcceleration_with_accelerometerOptions.html</test_script_entry>
</description>
<specs>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometerSuccess_notexist.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if accelerometerSuccess is called with argument of proper type." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P3" id="cordova_accelerometerSuccess_onSuccess">
+ <testcase purpose="Check if accelerometerSuccess is called with argument of proper type." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P3" id="cordova_accelerometerSuccess_onSuccess">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X, Y, Z to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor -> Acceleration to set X, Y, Z to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometerSuccess_onSuccess.html</test_script_entry>
</description>
</testcase>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_extend.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if getCurrentAcceleration method can get the current acceleration." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P1" id="cordova_accelerometer_getCurrentAcceleration">
+ <testcase purpose="Check if getCurrentAcceleration method can get the current acceleration." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P1" id="cordova_accelerometer_getCurrentAcceleration">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor -> Acceleration to set X to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_getCurrentAcceleration.html</test_script_entry>
</description>
</testcase>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_watchAcceleration_misarg.html</test_script_entry>
</description>
</testcase>
- <testcase purpose="Check if watchAcceleration method works properly with optional arguments." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="auto" priority="P1" id="cordova_accelerometer_watchAcceleration_with_accelerometerOptions">
+ <testcase purpose="Check if watchAcceleration method works properly with optional arguments." component="TizenAPI/Cordova/CordovaDeviceMotion" execution_type="manual" priority="P1" id="cordova_accelerometer_watchAcceleration_with_accelerometerOptions">
<description>
+ <pre_condition>HD Mobile EMULATOR : Emulator Control Panel -> 3-Axis -> Acceleration to set X to nonzero value
+ Wearable Circle EMULATOR : Emulator Control Panel -> Sensor-> Acceleration to set X to nonzero value. </pre_condition>
+ <steps>
+ <step order="1">
+ <step_desc>press [Run] button in the test case.</step_desc>
+ <expected>test case is passed.</expected>
+ </step>
+ </steps>
<test_script_entry>/opt/tct-devicemotion-cordova-tests/accelerometer/cordova_accelerometer_watchAcceleration_with_accelerometerOptions.html</test_script_entry>
</description>
</testcase>