dotnet/runtime

Improve custom attribute decoding tests

Open

#16,552 创建于 2016年3月1日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C# (5,445 fork)batch import
area-System.Reflection.Metadatahelp wantedtest-enhancement

仓库指标

Star
 (17,886 star)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

Currently, due to lack of time, some tests just check that we don't throw. A better approach would probably be to generically compare reflection CustomAttributeData to S.R.M CustomAttributeValue for every test attribute applied.

Also, there needs to be test cases for malformed custom attributes. Test coverage is at ~70% now with only positive cases.

贡献者指南