Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
[mono][xunit tests] Move skipped tests out of rsp file#2087
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
d464af7de634c5d1d638662a31f41b21ae4f63488b5c9e2c28b7f4a7870a16afa9dfb59c6144d43f57d846cc919310b87981f97fcb705010f444ffb3311cccd911dadb2782783aa460ee1a4e85920d42d07722f15d3788e288b12de146c57d9cd430fd2b05fd0c9bd7a0c84bf8612c52bab4de690e0f058fc9fc8fc5784f3d0e18f110dd509c845ef5b9f525798166e5bb95dffd3622330b1399991973ddaa2f60542826b0d3519beb8e3673838bca4fd0db2bb40fb8ce32cbcf5127c03a17e8f380a70792efedc9edaa39adc72599919b2acc07bdf938ae1ec58858f239a4fe6dbe8611d3c3535a036644e11c6749fa1e9b8b279650990eb7e3347669c299e23b2e977c50f191e43fdb55fb2fe6d62ffb20395ca001dbeb6a5a07ab7aa5d33b743745514c9005fe86d07afeb26a0d1043ce15ea7779a6b315a4c816a55ef4e28d110d3f1635172b497d0bbc619a5e04File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| // See the LICENSE file in the project root for more information. | ||
| using Xunit; | ||
| [assembly: SkipOnMono("System.ComponentModel.Composition.Registration APIs are not supported on this platform")] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| // Licensed to the .NET Foundation under one or more agreements. | ||
| // The .NET Foundation licenses this file to you under the MIT license. | ||
| // See the LICENSE file in the project root for more information. | ||
| using Xunit; | ||
| [assembly: SkipOnMono("Flaky tests: https://github.com/mono/mono/issues/16417")] | ||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -8,9 +8,11 @@ | ||||
| namespace System.ComponentModel.Composition | ||||
| { | ||||
| // [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. commented code, can be removed
Suggested change
| ||||
| public class AllowNonPublicCompositionTests | ||||
| { | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PublicFromPublic() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
| @@ -25,6 +27,7 @@ public void PublicFromPublic() | ||||
| } | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PublicToSelf() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
| @@ -38,6 +41,7 @@ public void PublicToSelf() | ||||
| } | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PublicFromPrivate() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
| @@ -52,6 +56,7 @@ public void PublicFromPrivate() | ||||
| } | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PrivateFromPublic() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
| @@ -66,6 +71,7 @@ public void PrivateFromPublic() | ||||
| } | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PrivateToSelf() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
| @@ -79,6 +85,7 @@ public void PrivateToSelf() | ||||
| } | ||||
| [Fact] | ||||
| [ActiveIssue("https://github.com/mono/mono/issues/16417", TestRuntimes.Mono)] | ||||
| public void PrivateData() | ||||
| { | ||||
| var container = ContainerFactory.Create(); | ||||
Uh oh!
There was an error while loading. Please reload this page.
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.
should be
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.
Attribute 'ActiveIssue' is not valid on this declaration type. It is only valid on 'class, method' declarations.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.
Hm interesting. I don't see a good reason not to allow
ActiveIssueon assembly, will file a PR in dotnet/arcade.