未验证 提交 8982f9cb 编写于 作者: O openharmony_ci 提交者: Gitee

!5920 【图形图像子系统】适配错误码修改

Merge pull request !5920 from hekun/master
......@@ -92,8 +92,8 @@ export default function colorSpaceManagerTest(context, windowStage, abilityStora
expect(colorSpaceName).assertEqual(colorSpaceManager.ColorSpace.UNKNOWN);
done();
} catch (err) {
console.log('test enum value of ColorSpace Manager error ' + JSON.stringify(err));
expect.assertFail();
console.log('test enum value of ColorSpace Manager not support error ' + JSON.stringify(err));
expect(err.code == 18600001).assertTrue();
done();
}
})
......@@ -176,8 +176,8 @@ export default function colorSpaceManagerTest(context, windowStage, abilityStora
expect(colorSpaceName).assertEqual(colorSpaceManager.ColorSpace.UNKNOWN);
done();
} catch (err) {
console.log('test enum value of ColorSpace Manager error ' + JSON.stringify(err));
expect.assertFail();
console.log('test enum value of ColorSpace Manager not support error ' + JSON.stringify(err));
expect(err.code == 18600001).assertTrue();
done();
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册