未验证 提交 96a8ac55 编写于 作者: O openharmony_ci 提交者: Gitee

!5837 Medialibrary用例名修改

Merge pull request !5837 from 秦莉文/master
......@@ -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.desc : serach image asset by uri
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_001', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_001';
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_001', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_001';
let currentFetchOp = fetchOps(testNum, 'Pictures/Static/', IMAGE_TYPE);
let type = 'image';
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.desc : serach audio asset by uri
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_002', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_002';
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_002', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_002';
let currentFetchOp = fetchOps(testNum, 'Audios/Static/', AUDIO_TYPE);
let type = 'audio';
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.desc : serach video asset by uri
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_003', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_003';
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_003', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_003';
let currentFetchOp = fetchOps(testNum, 'Videos/Static/', VIDEO_TYPE);
let type = 'video';
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.desc : serach file asset by uri
* @tc.size : MEDIUM
* @tc.type : Function
* @tc.level : Level 0
*/
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_004', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_Callback_004';
it('SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_004', 0, async function (done) {
let testNum = 'SUB_MEDIA_MEDIALIBRARY_ASSET_URI_CALLBACK_004';
let currentFetchOp = fetchOps(testNum, 'Documents/Static/', FILE_TYPE);
let type = 'file';
await serachUri(done, testNum, currentFetchOp, type);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册