From 4b0a1645344e2cb15563f7f2f51eb50b8154245f Mon Sep 17 00:00:00 2001 From: qiuxiangdong Date: Fri, 29 Jul 2022 15:11:55 +0800 Subject: [PATCH] fix: Change the file name to Little Hump Signed-off-by: qiuxiangdong Change-Id: Icd903712c2e0448dceb68443d8aa4f8f393f28ca --- .../src/main/js/default/test/battery_unit.test.js | 2 +- .../src/main/js/default/test/batterymanager_performance.test.js | 2 +- .../src/main/js/default/test/system_battery.test.js | 2 +- .../src/main/js/test/power_manager_running_lock.test.js | 2 +- .../power_manager/src/main/js/test/power_performance_test.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js b/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js index 5bbc14322..33de10543 100644 --- a/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/battery_unit.test.js @@ -14,7 +14,7 @@ */ import app from '@system.app' -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import brightness from '@ohos.brightness'; import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index' diff --git a/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js b/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js index 6e3d5e828..a792f6d41 100644 --- a/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/batterymanager_performance.test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import { describe, it, expect } from 'deccjsunit/index'; describe('appInfoTest_battery_4', function () { diff --git a/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js b/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js index 4a8bdcbf9..6a8c24cb1 100644 --- a/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js +++ b/powermgr/battery_manager/src/main/js/default/test/system_battery.test.js @@ -14,7 +14,7 @@ */ import battery from '@system.battery'; -import batteryInfo from '@ohos.batteryinfo'; +import batteryInfo from '@ohos.batteryInfo'; import {describe, it, expect} from 'deccjsunit/index'; diff --git a/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js b/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js index 0d61e34b7..fa816c427 100644 --- a/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js +++ b/powermgr/power_manager/src/main/js/test/power_manager_running_lock.test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import runningLock from '@ohos.runninglock' +import runningLock from '@ohos.runningLock' import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium' diff --git a/powermgr/power_manager/src/main/js/test/power_performance_test.js b/powermgr/power_manager/src/main/js/test/power_performance_test.js index cd854962e..a26a5f797 100644 --- a/powermgr/power_manager/src/main/js/test/power_performance_test.js +++ b/powermgr/power_manager/src/main/js/test/power_performance_test.js @@ -13,7 +13,7 @@ * limitations under the License. */ -import runningLock from '@ohos.runninglock'; +import runningLock from '@ohos.runningLock'; import power from '@ohos.power'; import brightness from '@ohos.brightness'; import { describe, it, expect } from '@ohos/hypium'; -- GitLab