Skip to content

Commit

Permalink
Merge pull request dotnet#20992 from davidsh/requests_tests
Browse files Browse the repository at this point in the history
Disable tests in System.Net.Requests for UAP
  • Loading branch information
davidsh authored Jun 13, 2017
2 parents e6d7e4e + 271256f commit ee1135f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/System.Net.Requests/tests/AuthenticationManagerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public void Register_Null_Throws()
Assert.Throws<ArgumentNullException>(() => AuthenticationManager.Register(null));
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void Register_Unregister_ModuleCountUnchanged()
{
Expand All @@ -41,6 +42,7 @@ public void Register_Unregister_ModuleCountUnchanged()
}).Dispose();
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
public void Register_UnregisterByScheme_ModuleCountUnchanged()
{
RemoteInvoke(() =>
Expand All @@ -64,6 +66,7 @@ public void RegisteredModules_DefaultCount_ExpectedValue()
Assert.Equal(PlatformDetection.IsFullFramework ? 5 : 0, count);
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void CredentialPolicy_Roundtrip()
{
Expand All @@ -82,6 +85,7 @@ public void CredentialPolicy_Roundtrip()
}).Dispose();
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void CustomTargetNameDictionary_ValidCollection()
{
Expand Down
1 change: 1 addition & 0 deletions src/System.Net.Requests/tests/GlobalProxySelectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public bool IsBypassed(Uri host)
}
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void Select_Success()
{
Expand Down
3 changes: 3 additions & 0 deletions src/System.Net.Requests/tests/HttpWebRequestTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ public void Expect_Set100Continue_ThrowsArgumentException(Uri remoteServer)
Assert.Throws<ArgumentException>("value", () => request.Expect = "100-continue");
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void DefaultMaximumResponseHeadersLength_SetAndGetLength_ValuesMatch()
{
Expand All @@ -578,6 +579,7 @@ public void DefaultMaximumResponseHeadersLength_SetAndGetLength_ValuesMatch()
}).Dispose();
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void DefaultMaximumErrorResponseLength_SetAndGetLength_ValuesMatch()
{
Expand All @@ -600,6 +602,7 @@ public void DefaultMaximumErrorResponseLength_SetAndGetLength_ValuesMatch()
}).Dispose();
}

[ActiveIssue(20136, TargetFrameworkMonikers.Uap)]
[Fact]
public void DefaultCachePolicy_SetAndGetPolicyReload_ValuesMatch()
{
Expand Down

0 comments on commit ee1135f

Please sign in to comment.