提交 a8011190 编写于 作者: H huangkaixing

change name of getDelayTime

Signed-off-by: Nhuangkaixing <huangkaixing@huawei.com>
上级 0c224c4c
...@@ -115,7 +115,7 @@ export default function imageGif() { ...@@ -115,7 +115,7 @@ export default function imageGif() {
} else { } else {
try { try {
console.info(`${testNum} getDelayTimePromise create imagesource success`); console.info(`${testNum} getDelayTimePromise create imagesource success`);
let delayTimes = await imageSourceApi.getDelayTime(); let delayTimes = await imageSourceApi.getDelayTimeList();
if (delayTimes != undefined) { if (delayTimes != undefined) {
console.info(`${testNum} getDelayTimePromise getDelayTime success`); console.info(`${testNum} getDelayTimePromise getDelayTime success`);
expect(true).assertTrue(); expect(true).assertTrue();
...@@ -147,7 +147,7 @@ export default function imageGif() { ...@@ -147,7 +147,7 @@ export default function imageGif() {
done(); done();
} else { } else {
console.info(`${testNum} getDelayTimeCallBack create imagesource success`); console.info(`${testNum} getDelayTimeCallBack create imagesource success`);
imageSourceApi.getDelayTime((err, delayTimes) => { imageSourceApi.getDelayTimeList((err, delayTimes) => {
if (err != undefined) { if (err != undefined) {
console.info(`${testNum} getDelayTimeCallBack getDelayTime failed err: ${err}`); console.info(`${testNum} getDelayTimeCallBack getDelayTime failed err: ${err}`);
expect(false).assertTrue(); expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册