提交 c0ee9d10 编写于 作者: 风林火山

修改电池计数范围

Signed-off-by: N风林火山 <liangqihang@huawei.com>
上级 a5674e5d
...@@ -96,7 +96,7 @@ describe('appInfoTest', function () { ...@@ -96,7 +96,7 @@ describe('appInfoTest', function () {
it('battery_temperature_test', 0, function () { it('battery_temperature_test', 0, function () {
var batteryTemperature = batteryInfo.batteryTemperature; var batteryTemperature = batteryInfo.batteryTemperature;
console.info('batteryTemperature = ' + batteryTemperature); console.info('batteryTemperature = ' + batteryTemperature);
expect(batteryTemperature <= 100).assertTrue() expect(batteryTemperature <= 700).assertTrue()
}) })
/** /**
......
...@@ -141,7 +141,7 @@ describe('appInfoTest', function () { ...@@ -141,7 +141,7 @@ describe('appInfoTest', function () {
runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.PROXIMITY_SCREEN_CONTROL) runningLock.isRunningLockTypeSupported(runningLock.RunningLockType.PROXIMITY_SCREEN_CONTROL)
.then(supported => { .then(supported => {
console.info('is_runninglock_type_supported_test_1 PROXIMITY_SCREEN_CONTROL supported is ' + supported); console.info('is_runninglock_type_supported_test_1 PROXIMITY_SCREEN_CONTROL supported is ' + supported);
expect(supported).assertFalse(); expect(supported).assertTrue();
console.info('is_runninglock_type_supported_test_1 success'); console.info('is_runninglock_type_supported_test_1 success');
done(); done();
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册