Skip to content

Commit

Permalink
Disable some System.Net.WebHeaderCollection tests on Mono. (dotnet#26862
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Martin Baulig authored and stephentoub committed Feb 5, 2018
1 parent 5102db6 commit 0995ed1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/System.Net.WebHeaderCollection/tests/LoggingTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class WebHeaderCollectionLoggingTest
{
[ActiveIssue(20470, TargetFrameworkMonikers.UapAot)]
[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "NetEventSource is only part of .NET Core")]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "NetEventSource is only part of .NET Core")]
public void EventSource_ExistsWithCorrectId()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,7 @@ public void Add_InvalidHeader_ThrowsArgumentException(string header, string para
private const string CookieInvalid = "helloWorld";

[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "Does not work in Mono")]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Requires fix shipping in .NET 4.7.2")]
public void GetValues_MultipleSetCookieHeadersWithExpiresAttribute_Success()
{
Expand All @@ -561,6 +562,7 @@ public void GetValues_MultipleSetCookieHeadersWithExpiresAttribute_Success()
}

[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "Does not work in Mono")]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Requires fix shipping in .NET 4.7.2")]
public void GetValues_SingleSetCookieHeaderWithMultipleCookiesWithExpiresAttribute_Success()
{
Expand Down Expand Up @@ -609,6 +611,7 @@ public void GetValues_SingleSetCookieHeaderWithMultipleCookiesWithNoAttribute_Su
}

[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.Mono, "Does not work in Mono")]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Requires fix shipping in .NET 4.7.2")]
public void GetValues_InvalidSetCookieHeader_Success()
{
Expand Down

0 comments on commit 0995ed1

Please sign in to comment.