未验证 提交 f3a52d60 编写于 作者: 冯俊青 提交者: Gitee

update storage/storagefileurijstest/src/main/js/test/fileuri.test.js.

Signed-off-by: N冯俊青 <fengjunqing@huawei.com>
上级 85ca05ce
...@@ -165,10 +165,10 @@ describe('file_uri_test', function () { ...@@ -165,10 +165,10 @@ describe('file_uri_test', function () {
* @tc.desc Get the FileURI object through an empty string or uri which has no suffix directories. * @tc.desc Get the FileURI object through an empty string or uri which has no suffix directories.
* @tc.size MEDIUM * @tc.size MEDIUM
* @tc.type Function * @tc.type Function
* @tc.level Level 0 * @tc.level Level 3
* @tc.require * @tc.require
*/ */
it('FileUri_Parameter_Name_002', 0, async function () { it('FileUri_Parameter_Name_002', 3, async function () {
try { try {
let uri = fileUri.getUriFromPath(''); let uri = fileUri.getUriFromPath('');
let fileUriObject01 = new fileUri.FileUri(uri); let fileUriObject01 = new fileUri.FileUri(uri);
...@@ -191,10 +191,10 @@ describe('file_uri_test', function () { ...@@ -191,10 +191,10 @@ describe('file_uri_test', function () {
* @tc.desc Enter the illegal parameter type. * @tc.desc Enter the illegal parameter type.
* @tc.size MEDIUM * @tc.size MEDIUM
* @tc.type Function * @tc.type Function
* @tc.level Level 0 * @tc.level Level 3
* @tc.require * @tc.require
*/ */
it('FileUri_Parameter_Name_003', 0, async function () { it('FileUri_Parameter_Name_003', 3, async function () {
try { try {
new fileUri.FileUri(0); new fileUri.FileUri(0);
expect(false).assertTrue(); expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册