提交 784f4d75 编写于 作者: G greada

OpenHarmony-3.1-Release match for system api

Signed-off-by: Ngreada <kangqiao1@huawei.com>
上级 0adf8aa3
......@@ -14,7 +14,6 @@
*/
import app from '@system.app'
import Context from '@ohos.napi_context'
import batteryInfo from '@ohos.batteryInfo';
import brightness from '@ohos.brightness';
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
......
......@@ -14,10 +14,8 @@
*/
import app from '@system.app'
import Context from '@ohos.napi_context'
import runningLock from '@ohos.runningLock';
import power from '@ohos.power';
import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
......
......@@ -14,10 +14,8 @@
*/
import app from '@system.app'
import Context from '@ohos.napi_context'
import runningLock from '@ohos.runningLock';
import power from '@ohos.power';
import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
......
......@@ -17,8 +17,8 @@ import brightness from '@system.brightness';
import { describe } from 'deccjsunit/index';
const INPUT_ERROR_CODE_CODE = 202;
const SET_VALUE_MSG = "value is not an available number";
const SET_MODE_MSG = "value is not an available number";
const SET_VALUE_MSG = "setMode: value is not an available number";
const SET_MODE_MSG = "setMode: value is not an available number";
function sleep(time){
return new Promise((resolve) => setTimeout(resolve, time));
......
......@@ -14,7 +14,6 @@
*/
import runningLock from '@ohos.runningLock';
import '@ohos.permission.RUNNING_LOCK'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from 'deccjsunit/index'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册