提交 a2f9704c 编写于 作者: H huangke11

add cust js api test

Signed-off-by: Nhuangke11 <huangke11@huawei.com>
上级 fd828ca7
......@@ -13,14 +13,17 @@
],
"type": "AppInstallKit",
"cleanup-apps": true
},
{
"type": "ShellKit",
"run-command": [
"mkdir -p /system/etc/custxml/",
"mkdir -p /sys-prod/etc/custxml/",
"touch /system/etc/custxml/system.xml",
"touch /system/etc/custxml/both.xml",
"touch /sys-prod/etc/custxml/both.xml",
"touch /sys-prod/etc/custxml/user.xml"
]
}
"run-command": [
"mkdir -p /system/etc/custxml/",
"mkdir -p /sys-prod/etc/custxml/",
"touch /system/etc/custxml/system.xml",
"touch /system/etc/custxml/both.xml",
"touch /sys-prod/etc/custxml/both.xml",
"touch /sys-prod/etc/custxml/user.xml"
]
]
}
......@@ -12,8 +12,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import cust from '@ohos.cust'
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from 'deccjsunit/index'
import cust from '@ohos.cust'
describe('CustTest', function () {
console.log('CustTest**************************start');
......@@ -145,4 +146,4 @@ describe('CustTest', function () {
})
console.log('CustTest**************************end');
})
\ No newline at end of file
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册