提交 8ebe28d7 编写于 作者: Q qinliwen

<修改medialibrary xts,适配HOS>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 dde8844b
......@@ -467,10 +467,10 @@ describe('fetchFileResultCallback.test.js', async function() {
console.info('MediaLibraryTest :firstObject.uri === undefined');
}
expect(firstObject.mimeType.startsWith('image/')).assertTrue();
expect(firstObject.mimeType.startsWith('image/')).assertTrue();
if (!firstObject.mimeType.startsWith('image/')) {
console.info('Test MediaLibraryTest :firstObject.mimeType:' + firstObject.mimeType);
}
console.info('Test MediaLibraryTest :firstObject.mimeType:' + firstObject.mimeType);
}
expect(firstObject.mediaType == imageType).assertTrue();
if (firstObject.mediaType != imageType) {
......@@ -571,4 +571,4 @@ describe('fetchFileResultCallback.test.js', async function() {
done();
}
});
});
\ No newline at end of file
});
......@@ -579,10 +579,10 @@ describe('fetchFileResultPromise.test.js', async function() {
console.info('MediaLibraryTest :firstObject.uri === undefined');
}
expect(firstObject.mimeType.startsWith('image/')).assertTrue();
if (!firstObject.mimeType.startsWith('image/')) {
console.info('Test MediaLibraryTest :firstObject.mimeType:' + firstObject.mimeType);
}
expect(firstObject.mimeType.startsWith('image/')).assertTrue();
if (!firstObject.mimeType.startsWith('image/')) {
console.info('Test MediaLibraryTest :firstObject.mimeType:' + firstObject.mimeType);
}
expect(firstObject.mediaType == imageType).assertTrue();
if (firstObject.mediaType != imageType) {
......@@ -681,4 +681,4 @@ describe('fetchFileResultPromise.test.js', async function() {
done();
}
});
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册