});
getSuccessCallback = t.step_func(function (batteryInfoArray) {
- check_readonly(batteryInfoArray[0], "batteryUsage", batteryInfoArray[0].batteryUsage, "number", batteryUsage/2);
+ check_readonly(batteryInfoArray[0], "batteryUsage", batteryInfoArray[0].batteryUsage, "number", batteryInfoArray[0].batteryUsage/2);
t.done();
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
getSuccessCallback = t.step_func(function (appsInfoArray) {
assert_greater_than(appsInfoArray.length, 0, "app is not found");
- check_readonly(appsInfoArray[0], "totalCount", appsInfoArray[0].totalCount, "number", totalCount+1);
+ check_readonly(appsInfoArray[0], "totalCount", appsInfoArray[0].totalCount, "number", appsInfoArray[0].totalCount+1);
t.done();
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>
getSuccessCallback = t.step_func(function (appsInfoArray) {
assert_greater_than(appsInfoArray.length, 0, "app is not found");
- check_readonly(appsInfoArray[0], "totalDuration", appsInfoArray[0].totalDuration, "number", totalDuration+1);
+ check_readonly(appsInfoArray[0], "totalDuration", appsInfoArray[0].totalDuration, "number", appsInfoArray[0].totalDuration+1);
t.done();
});
</script>
</body>
-</html>
\ No newline at end of file
+</html>