提交 0ff384e7 编写于 作者: Q qinliwen

<medialibrary xts用例名修改>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 a2b944fd
...@@ -87,60 +87,60 @@ export default function mediafetchoptionsCallback(abilityContext) { ...@@ -87,60 +87,60 @@ export default function mediafetchoptionsCallback(abilityContext) {
} }
} }
/** /**
* @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_001 * @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_001
* @tc.name : uri * @tc.name : uri
* @tc.desc : serach image asset by uri * @tc.desc : serach image asset by uri
* @tc.size : MEDIUM * @tc.size : MEDIUM
* @tc.type : Function * @tc.type : Function
* @tc.level : Level 0 * @tc.level : Level 0
*/ */
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_001', 0, async function (done) { it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_001', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_001'; let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_001';
let currentFetchOp = fetchOps(testNum, 'Pictures/Static/', IMAGE_TYPE); let currentFetchOp = fetchOps(testNum, 'Pictures/Static/', IMAGE_TYPE);
let type = 'image'; let type = 'image';
await serachUri(done, testNum, currentFetchOp, type); await serachUri(done, testNum, currentFetchOp, type);
}); });
/** /**
* @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_002 * @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_002
* @tc.name : uri * @tc.name : uri
* @tc.desc : serach audio asset by uri * @tc.desc : serach audio asset by uri
* @tc.size : MEDIUM * @tc.size : MEDIUM
* @tc.type : Function * @tc.type : Function
* @tc.level : Level 0 * @tc.level : Level 0
*/ */
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_002', 0, async function (done) { it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_002', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_002'; let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_002';
let currentFetchOp = fetchOps(testNum, 'Audios/Static/', AUDIO_TYPE); let currentFetchOp = fetchOps(testNum, 'Audios/Static/', AUDIO_TYPE);
let type = 'audio'; let type = 'audio';
await serachUri(done, testNum, currentFetchOp, type); await serachUri(done, testNum, currentFetchOp, type);
}); });
/** /**
* @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_003 * @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_003
* @tc.name : uri * @tc.name : uri
* @tc.desc : serach video asset by uri * @tc.desc : serach video asset by uri
* @tc.size : MEDIUM * @tc.size : MEDIUM
* @tc.type : Function * @tc.type : Function
* @tc.level : Level 0 * @tc.level : Level 0
*/ */
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_003', 0, async function (done) { it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_003', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_003'; let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_003';
let currentFetchOp = fetchOps(testNum, 'Videos/Static/', VIDEO_TYPE); let currentFetchOp = fetchOps(testNum, 'Videos/Static/', VIDEO_TYPE);
let type = 'video'; let type = 'video';
await serachUri(done, testNum, currentFetchOp, type); await serachUri(done, testNum, currentFetchOp, type);
}); });
/** /**
* @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_004 * @tc.number : SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_004
* @tc.name : uri * @tc.name : uri
* @tc.desc : serach file asset by uri * @tc.desc : serach file asset by uri
* @tc.size : MEDIUM * @tc.size : MEDIUM
* @tc.type : Function * @tc.type : Function
* @tc.level : Level 0 * @tc.level : Level 0
*/ */
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_004', 0, async function (done) { it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_004', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_004'; let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_004';
let currentFetchOp = fetchOps(testNum, 'Documents/Static/', FILE_TYPE); let currentFetchOp = fetchOps(testNum, 'Documents/Static/', FILE_TYPE);
let type = 'file'; let type = 'file';
await serachUri(done, testNum, currentFetchOp, type); await serachUri(done, testNum, currentFetchOp, type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册