dotnet/runtime

Improve custom attribute decoding tests

開放

#16,552 建立於 2016年3月1日

 (2 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-System.Reflection.Metadatahelp wantedtest-enhancement

倉庫指標

星標
 (17,886 顆星)
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.

貢獻者指南