提交 f4f15fe0 编写于 作者: Q qinliwen

<修改medialibrary xts>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 9a0378c5
...@@ -210,7 +210,7 @@ describe('fileAsset2.test.js', async function () { ...@@ -210,7 +210,7 @@ describe('fileAsset2.test.js', async function () {
asset.orientation = neworientation; asset.orientation = neworientation;
const id = asset.id; const id = asset.id;
await asset.commitModify(); await asset.commitModify();
sleep(1000); sleep(1000);
const fetchFileResult2 = await media.getFileAssets(imagesfetchOp); const fetchFileResult2 = await media.getFileAssets(imagesfetchOp);
const dataList = await fetchFileResult2.getAllObject(); const dataList = await fetchFileResult2.getAllObject();
let passed = false; let passed = false;
......
...@@ -212,7 +212,7 @@ describe('fileAssetCallBack2.test.js', async function () { ...@@ -212,7 +212,7 @@ describe('fileAssetCallBack2.test.js', async function () {
asset.orientation = neworientation; asset.orientation = neworientation;
const id = asset.id; const id = asset.id;
asset.commitModify(async () => { asset.commitModify(async () => {
sleep(1000); sleep(1000);
const fetchFileResult2 = await media.getFileAssets(imagesfetchOp); const fetchFileResult2 = await media.getFileAssets(imagesfetchOp);
const dataList = await fetchFileResult2.getAllObject(); const dataList = await fetchFileResult2.getAllObject();
let passed = false; let passed = false;
......
...@@ -210,7 +210,7 @@ describe('fileAssetPromise2.test.js', async function () { ...@@ -210,7 +210,7 @@ describe('fileAssetPromise2.test.js', async function () {
asset.orientation = neworientation; asset.orientation = neworientation;
const id = asset.id; const id = asset.id;
await asset.commitModify(); await asset.commitModify();
sleep(1000); sleep(1000);
const fetchFileResult2 = await media.getFileAssets(imagesfetchOp); const fetchFileResult2 = await media.getFileAssets(imagesfetchOp);
const dataList = await fetchFileResult2.getAllObject(); const dataList = await fetchFileResult2.getAllObject();
let passed = false; let passed = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册