39 Star 60 Fork 414

OpenHarmony / arkcompiler_runtime_core

 / 详情

[ArkTS interop-tests]: interoperability test cases for Error

待办的
创建于  
2023-11-13 01:22

新需求提供了什么功能?

There is a need to add some interoperability test cases for Error:

  • test that checks Error created with single argument: type, message, cause and stack
  • test for Error created with two arguments with checks for type, message, cause and stack
  • test for toString() method

Above tests need to verify usage in both direction from TS (JS) to eTS and from eTS to TS (JS).

Also need to correct the typo in the name of the method used by these and some other interoperability tests: RunJsTestSute -> RunJsTestSuite (method is defined in ets_interop_js_gtest.h).

Related PR to discontinued old master: https://gitee.com/openharmony-sig/arkcompiler_runtime_core/pulls/2085

该需求带来的价值、应用场景?

Adding suggested tests is expected to improve quality control on interoperability between ArkTS and TS (JS).

评论 (4)

ignatenkooleg 创建了任务
ignatenkooleg 添加了
 
enhancement
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @godmiaozi @peijiajun 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @godmiaozi @peijiajun for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

code was merged to master per commit 04496ea

@ignatenkooleg 您没有权限执行close命令,加入代码仓成员可以获得相应权限。

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662 13475575 ignatenkooleg 1695204879
1
https://gitee.com/openharmony/arkcompiler_runtime_core.git
git@gitee.com:openharmony/arkcompiler_runtime_core.git
openharmony
arkcompiler_runtime_core
arkcompiler_runtime_core

搜索帮助

344bd9b3 5694891 D2dac590 5694891