Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit c4814af

Browse files
dotnet-botdavidsh
authored andcommitted
Skip functional network tests on platforms where System.Net.Http library is not ported.
1 parent e7b6860 commit c4814af

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
using Xunit;
99
using Xunit.Abstractions;
1010

11-
namespace HttpTests
11+
namespace System.Net.Http.Tests
1212
{
1313
public class HttpClientHandlerTest
1414
{

src/System.Net.Http/tests/FunctionalTests/System.Net.Http.Tests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
77
<ProjectGuid>{C85CF035-7804-41FF-9557-48B7C948B58D}</ProjectGuid>
88
<OutputType>Library</OutputType>
9+
<RootNamespace>System.Net.Http.Tests</RootNamespace>
910
<AssemblyName>System.Net.Http.Tests</AssemblyName>
11+
<UnsupportedPlatforms>Linux;OSX;FreeBSD</UnsupportedPlatforms>
1012
</PropertyGroup>
1113
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1214
</PropertyGroup>

0 commit comments

Comments
 (0)