updated package testers for Flurl.Http-pre1

This commit is contained in:
Todd Menier 2017-09-04 12:27:45 -05:00
parent 861589eb9a
commit 32b6f013eb
6 changed files with 10 additions and 16 deletions

View File

@ -31,11 +31,11 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Flurl, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.3.0.0\lib\net40\Flurl.dll</HintPath>
<Reference Include="Flurl, Version=2.5.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.2.5.0\lib\net40\Flurl.dll</HintPath>
</Reference>
<Reference Include="Flurl.Http, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.Http.2.0.0\lib\net45\Flurl.Http.dll</HintPath>
<HintPath>..\..\packages\Flurl.Http.2.0.0-pre1\lib\net45\Flurl.Http.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Flurl" version="2.5.0" targetFramework="net45" />
<package id="Flurl.Http" version="2.0.0" targetFramework="net45" />
<package id="Flurl.Http" version="2.0.0-pre1" targetFramework="net45" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" />
</packages>

View File

@ -33,11 +33,11 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Flurl, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.3.0.0\lib\net40\Flurl.dll</HintPath>
<Reference Include="Flurl, Version=2.5.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.2.5.0\lib\net40\Flurl.dll</HintPath>
</Reference>
<Reference Include="Flurl.Http, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Flurl.Http.2.0.0\lib\net45\Flurl.Http.dll</HintPath>
<HintPath>..\..\packages\Flurl.Http.2.0.0-pre1\lib\net45\Flurl.Http.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Flurl" version="2.5.0" targetFramework="net461" />
<package id="Flurl.Http" version="2.0.0" targetFramework="net461" />
<package id="Flurl.Http" version="2.0.0-pre1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" />
</packages>

View File

@ -8,7 +8,7 @@
<Import Project="..\PackageTester.Shared\PackageTester.Shared.projitems" Label="Shared" />
<ItemGroup>
<PackageReference Include="Flurl.Http" Version="2.0.0" />
<PackageReference Include="Flurl.Http" Version="2.0.0-pre1" />
</ItemGroup>
</Project>

View File

@ -1,18 +1,12 @@
using System;
using Flurl.Http;
namespace PackageTester
{
public class Program
{
public static void Main(string[] args) {
var client = new FlurlClient().EnableCookies();
//client.Request("https://httpbin.org/cookies/set?z=999").HeadAsync().Wait();
Console.WriteLine("999" == client.Cookies["z"].Value);
new Tester().DoTestsAsync().Wait();
Console.ReadLine();
//new Tester().DoTestsAsync().Wait();
//Console.ReadLine();
}
}
}