-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added additional tests for generic attributes. #106745
Conversation
- Added a test for GetCustomAttribute to verify that the values of the generic type are correctly initialized. - Added some theory data to check the equality of generic attributes. Fixes dotnet#73735
} | ||
|
||
[Fact] | ||
[ActiveIssue("https://github.com/dotnet/runtime/issues/56887", TestRuntimes.Mono)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks #56887 is resolved, could you please remove all the [ActiveIssue("https://github.com/dotnet/runtime/issues/56887", TestRuntimes.Mono)]
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good thanks @koenigst, lets see if anything fails after removing [ActiveIssue("https://github.com/dotnet/runtime/issues/56887", TestRuntimes.Mono)]
in the tests
@buyaa-n It looks like |
…e test is still failing on Mono.
src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Attributes.cs
Outdated
Show resolved
Hide resolved
Yep, I filed a new issue for that and updated the attribute, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @koenigst!
* Added additional tests for generic attributes. - Added a test for GetCustomAttribute to verify that the values of the generic type are correctly initialized. - Added some theory data to check the equality of generic attributes. Fixes dotnet#73735 * Removed active issue attribute for solved issue 56887. * Added active issue attribute for solved issue dotnet#56887 because the test is still failing on Mono. * Update src/libraries/System.Runtime/tests/System.Runtime.Tests/System/Attributes.cs --------- Co-authored-by: Stefan König <stefan.koenig@zuehlke.com> Co-authored-by: Buyaa Namnan <buyankhishig.namnan@microsoft.com>
Fixes #73735