未验证 提交 8412a111 编写于 作者: O openharmony_ci 提交者: Gitee

!2617 update attribute

Merge pull request !2617 from kongzheng/master
...@@ -45,18 +45,18 @@ describe("volumeManager", function () { ...@@ -45,18 +45,18 @@ describe("volumeManager", function () {
var id = volumes[0].id; var id = volumes[0].id;
var uuid = volumes[0].uuid; var uuid = volumes[0].uuid;
var description = volumes[0].description; var description = volumes[0].description;
var removeAble = volumes[0].removeAble; var removable = volumes[0].removable;
var state = volumes[0].state; var state = volumes[0].state;
var path = volumes[0].path; var path = volumes[0].path;
expect(isString(id)).assertTrue(); expect(isString(id)).assertTrue();
expect(isString(uuid)).assertTrue(); expect(isString(uuid)).assertTrue();
expect(isString(description)).assertTrue(); expect(isString(description)).assertTrue();
expect(isBoolean(removeAble)).assertTrue(); expect(isBoolean(removable)).assertTrue();
expect(isIntNum(state)).assertTrue(); expect(isIntNum(state)).assertTrue();
expect(isString(path)).assertTrue(); expect(isString(path)).assertTrue();
} }
} catch (e) { } catch (e) {
console.log("volume_manager_test_get_all_volumes_async_000 has failed for " + e); console.log("volume_manager_test_get_all_volumes_async_000 has failed for :" + e);
expect(null).assertFail(); expect(null).assertFail();
} }
done(); done();
...@@ -80,13 +80,13 @@ describe("volumeManager", function () { ...@@ -80,13 +80,13 @@ describe("volumeManager", function () {
var id = volumes[0].id; var id = volumes[0].id;
var uuid = volumes[0].uuid; var uuid = volumes[0].uuid;
var description = volumes[0].description; var description = volumes[0].description;
var removeAble = volumes[0].removeAble; var removable = volumes[0].removable;
var state = volumes[0].state; var state = volumes[0].state;
var path = volumes[0].path; var path = volumes[0].path;
expect(isString(id)).assertTrue(); expect(isString(id)).assertTrue();
expect(isString(uuid)).assertTrue(); expect(isString(uuid)).assertTrue();
expect(isString(description)).assertTrue(); expect(isString(description)).assertTrue();
expect(isBoolean(removeAble)).assertTrue(); expect(isBoolean(removable)).assertTrue();
expect(isIntNum(state)).assertTrue(); expect(isIntNum(state)).assertTrue();
expect(isString(path)).assertTrue(); expect(isString(path)).assertTrue();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册