Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
10eecd4b
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
10eecd4b
编写于
9月 06, 2022
作者:
C
caochuan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modifyproperty fd to path
Signed-off-by:
N
caochuan
<
caochuan@huawei.com
>
上级
a38b5d97
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1432 addition
and
1136 deletion
+1432
-1136
multimedia/image/image_js_standard/imageModifyProperty/Test.json
...dia/image/image_js_standard/imageModifyProperty/Test.json
+2
-2
multimedia/image/image_js_standard/imageModifyProperty/src/main/js/test/modify.test.js
...ndard/imageModifyProperty/src/main/js/test/modify.test.js
+1430
-1134
未找到文件。
multimedia/image/image_js_standard/imageModifyProperty/Test.json
浏览文件 @
10eecd4b
...
...
@@ -19,7 +19,7 @@
"type"
:
"ShellKit"
,
"run-command"
:
[
"mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/"
,
"chmod
-R 666
/data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*"
"chmod
777
/data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/*"
],
"teardown-command"
:[
...
...
@@ -40,7 +40,7 @@
"chmod 777 /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/haps/entry/files/test_exif.jpg"
],
"teardown-command"
:
[
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/*"
"rm -rf /data/app/el2/100/base/ohos.acts.multimedia.image.ModifyProperty/
haps/entry/files/
*"
]
}
]
...
...
multimedia/image/image_js_standard/imageModifyProperty/src/main/js/test/modify.test.js
浏览文件 @
10eecd4b
...
...
@@ -13,1161 +13,1457 @@
* limitations under the License.
*/
import
image
from
'
@ohos.multimedia.image
'
import
fileio
from
'
@ohos.fileio
'
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
'
@ohos/hypium
'
import
{
modifyBuf
}
from
'
./modifyBuffer
'
import
featureAbility
from
'
@ohos.ability.featureAbility
'
import
image
from
"
@ohos.multimedia.image
"
;
import
fileio
from
"
@ohos.fileio
"
;
import
{
describe
,
beforeAll
,
beforeEach
,
afterEach
,
afterAll
,
it
,
expect
}
from
"
@ohos/hypium
"
;
import
{
modifyBuf
}
from
"
./modifyBuffer
"
;
import
featureAbility
from
"
@ohos.ability.featureAbility
"
;
export
default
function
imageModifyProperty
()
{
describe
(
'
imageModifyProperty
'
,
function
()
{
let
filePath
;
let
fdNumber
;
async
function
getFd
(
fileName
)
{
let
context
=
await
featureAbility
.
getContext
();
await
context
.
getFilesDir
().
then
((
data
)
=>
{
filePath
=
data
+
'
/
'
+
fileName
;
console
.
info
(
'
image case filePath is
'
+
filePath
);
})
await
fileio
.
open
(
filePath
,
0o2
,
0o777
).
then
((
data
)
=>
{
fdNumber
=
data
;
console
.
info
(
"
image case open fd success
"
+
fdNumber
);
},
(
err
)
=>
{
console
.
info
(
"
image cese open fd fail
"
+
err
)
}).
catch
((
err
)
=>
{
console
.
info
(
"
image case open fd err
"
+
err
);
})
}
beforeAll
(
async
function
()
{
console
.
info
(
'
beforeAll case
'
);
})
beforeEach
(
function
()
{
console
.
info
(
'
beforeEach case
'
);
})
afterEach
(
async
function
()
{
await
fileio
.
close
(
fdNumber
).
then
(
function
(){
console
.
info
(
"
close file succeed
"
);
}).
catch
(
function
(
err
){
console
.
info
(
"
close file failed with error:
"
+
err
);
});
console
.
info
(
'
afterEach case
'
);
})
afterAll
(
function
()
{
console
.
info
(
'
afterAll case
'
);
})
async
function
modifyPromise
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
){
let
imageSourceApi
;
if
(
type
==
'
buffer
'
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
describe
(
"
imageModifyProperty
"
,
function
()
{
let
filePath
;
async
function
getFd
(
fileName
)
{
let
context
=
await
featureAbility
.
getContext
();
await
context
.
getFilesDir
().
then
((
data
)
=>
{
filePath
=
data
+
"
/
"
+
fileName
;
console
.
info
(
"
image case filePath is
"
+
filePath
);
});
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
).
then
(()
=>
{
imageSourceApi
.
getImageProperty
(
key
).
then
(
data
=>
{
console
.
info
(
`
${
testNum
}
${
key
}
`
+
data
);
checkProps
(
data
);
done
();
}).
catch
((
err
)
=>
{
console
.
info
(
`
${
testNum
}
getImageProperty failed, err:
${
err
}
`
);
expect
(
false
).
assertTrue
();
done
();
})
}).
catch
((
err
)
=>
{
console
.
info
(
`
${
testNum
}
modifyImageProperty failed, err:
${
err
}
`
);
beforeAll
(
async
function
()
{
console
.
info
(
"
beforeAll case
"
);
});
beforeEach
(
function
()
{
console
.
info
(
"
beforeEach case
"
);
});
afterEach
(
async
function
()
{
console
.
info
(
"
afterEach case
"
);
});
afterAll
(
function
()
{
console
.
info
(
"
afterAll case
"
);
});
async
function
modifyPromise
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
)
{
let
imageSourceApi
;
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
})
}
}
async
function
modifyCb
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
){
let
imageSourceApi
;
if
(
type
==
'
buffer
'
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
(
error
)
=>
{
if
(
error
){
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
modify err: `
+
error
);
}
else
{
imageSourceApi
.
getImageProperty
(
key
,
(
error
,
data
)
=>
{
if
(
error
){
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
get err: `
+
error
);
}
else
{
console
.
info
(
`
${
testNum
}
${
key
}
: `
+
data
);
checkProps
(
data
);
done
();
}
})
}
})
}
}
async
function
modifyCb1
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
){
let
imageSourceApi
;
if
(
type
==
'
buffer
'
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
let
property
=
{
index
:
0
,
defaultValue
:
'
1
'
}
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
property
,
(
error
)
=>
{
if
(
error
){
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
modify err: `
+
error
);
}
else
{
imageSourceApi
.
getImageProperty
(
key
,
(
error
,
data
)
=>
{
if
(
error
){
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
get err: `
+
error
);
}
else
{
console
.
info
(
`
${
testNum
}
${
key
}
: `
+
data
);
checkProps
(
data
);
done
();
}
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
)
.
then
(()
=>
{
imageSourceApi
.
getImageProperty
(
key
)
.
then
((
data
)
=>
{
console
.
info
(
`
${
testNum
}
${
key
}
`
+
data
);
checkProps
(
data
);
done
();
})
.
catch
((
err
)
=>
{
console
.
info
(
`
${
testNum
}
getImageProperty failed, err:
${
err
}
`
);
expect
(
false
).
assertTrue
();
done
();
});
})
}
})
}
}
async
function
modifyErrCb
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
if
(
type
==
'
buffer
'
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
.
catch
((
err
)
=>
{
console
.
info
(
`
${
testNum
}
modifyImageProperty failed, err:
${
err
}
`
);
expect
(
false
).
assertTrue
();
done
();
});
}
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
async
function
modifyCb
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
)
{
let
imageSourceApi
;
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
(
error
)
=>
{
expect
(
error
.
code
!=
0
).
assertTrue
();
console
.
info
(
`
${
testNum
}
errormsg: `
+
error
)
done
();
})
}
}
async
function
modifyErrCb1
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
if
(
type
==
'
buffer
'
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
if
(
error
)
{
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
modify err: `
+
error
);
}
else
{
imageSourceApi
.
getImageProperty
(
key
,
(
error
,
data
)
=>
{
if
(
error
)
{
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
get err: `
+
error
);
}
else
{
console
.
info
(
`
${
testNum
}
${
key
}
: `
+
data
);
checkProps
(
data
);
done
();
}
});
}
});
}
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
let
property
=
{
index
:
0
,
defaultValue
:
'
1
'
}
async
function
modifyCb1
(
done
,
testNum
,
type
,
key
,
value
,
checkProps
)
{
let
imageSourceApi
;
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
let
property
=
{
index
:
0
,
defaultValue
:
"
1
"
};
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
property
,
(
error
)
=>
{
if
(
error
)
{
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
modify err: `
+
error
);
}
else
{
imageSourceApi
.
getImageProperty
(
key
,
(
error
,
data
)
=>
{
if
(
error
)
{
expect
(
false
).
assertTrue
();
console
.
info
(
`
${
testNum
}
get err: `
+
error
);
}
else
{
console
.
info
(
`
${
testNum
}
${
key
}
: `
+
data
);
checkProps
(
data
);
done
();
}
});
}
});
}
}
async
function
modifyErrCb
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
(
error
)
=>
{
expect
(
error
.
code
!=
0
).
assertTrue
();
console
.
info
(
`
${
testNum
}
errormsg: `
+
error
)
console
.
info
(
`
${
testNum
}
errormsg: `
+
error
)
;
done
();
})
});
}
}
}
async
function
modifyImageErrPromise
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
try
{
if
(
type
==
'
buffer
'
)
{
async
function
modifyErrCb1
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
'
test_exif.jpg
'
);
imageSourceApi
=
image
.
createImageSource
(
fdNumber
);
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
let
property
=
{
index
:
0
,
defaultValue
:
"
1
"
};
imageSourceApi
.
modifyImageProperty
(
key
,
value
,
property
,
(
error
)
=>
{
expect
(
error
.
code
!=
0
).
assertTrue
();
console
.
info
(
`
${
testNum
}
errormsg: `
+
error
);
done
();
});
}
}
catch
(
error
)
{
expect
(
false
).
assertTrue
();
done
();
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
)
.
then
(()
=>
{
async
function
modifyImageErrPromise
(
done
,
testNum
,
type
,
key
,
value
)
{
let
imageSourceApi
;
try
{
if
(
type
==
"
buffer
"
)
{
const
data
=
modifyBuf
.
buffer
;
imageSourceApi
=
image
.
createImageSource
(
data
);
}
else
{
await
getFd
(
"
test_exif.jpg
"
);
imageSourceApi
=
image
.
createImageSource
(
filePath
);
}
}
catch
(
error
)
{
expect
(
false
).
assertTrue
();
done
();
}).
catch
((
error
)
=>
{
expect
(
error
.
code
!=
0
).
assertTrue
();
console
.
info
(
`
${
testNum
}
message: `
+
error
);
}
if
(
imageSourceApi
==
undefined
)
{
console
.
info
(
`
${
testNum
}
create image source failed`
);
expect
(
false
).
assertTrue
();
done
();
})
}
}
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
'
,
'
buffer
'
,
"
Orientation
"
,
"
2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
'
,
'
buffer
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
'
,
'
buffer
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
N
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
'
,
'
buffer
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
W
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
'
,
'
buffer
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
'
,
'
fd
'
,
"
Orientation
"
,
"
2
"
,
checkProps
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
'
,
'
fd
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
'
,
'
fd
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
N
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
'
,
'
fd
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
W
'
).
assertTrue
();
}
modifyPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
'
,
'
fd
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
'
,
'
buffer
'
,
"
Orientation
"
,
"
2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
'
,
'
buffer
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
'
,
'
buffer
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
'
,
'
buffer
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
'
,
'
buffer
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
'
,
'
fd
'
,
"
Orientation
"
,
"
2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
'
,
'
fd
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
'
,
'
fd
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
'
,
'
fd
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
'
,
'
fd
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
* @tc.name : modifyImageProperty(Orientation,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
'
,
'
buffer
'
,
"
Orientation
"
,
"
2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
* @tc.name : modifyImageProperty(GPSLatitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
'
,
'
buffer
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
* @tc.name : modifyImageProperty(GPSLongitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
'
,
'
buffer
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
'
,
'
buffer
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
'
,
'
buffer
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
* @tc.name : modifyImageProperty(Orientation,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
'
Top-right
'
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
'
,
'
fd
'
,
"
Orientation
"
,
"
2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
* @tc.name : modifyImageProperty(GPSLatitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
'
,
'
fd
'
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
* @tc.name : modifyImageProperty(GPSLongitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
'
,
'
fd
'
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
'
,
'
fd
'
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
'
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
){
expect
(
result
==
"
W
"
).
assertTrue
();
}
else
{
imageSourceApi
.
modifyImageProperty
(
key
,
value
)
.
then
(()
=>
{
expect
(
false
).
assertTrue
();
done
();
})
.
catch
((
error
)
=>
{
expect
(
error
.
code
!=
0
).
assertTrue
();
console
.
info
(
`
${
testNum
}
message: `
+
error
);
done
();
});
}
}
modifyCb1
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
'
,
'
fd
'
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
'
,
'
fd
'
,
"
Orientation
"
,
"
abcdef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
'
,
'
fd
'
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0300
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0300
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
'
,
'
fd
'
,
"
GPSLatitudeRef
"
,
"
456
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
'
,
'
fd
'
,
"
GPSLongitudeRef
"
,
"
1234
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcdef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
'
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
"
,
"
fd
"
,
"
Orientation
"
,
"
abcdef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
abc,2
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
1234
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
456
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcdef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
'
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
"
,
"
fd
"
,
"
Orientation
"
,
"
abcdef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
abc,2
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
1234
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
567
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcef
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
)
})
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
'
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
'
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
)
})
})}
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0100
"
,
"
buffer
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0200
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0300
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0400
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0500
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0600
"
,
"
fd
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0700
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0800
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_0900
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_1000
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0100
"
,
"
buffer
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0200
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0300
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0400
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0500
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0600
"
,
"
fd
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0700
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0800
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_0900
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_1000
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
* @tc.name : modifyImageProperty(Orientation,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0100
"
,
"
buffer
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
* @tc.name : modifyImageProperty(GPSLatitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0200
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
* @tc.name : modifyImageProperty(GPSLongitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0300
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0400
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0500
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
* @tc.name : modifyImageProperty(Orientation,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
Top-right
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0600
"
,
"
fd
"
,
"
Orientation
"
,
"
2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
* @tc.name : modifyImageProperty(GPSLatitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
38
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0700
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
114,3
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
* @tc.name : modifyImageProperty(GPSLongitude,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
.
search
(
"
9
"
)
!=
-
1
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0800
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
18,2
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
N
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_0900
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
N
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef,property)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value,options)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
"
,
0
,
async
function
(
done
)
{
function
checkProps
(
result
)
{
expect
(
result
==
"
W
"
).
assertTrue
();
}
modifyCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_1000
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
W
"
,
checkProps
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0100
"
,
"
fd
"
,
"
Orientation
"
,
"
abcdef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0300
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0200
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0400
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
456
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0500
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
1234
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcdef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_0900
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-promise
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
"
,
0
,
async
function
(
done
)
{
modifyImageErrPromise
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROMISE_ERROR_1000
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0100
"
,
"
fd
"
,
"
Orientation
"
,
"
abcdef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0200
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0300
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0400
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
1234
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0500
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
456
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcdef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_0900
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
"
,
0
,
async
function
(
done
)
{
modifyErrCb
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_CALLBACK_ERROR_1000
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0100
"
,
"
fd
"
,
"
Orientation
"
,
"
abcdef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0200
"
,
"
fd
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0300
"
,
"
fd
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0400
"
,
"
fd
"
,
"
GPSLatitudeRef
"
,
"
1234
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0500
"
,
"
fd
"
,
"
GPSLongitudeRef
"
,
"
567
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
* @tc.name : modifyImageProperty(Orientation)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0600
"
,
"
buffer
"
,
"
Orientation
"
,
"
abcef
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
* @tc.name : modifyImageProperty(GPSLatitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0700
"
,
"
buffer
"
,
"
GPSLatitude
"
,
"
abc,3
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
* @tc.name : modifyImageProperty(GPSLongitude)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0800
"
,
"
buffer
"
,
"
GPSLongitude
"
,
"
abc,2
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
* @tc.name : modifyImageProperty(GPSLatitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_0900
"
,
"
buffer
"
,
"
GPSLatitudeRef
"
,
"
456
"
);
});
/**
* @tc.number : SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
* @tc.name : modifyImageProperty(GPSLongitudeRef)-callback
* @tc.desc : 1.create imagesource
* 2.call modifyImageProperty(key,value)
* 3.return undefined
* @tc.size : MEDIUM
* @tc.type : Functional
* @tc.level : Level 1
*/
it
(
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
"
,
0
,
async
function
(
done
)
{
modifyErrCb1
(
done
,
"
SUB_GRAPHIC_IMAGE_MODIFYPROPERTY_PROPERTY_CALLBACK_ERROR_1000
"
,
"
buffer
"
,
"
GPSLongitudeRef
"
,
"
1234
"
);
});
});
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录