upgrade test projects to xUnit 2.0 RTM

This commit is contained in:
Brendan Forster
2015-02-24 11:31:57 +09:30
parent 853a13a008
commit 0c4b3d86c2
119 changed files with 28301 additions and 375 deletions

2
.gitignore vendored
View File

@@ -73,7 +73,7 @@ nunit-*.xml
packaging/ packaging/
tools/FAKE.Core tools/FAKE.Core
tools/SourceLink.Fake tools/SourceLink.Fake
tools/xunit.runners tools/xunit.runner.console
*.ncrunch* *.ncrunch*
*.GhostDoc.xml *.GhostDoc.xml

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" /> <Import Project="..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" />
<Import Project="..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" /> <Import Project="..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,7 +13,7 @@
<AssemblyName>Octokit.Tests.Conventions</AssemblyName> <AssemblyName>Octokit.Tests.Conventions</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>c9328b3d</NuGetPackageImportStamp> <NuGetPackageImportStamp>2fbb7772</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@@ -44,14 +44,16 @@
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath> <HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.abstractions"> <Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll</HintPath> <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.assert"> <Reference Include="xunit.assert, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.core"> <Reference Include="xunit.core, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -94,8 +96,8 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props'))" /> <Error Condition="!Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props'))" /> <Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -2,9 +2,10 @@
<packages> <packages>
<package id="Rx-Core" version="2.2.5" targetFramework="net45" /> <package id="Rx-Core" version="2.2.5" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" /> <package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" />
<package id="xunit" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit" version="2.0.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.assert" version="2.0.0" targetFramework="net45" />
<package id="xunit.core" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="0.99.9-build1021" targetFramework="net45" /> <package id="xunit.extensibility.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.0.0" targetFramework="net45" />
</packages> </packages>

View File

@@ -1,5 +1,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq;
using Xunit; using Xunit;
using Xunit.Abstractions; using Xunit.Abstractions;
using Xunit.Sdk; using Xunit.Sdk;
@@ -8,16 +9,23 @@ namespace Octokit.Tests.Integration
{ {
public class ApplicationTestDiscoverer : IXunitTestCaseDiscoverer public class ApplicationTestDiscoverer : IXunitTestCaseDiscoverer
{ {
public IEnumerable<IXunitTestCase> Discover(ITestMethod testMethod, IAttributeInfo factAttribute) readonly IMessageSink diagnosticMessageSink;
public ApplicationTestDiscoverer(IMessageSink diagnosticMessageSink)
{
this.diagnosticMessageSink = diagnosticMessageSink;
}
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
{ {
if (String.IsNullOrWhiteSpace(Helper.ClientId) if (String.IsNullOrWhiteSpace(Helper.ClientId)
&& String.IsNullOrWhiteSpace(Helper.ClientSecret)) && String.IsNullOrWhiteSpace(Helper.ClientSecret))
{ {
yield return new SkipTestCase(testMethod, return Enumerable.Empty<IXunitTestCase>();
"Environment variables are not set for this test - set OCTOKIT_CLIENTID and OCTOKIT_CLIENTSECRET");
} }
yield return new XunitTestCase(testMethod); return new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) };
} }
} }
@@ -25,13 +33,4 @@ namespace Octokit.Tests.Integration
public class ApplicationTestAttribute : FactAttribute public class ApplicationTestAttribute : FactAttribute
{ {
} }
public class SkipTestCase : XunitTestCase
{
public SkipTestCase(ITestMethod testMethod, string skipReason)
: base(testMethod)
{
SkipReason = skipReason;
}
}
} }

View File

@@ -8,11 +8,18 @@ namespace Octokit.Tests.Integration
{ {
public class IntegrationTestDiscoverer : IXunitTestCaseDiscoverer public class IntegrationTestDiscoverer : IXunitTestCaseDiscoverer
{ {
public IEnumerable<IXunitTestCase> Discover(ITestMethod testMethod, IAttributeInfo factAttribute) readonly IMessageSink diagnosticMessageSink;
public IntegrationTestDiscoverer(IMessageSink diagnosticMessageSink)
{
this.diagnosticMessageSink = diagnosticMessageSink;
}
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
{ {
return Helper.Credentials == null return Helper.Credentials == null
? Enumerable.Empty<IXunitTestCase>() ? Enumerable.Empty<IXunitTestCase>()
: new [] { new XunitTestCase(testMethod) }; : new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) };
} }
} }

View File

@@ -8,16 +8,21 @@ namespace Octokit.Tests.Integration
{ {
public class OrganizationTestDiscoverer : IXunitTestCaseDiscoverer public class OrganizationTestDiscoverer : IXunitTestCaseDiscoverer
{ {
public IEnumerable<IXunitTestCase> Discover(ITestMethod testMethod, IAttributeInfo factAttribute) readonly IMessageSink diagnosticMessageSink;
public OrganizationTestDiscoverer(IMessageSink diagnosticMessageSink)
{
this.diagnosticMessageSink = diagnosticMessageSink;
}
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
{ {
if (Helper.Organization == null) if (Helper.Organization == null)
{ {
return Enumerable.Empty<IXunitTestCase>(); return Enumerable.Empty<IXunitTestCase>();
} }
else
{ return new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) };
return new [] { new XunitTestCase(testMethod) };
}
} }
} }

View File

@@ -8,7 +8,14 @@ namespace Octokit.Tests.Integration
{ {
public class PaidAccountTestDiscoverer : IXunitTestCaseDiscoverer public class PaidAccountTestDiscoverer : IXunitTestCaseDiscoverer
{ {
public IEnumerable<IXunitTestCase> Discover(ITestMethod testMethod, IAttributeInfo factAttribute) readonly IMessageSink diagnosticMessageSink;
public PaidAccountTestDiscoverer(IMessageSink diagnosticMessageSink)
{
this.diagnosticMessageSink = diagnosticMessageSink;
}
public IEnumerable<IXunitTestCase> Discover(ITestFrameworkDiscoveryOptions discoveryOptions, ITestMethod testMethod, IAttributeInfo factAttribute)
{ {
if (Helper.Credentials == null) if (Helper.Credentials == null)
return Enumerable.Empty<IXunitTestCase>(); return Enumerable.Empty<IXunitTestCase>();
@@ -16,7 +23,7 @@ namespace Octokit.Tests.Integration
if (!Helper.IsPaidAccount) if (!Helper.IsPaidAccount)
return Enumerable.Empty<IXunitTestCase>(); return Enumerable.Empty<IXunitTestCase>();
return new[] { new XunitTestCase(testMethod) }; return new[] { new XunitTestCase(diagnosticMessageSink, discoveryOptions.MethodDisplayOrDefault(), testMethod) };
} }
} }

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" /> <Import Project="..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" />
<Import Project="..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" /> <Import Project="..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,7 +13,7 @@
<AssemblyName>Octokit.Tests.Integration</AssemblyName> <AssemblyName>Octokit.Tests.Integration</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>89e72d09</NuGetPackageImportStamp> <NuGetPackageImportStamp>884d959c</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@@ -53,18 +53,20 @@
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="xunit.abstractions"> <Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll</HintPath> <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.assert"> <Reference Include="xunit.assert, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll</HintPath>
</Reference>
<Reference Include="xunit.core">
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll</HintPath>
</Reference>
<Reference Include="xunit.execution, Version=2.0.0.2785, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.execution.dll</HintPath> <HintPath>..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll</HintPath>
</Reference>
<Reference Include="xunit.core, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll</HintPath>
</Reference>
<Reference Include="xunit.execution.desktop, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.execution.2.0.0\lib\net45\xunit.execution.desktop.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -147,8 +149,8 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props'))" /> <Error Condition="!Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props'))" /> <Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -14,6 +14,10 @@
<assemblyIdentity name="System.Reactive.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <assemblyIdentity name="System.Reactive.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.30214.0" newVersion="2.1.30214.0" /> <bindingRedirect oldVersion="0.0.0.0-2.1.30214.0" newVersion="2.1.30214.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="xunit.core" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.2880" newVersion="2.0.0.2880" />
</dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>

View File

@@ -3,9 +3,11 @@
<package id="Rx-Core" version="2.2.5" targetFramework="net45" /> <package id="Rx-Core" version="2.2.5" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" /> <package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" />
<package id="Rx-Linq" version="2.2.5" targetFramework="net45" /> <package id="Rx-Linq" version="2.2.5" targetFramework="net45" />
<package id="xunit" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit" version="2.0.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.assert" version="2.0.0" targetFramework="net45" />
<package id="xunit.core" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="0.99.9-build1021" targetFramework="net45" /> <package id="xunit.extensibility.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.extensibility.execution" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.0.0" targetFramework="net45" />
</packages> </packages>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" /> <Import Project="..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" />
<Import Project="..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" /> <Import Project="..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,7 +13,7 @@
<AssemblyName>Octokit.Tests-NetCore45</AssemblyName> <AssemblyName>Octokit.Tests-NetCore45</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>42c4ff23</NuGetPackageImportStamp> <NuGetPackageImportStamp>f3747da2</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@@ -45,14 +45,16 @@
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.XML" /> <Reference Include="System.XML" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="xunit.abstractions"> <Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll</HintPath> <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.assert"> <Reference Include="xunit.assert, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.core"> <Reference Include="xunit.core, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -177,8 +179,8 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props'))" /> <Error Condition="!Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props'))" /> <Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" /> <Import Project="..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" />
<Import Project="..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" /> <Import Project="..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,7 +13,7 @@
<AssemblyName>Octokit.Tests-Portable</AssemblyName> <AssemblyName>Octokit.Tests-Portable</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>6b300e8a</NuGetPackageImportStamp> <NuGetPackageImportStamp>2ac0e5a7</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@@ -45,14 +45,16 @@
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.XML" /> <Reference Include="System.XML" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="xunit.abstractions"> <Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll</HintPath> <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.assert"> <Reference Include="xunit.assert, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.core"> <Reference Include="xunit.core, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -177,8 +179,8 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props'))" /> <Error Condition="!Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props'))" /> <Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" /> <Import Project="..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props" Condition="Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" />
<Import Project="..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" /> <Import Project="..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props" Condition="Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -13,7 +13,7 @@
<AssemblyName>Octokit.Tests</AssemblyName> <AssemblyName>Octokit.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>f1b9719f</NuGetPackageImportStamp> <NuGetPackageImportStamp>525bf01a</NuGetPackageImportStamp>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@@ -57,14 +57,16 @@
</Reference> </Reference>
<Reference Include="System.XML" /> <Reference Include="System.XML" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="xunit.abstractions"> <Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.abstractions.2.0.0-beta5-build2785\lib\net35\xunit.abstractions.dll</HintPath> <HintPath>..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.assert"> <Reference Include="xunit.assert, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.assert.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monoandroid+monotouch10\xunit.assert.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.assert.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.assert.dll</HintPath>
</Reference> </Reference>
<Reference Include="xunit.core"> <Reference Include="xunit.core, Version=2.0.0.2929, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\packages\xunit.core.2.0.0-beta5-build2785\lib\portable-net45+aspnetcore50+win+wpa81+wp80+monotouch+monoandroid\xunit.core.dll</HintPath> <SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensibility.core.2.0.0\lib\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -217,8 +219,8 @@
<PropertyGroup> <PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup> </PropertyGroup>
<Error Condition="!Exists('..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0-beta5-build2785\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid\xunit.core.props'))" /> <Error Condition="!Exists('..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.core.2.0.0\build\portable-net45+win+wpa81+wp80+monotouch+monoandroid+Xamarin.iOS\xunit.core.props'))" />
<Error Condition="!Exists('..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.0.99.9-build1021\build\net20\xunit.runner.visualstudio.props'))" /> <Error Condition="!Exists('..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\xunit.runner.visualstudio.2.0.0\build\net20\xunit.runner.visualstudio.props'))" />
</Target> </Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -4,9 +4,10 @@
<package id="Rx-Core" version="2.2.5" targetFramework="net45" /> <package id="Rx-Core" version="2.2.5" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" /> <package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" />
<package id="Rx-Linq" version="2.2.5" targetFramework="net45" /> <package id="Rx-Linq" version="2.2.5" targetFramework="net45" />
<package id="xunit" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit" version="2.0.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.assert" version="2.0.0" targetFramework="net45" />
<package id="xunit.core" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="0.99.9-build1021" targetFramework="net45" /> <package id="xunit.extensibility.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.0.0" targetFramework="net45" />
</packages> </packages>

View File

@@ -4,9 +4,10 @@
<package id="Rx-Core" version="2.2.5" targetFramework="net45" /> <package id="Rx-Core" version="2.2.5" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" /> <package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" />
<package id="Rx-Linq" version="2.2.5" targetFramework="net45" /> <package id="Rx-Linq" version="2.2.5" targetFramework="net45" />
<package id="xunit" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit" version="2.0.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.assert" version="2.0.0" targetFramework="net45" />
<package id="xunit.core" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="0.99.9-build1021" targetFramework="net45" /> <package id="xunit.extensibility.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.0.0" targetFramework="net45" />
</packages> </packages>

View File

@@ -4,9 +4,10 @@
<package id="Rx-Core" version="2.2.5" targetFramework="net45" /> <package id="Rx-Core" version="2.2.5" targetFramework="net45" />
<package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" /> <package id="Rx-Interfaces" version="2.2.5" targetFramework="net45" />
<package id="Rx-Linq" version="2.2.5" targetFramework="net45" /> <package id="Rx-Linq" version="2.2.5" targetFramework="net45" />
<package id="xunit" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit" version="2.0.0" targetFramework="net45" />
<package id="xunit.abstractions" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.abstractions" version="2.0.0" targetFramework="net45" />
<package id="xunit.assert" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.assert" version="2.0.0" targetFramework="net45" />
<package id="xunit.core" version="2.0.0-beta5-build2785" targetFramework="net45" /> <package id="xunit.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="0.99.9-build1021" targetFramework="net45" /> <package id="xunit.extensibility.core" version="2.0.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.0.0" targetFramework="net45" />
</packages> </packages>

View File

@@ -46,6 +46,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit-Portable", "Octokit
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests-Portable", "Octokit.Tests\Octokit.Tests-Portable.csproj", "{CBE29DDD-F15C-46CC-A250-E6ECF55BEED4}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Octokit.Tests-Portable", "Octokit.Tests\Octokit.Tests-Portable.csproj", "{CBE29DDD-F15C-46CC-A250-E6ECF55BEED4}"
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{DB068FD2-F54C-48EB-A6FD-1AC9EA3F8F57}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU

View File

@@ -1,6 +1,6 @@
@echo off @echo off
"tools\nuget\nuget.exe" "install" "xunit.runners" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.0.0-beta5-build2785" "tools\nuget\nuget.exe" "install" "xunit.runner.console" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "2.0.0"
"tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "3.12.2" "tools\nuget\nuget.exe" "install" "FAKE.Core" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "3.12.2"
"tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "0.4.2" "tools\nuget\nuget.exe" "install" "SourceLink.Fake" "-OutputDirectory" "tools" "-ExcludeVersion" "-version" "0.4.2"

View File

@@ -17,6 +17,10 @@
<assemblyIdentity name="System.Reactive.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" /> <assemblyIdentity name="System.Reactive.Linq" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.1.30214.0" newVersion="2.1.30214.0" /> <bindingRedirect oldVersion="0.0.0.0-2.1.30214.0" newVersion="2.1.30214.0" />
</dependentAssembly> </dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="xunit.core" publicKeyToken="8d05b1bb7a6fdb6c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.2880" newVersion="2.0.0.2880" />
</dependentAssembly>
</assemblyBinding> </assemblyBinding>
</runtime> </runtime>
</configuration> </configuration>

BIN
packages/xunit.2.0.0/xunit.2.0.0.nupkg vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -9,6 +9,23 @@
Represents source information about a test case. Represents source information about a test case.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.IXunitSerializable">
<summary>
Interface implement by objects that want to support serialization in xUnit.net.
</summary>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializable.Deserialize(Xunit.Abstractions.IXunitSerializationInfo)">
<summary>
Called when the object should populate itself with data from the serialization info.
</summary>
<param name="info">The info to get the data from</param>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializable.Serialize(Xunit.Abstractions.IXunitSerializationInfo)">
<summary>
Called when the object should store its data into the serialization info.
</summary>
<param name="info">The info to store the data in</param>
</member>
<member name="P:Xunit.Abstractions.ISourceInformation.FileName"> <member name="P:Xunit.Abstractions.ISourceInformation.FileName">
<summary> <summary>
Gets or sets the source file name. A <c>null</c> value indicates that the Gets or sets the source file name. A <c>null</c> value indicates that the
@@ -38,7 +55,9 @@
<member name="T:Xunit.Abstractions.ITestFramework"> <member name="T:Xunit.Abstractions.ITestFramework">
<summary> <summary>
Represents a test framework. There are two pieces to test frameworks: discovery and Represents a test framework. There are two pieces to test frameworks: discovery and
execution. The two factory methods represent these two pieces. execution. The two factory methods represent these two pieces. Test frameworks can
implement an empty constructor, or they can implement one that takes <see cref="T:Xunit.Abstractions.IMessageSink"/>
if they want to be able to send diagnostic messages.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFramework.GetDiscoverer(Xunit.Abstractions.IAssemblyInfo)"> <member name="M:Xunit.Abstractions.ITestFramework.GetDiscoverer(Xunit.Abstractions.IAssemblyInfo)">
@@ -65,22 +84,22 @@
Represents an implementation of the discovery part of a test framework. Represents an implementation of the discovery part of a test framework.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions)">
<summary> <summary>
Starts the process of finding all tests in an assembly. Starts the process of finding all tests in an assembly.
</summary> </summary>
<param name="includeSourceInformation">Whether to include source file information, if possible.</param> <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="discoveryMessageSink">The message sink to report results back to.</param>
<param name="options">The options used by the test framework during discovery.</param> <param name="discoveryOptions">The options used by the test framework during discovery.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.String,System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.String,System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions)">
<summary> <summary>
Starts the process of finding all tests in a class. Starts the process of finding all tests in a class.
</summary> </summary>
<param name="typeName">The fully qualified type name to find tests in.</param> <param name="typeName">The fully qualified type name to find tests in.</param>
<param name="includeSourceInformation">Whether to include source file information, if possible.</param> <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="discoveryMessageSink">The message sink to report results back to.</param>
<param name="options">The options used by the test framework during discovery.</param> <param name="discoveryOptions">The options used by the test framework during discovery.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Serialize(Xunit.Abstractions.ITestCase)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Serialize(Xunit.Abstractions.ITestCase)">
<summary> <summary>
@@ -99,6 +118,41 @@
Returns the display name of the test framework that this discoverer is running tests for. Returns the display name of the test framework that this discoverer is running tests for.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.ITestFrameworkDiscoveryOptions">
<summary>
Represents an instance of <see cref="T:Xunit.Abstractions.ITestFrameworkOptions"/> that is to be used for
test discovery purposes.
</summary>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkOptions">
<summary>
This interface should not be consumed directly; instead, you should
consume <see cref="T:Xunit.Abstractions.ITestFrameworkDiscoveryOptions"/>
or <see cref="T:Xunit.Abstractions.ITestFrameworkExecutionOptions"/>.
</summary>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.GetValue``1(System.String)">
<summary>
Gets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<returns>The value.</returns>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.SetValue``1(System.String,``0)">
<summary>
Sets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="value">The value to be set.</param>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkExecutionOptions">
<summary>
Represents an instance of <see cref="T:Xunit.Abstractions.ITestFrameworkOptions"/> that is to be used for
test execution purposes.
</summary>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkExecutor"> <member name="T:Xunit.Abstractions.ITestFrameworkExecutor">
<summary> <summary>
Represents an implementation of the execution part of a test framework. Represents an implementation of the execution part of a test framework.
@@ -111,45 +165,22 @@
<param name="value">The string representation of the test case.</param> <param name="value">The string representation of the test case.</param>
<returns>The de-serialized test case.</returns> <returns>The de-serialized test case.</returns>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunAll(Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunAll(Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions,Xunit.Abstractions.ITestFrameworkExecutionOptions)">
<summary> <summary>
Starts the process of running all the tests in the assembly. Starts the process of running all the tests in the assembly.
</summary> </summary>
<param name="messageSink">The message sink to report results back to.</param> <param name="executionMessageSink">The message sink to report results back to.</param>
<param name="discoveryOptions">The options to be used during test discovery.</param> <param name="discoveryOptions">The options to be used during test discovery.</param>
<param name="executionOptions">The options to be used during test execution.</param> <param name="executionOptions">The options to be used during test execution.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunTests(System.Collections.Generic.IEnumerable{Xunit.Abstractions.ITestCase},Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunTests(System.Collections.Generic.IEnumerable{Xunit.Abstractions.ITestCase},Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkExecutionOptions)">
<summary> <summary>
Starts the process of running selected tests in the assembly. Starts the process of running selected tests in the assembly.
</summary> </summary>
<param name="testCases">The test cases to run.</param> <param name="testCases">The test cases to run.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="executionMessageSink">The message sink to report results back to.</param>
<param name="executionOptions">The options to be used during test execution.</param> <param name="executionOptions">The options to be used during test execution.</param>
</member> </member>
<member name="T:Xunit.Abstractions.ITestFrameworkOptions">
<summary>
Represents options given to an implementation of <see cref="T:Xunit.Abstractions.ITestFrameworkDiscoverer"/>.Find
or <see cref="T:Xunit.Abstractions.ITestFrameworkExecutor"/>.Run.
</summary>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.GetValue``1(System.String,``0)">
<summary>
Gets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="defaultValue">The default value when none is present.</param>
<returns>The value.</returns>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.SetValue``1(System.String,``0)">
<summary>
Sets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="value">The value to be set.</param>
</member>
<member name="T:Xunit.Abstractions.IExecutionMessage"> <member name="T:Xunit.Abstractions.IExecutionMessage">
<summary> <summary>
Base message interface for all messages related to test execution. It includes the list Base message interface for all messages related to test execution. It includes the list
@@ -374,11 +405,6 @@
the requested assembly. the requested assembly.
</summary> </summary>
</member> </member>
<member name="P:Xunit.Abstractions.IDiscoveryCompleteMessage.Warnings">
<summary>
Gets the list of warnings that were raised during discovery.
</summary>
</member>
<member name="T:Xunit.Abstractions.IErrorMessage"> <member name="T:Xunit.Abstractions.IErrorMessage">
<summary> <summary>
This message indicates that an error has occurred in the execution process. This message indicates that an error has occurred in the execution process.
@@ -861,6 +887,37 @@
Gets the underlying <see cref="P:Xunit.Abstractions.IReflectionTypeInfo.Type"/> object. Gets the underlying <see cref="P:Xunit.Abstractions.IReflectionTypeInfo.Type"/> object.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.IXunitSerializationInfo">
<summary>
Represents serialization support in xUnit.net.
</summary>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.AddValue(System.String,System.Object,System.Type)">
<summary>
Adds a value to the serialization. Supported value types include the built-in
intrinsics (string, int, long, float, double, and decimal, including nullable
versions of those), any class which implements <see cref="T:Xunit.Abstractions.IXunitSerializable"/>),
or arrays of any supported types.
</summary>
<param name="key">The key</param>
<param name="value">The value</param>
<param name="type">The optional type of the value</param>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.GetValue(System.String,System.Type)">
<summary>
Gets a value from the serialization.
</summary>
<param name="key">The key</param>
<param name="type">The type of the value</param>
<returns>The value, if present; <c>null</c>, otherwise</returns>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.GetValue``1(System.String)">
<summary>
Gets a value from the serialization.
</summary>
<param name="key">The key</param>
<returns>The value, if present; default(T), otherwise</returns>
</member>
<member name="T:Xunit.Abstractions.ITest"> <member name="T:Xunit.Abstractions.ITest">
<summary> <summary>
Represents a single test in the system. A test case typically contains only a single test, Represents a single test in the system. A test case typically contains only a single test,

View File

@@ -9,6 +9,23 @@
Represents source information about a test case. Represents source information about a test case.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.IXunitSerializable">
<summary>
Interface implement by objects that want to support serialization in xUnit.net.
</summary>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializable.Deserialize(Xunit.Abstractions.IXunitSerializationInfo)">
<summary>
Called when the object should populate itself with data from the serialization info.
</summary>
<param name="info">The info to get the data from</param>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializable.Serialize(Xunit.Abstractions.IXunitSerializationInfo)">
<summary>
Called when the object should store its data into the serialization info.
</summary>
<param name="info">The info to store the data in</param>
</member>
<member name="P:Xunit.Abstractions.ISourceInformation.FileName"> <member name="P:Xunit.Abstractions.ISourceInformation.FileName">
<summary> <summary>
Gets or sets the source file name. A <c>null</c> value indicates that the Gets or sets the source file name. A <c>null</c> value indicates that the
@@ -38,7 +55,9 @@
<member name="T:Xunit.Abstractions.ITestFramework"> <member name="T:Xunit.Abstractions.ITestFramework">
<summary> <summary>
Represents a test framework. There are two pieces to test frameworks: discovery and Represents a test framework. There are two pieces to test frameworks: discovery and
execution. The two factory methods represent these two pieces. execution. The two factory methods represent these two pieces. Test frameworks can
implement an empty constructor, or they can implement one that takes <see cref="T:Xunit.Abstractions.IMessageSink"/>
if they want to be able to send diagnostic messages.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFramework.GetDiscoverer(Xunit.Abstractions.IAssemblyInfo)"> <member name="M:Xunit.Abstractions.ITestFramework.GetDiscoverer(Xunit.Abstractions.IAssemblyInfo)">
@@ -65,22 +84,22 @@
Represents an implementation of the discovery part of a test framework. Represents an implementation of the discovery part of a test framework.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions)">
<summary> <summary>
Starts the process of finding all tests in an assembly. Starts the process of finding all tests in an assembly.
</summary> </summary>
<param name="includeSourceInformation">Whether to include source file information, if possible.</param> <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="discoveryMessageSink">The message sink to report results back to.</param>
<param name="options">The options used by the test framework during discovery.</param> <param name="discoveryOptions">The options used by the test framework during discovery.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.String,System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Find(System.String,System.Boolean,Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions)">
<summary> <summary>
Starts the process of finding all tests in a class. Starts the process of finding all tests in a class.
</summary> </summary>
<param name="typeName">The fully qualified type name to find tests in.</param> <param name="typeName">The fully qualified type name to find tests in.</param>
<param name="includeSourceInformation">Whether to include source file information, if possible.</param> <param name="includeSourceInformation">Whether to include source file information, if possible.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="discoveryMessageSink">The message sink to report results back to.</param>
<param name="options">The options used by the test framework during discovery.</param> <param name="discoveryOptions">The options used by the test framework during discovery.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Serialize(Xunit.Abstractions.ITestCase)"> <member name="M:Xunit.Abstractions.ITestFrameworkDiscoverer.Serialize(Xunit.Abstractions.ITestCase)">
<summary> <summary>
@@ -99,6 +118,41 @@
Returns the display name of the test framework that this discoverer is running tests for. Returns the display name of the test framework that this discoverer is running tests for.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.ITestFrameworkDiscoveryOptions">
<summary>
Represents an instance of <see cref="T:Xunit.Abstractions.ITestFrameworkOptions"/> that is to be used for
test discovery purposes.
</summary>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkOptions">
<summary>
This interface should not be consumed directly; instead, you should
consume <see cref="T:Xunit.Abstractions.ITestFrameworkDiscoveryOptions"/>
or <see cref="T:Xunit.Abstractions.ITestFrameworkExecutionOptions"/>.
</summary>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.GetValue``1(System.String)">
<summary>
Gets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<returns>The value.</returns>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.SetValue``1(System.String,``0)">
<summary>
Sets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="value">The value to be set.</param>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkExecutionOptions">
<summary>
Represents an instance of <see cref="T:Xunit.Abstractions.ITestFrameworkOptions"/> that is to be used for
test execution purposes.
</summary>
</member>
<member name="T:Xunit.Abstractions.ITestFrameworkExecutor"> <member name="T:Xunit.Abstractions.ITestFrameworkExecutor">
<summary> <summary>
Represents an implementation of the execution part of a test framework. Represents an implementation of the execution part of a test framework.
@@ -111,45 +165,22 @@
<param name="value">The string representation of the test case.</param> <param name="value">The string representation of the test case.</param>
<returns>The de-serialized test case.</returns> <returns>The de-serialized test case.</returns>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunAll(Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunAll(Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkDiscoveryOptions,Xunit.Abstractions.ITestFrameworkExecutionOptions)">
<summary> <summary>
Starts the process of running all the tests in the assembly. Starts the process of running all the tests in the assembly.
</summary> </summary>
<param name="messageSink">The message sink to report results back to.</param> <param name="executionMessageSink">The message sink to report results back to.</param>
<param name="discoveryOptions">The options to be used during test discovery.</param> <param name="discoveryOptions">The options to be used during test discovery.</param>
<param name="executionOptions">The options to be used during test execution.</param> <param name="executionOptions">The options to be used during test execution.</param>
</member> </member>
<member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunTests(System.Collections.Generic.IEnumerable{Xunit.Abstractions.ITestCase},Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkOptions)"> <member name="M:Xunit.Abstractions.ITestFrameworkExecutor.RunTests(System.Collections.Generic.IEnumerable{Xunit.Abstractions.ITestCase},Xunit.Abstractions.IMessageSink,Xunit.Abstractions.ITestFrameworkExecutionOptions)">
<summary> <summary>
Starts the process of running selected tests in the assembly. Starts the process of running selected tests in the assembly.
</summary> </summary>
<param name="testCases">The test cases to run.</param> <param name="testCases">The test cases to run.</param>
<param name="messageSink">The message sink to report results back to.</param> <param name="executionMessageSink">The message sink to report results back to.</param>
<param name="executionOptions">The options to be used during test execution.</param> <param name="executionOptions">The options to be used during test execution.</param>
</member> </member>
<member name="T:Xunit.Abstractions.ITestFrameworkOptions">
<summary>
Represents options given to an implementation of <see cref="T:Xunit.Abstractions.ITestFrameworkDiscoverer"/>.Find
or <see cref="T:Xunit.Abstractions.ITestFrameworkExecutor"/>.Run.
</summary>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.GetValue``1(System.String,``0)">
<summary>
Gets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="defaultValue">The default value when none is present.</param>
<returns>The value.</returns>
</member>
<member name="M:Xunit.Abstractions.ITestFrameworkOptions.SetValue``1(System.String,``0)">
<summary>
Sets an option value.
</summary>
<typeparam name="TValue">The type of the value.</typeparam>
<param name="name">The name of the value.</param>
<param name="value">The value to be set.</param>
</member>
<member name="T:Xunit.Abstractions.IExecutionMessage"> <member name="T:Xunit.Abstractions.IExecutionMessage">
<summary> <summary>
Base message interface for all messages related to test execution. It includes the list Base message interface for all messages related to test execution. It includes the list
@@ -374,11 +405,6 @@
the requested assembly. the requested assembly.
</summary> </summary>
</member> </member>
<member name="P:Xunit.Abstractions.IDiscoveryCompleteMessage.Warnings">
<summary>
Gets the list of warnings that were raised during discovery.
</summary>
</member>
<member name="T:Xunit.Abstractions.IErrorMessage"> <member name="T:Xunit.Abstractions.IErrorMessage">
<summary> <summary>
This message indicates that an error has occurred in the execution process. This message indicates that an error has occurred in the execution process.
@@ -861,6 +887,37 @@
Gets the underlying <see cref="P:Xunit.Abstractions.IReflectionTypeInfo.Type"/> object. Gets the underlying <see cref="P:Xunit.Abstractions.IReflectionTypeInfo.Type"/> object.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Abstractions.IXunitSerializationInfo">
<summary>
Represents serialization support in xUnit.net.
</summary>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.AddValue(System.String,System.Object,System.Type)">
<summary>
Adds a value to the serialization. Supported value types include the built-in
intrinsics (string, int, long, float, double, and decimal, including nullable
versions of those), any class which implements <see cref="T:Xunit.Abstractions.IXunitSerializable"/>),
or arrays of any supported types.
</summary>
<param name="key">The key</param>
<param name="value">The value</param>
<param name="type">The optional type of the value</param>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.GetValue(System.String,System.Type)">
<summary>
Gets a value from the serialization.
</summary>
<param name="key">The key</param>
<param name="type">The type of the value</param>
<returns>The value, if present; <c>null</c>, otherwise</returns>
</member>
<member name="M:Xunit.Abstractions.IXunitSerializationInfo.GetValue``1(System.String)">
<summary>
Gets a value from the serialization.
</summary>
<param name="key">The key</param>
<returns>The value, if present; default(T), otherwise</returns>
</member>
<member name="T:Xunit.Abstractions.ITest"> <member name="T:Xunit.Abstractions.ITest">
<summary> <summary>
Represents a single test in the system. A test case typically contains only a single test, Represents a single test in the system. A test case typically contains only a single test,

Binary file not shown.

View File

@@ -28,6 +28,13 @@
<param name="condition">The condition to be tested</param> <param name="condition">The condition to be tested</param>
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception> <exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
</member> </member>
<member name="M:Xunit.Assert.False(System.Nullable{System.Boolean})">
<summary>
Verifies that the condition is false.
</summary>
<param name="condition">The condition to be tested</param>
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
</member>
<member name="M:Xunit.Assert.False(System.Boolean,System.String)"> <member name="M:Xunit.Assert.False(System.Boolean,System.String)">
<summary> <summary>
Verifies that the condition is false. Verifies that the condition is false.
@@ -36,6 +43,14 @@
<param name="userMessage">The message to show when the condition is not false</param> <param name="userMessage">The message to show when the condition is not false</param>
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception> <exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
</member> </member>
<member name="M:Xunit.Assert.False(System.Nullable{System.Boolean},System.String)">
<summary>
Verifies that the condition is false.
</summary>
<param name="condition">The condition to be tested</param>
<param name="userMessage">The message to show when the condition is not false</param>
<exception cref="T:Xunit.Sdk.FalseException">Thrown if the condition is not false</exception>
</member>
<member name="M:Xunit.Assert.True(System.Boolean)"> <member name="M:Xunit.Assert.True(System.Boolean)">
<summary> <summary>
Verifies that an expression is true. Verifies that an expression is true.
@@ -43,6 +58,13 @@
<param name="condition">The condition to be inspected</param> <param name="condition">The condition to be inspected</param>
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception> <exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
</member> </member>
<member name="M:Xunit.Assert.True(System.Nullable{System.Boolean})">
<summary>
Verifies that an expression is true.
</summary>
<param name="condition">The condition to be inspected</param>
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
</member>
<member name="M:Xunit.Assert.True(System.Boolean,System.String)"> <member name="M:Xunit.Assert.True(System.Boolean,System.String)">
<summary> <summary>
Verifies that an expression is true. Verifies that an expression is true.
@@ -51,6 +73,14 @@
<param name="userMessage">The message to be shown when the condition is false</param> <param name="userMessage">The message to be shown when the condition is false</param>
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception> <exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
</member> </member>
<member name="M:Xunit.Assert.True(System.Nullable{System.Boolean},System.String)">
<summary>
Verifies that an expression is true.
</summary>
<param name="condition">The condition to be inspected</param>
<param name="userMessage">The message to be shown when the condition is false</param>
<exception cref="T:Xunit.Sdk.TrueException">Thrown when the condition is false</exception>
</member>
<member name="M:Xunit.Assert.All``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})"> <member name="M:Xunit.Assert.All``1(System.Collections.Generic.IEnumerable{``0},System.Action{``0})">
<summary> <summary>
Verifies that all items in the collection pass when executed against Verifies that all items in the collection pass when executed against
@@ -154,36 +184,6 @@
<param name="comparer">The comparer used to compare the two objects</param> <param name="comparer">The comparer used to compare the two objects</param>
<exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception> <exception cref="T:Xunit.Sdk.EqualException">Thrown when the objects are not equal</exception>
</member> </member>
<member name="M:Xunit.Assert.None(System.Collections.IEnumerable,System.Object)">
<summary>
Verifies that the given collection contains no
elements of the given value. The collection may or may not
contain other values.
</summary>
<param name="collection">The collection.</param>
<param name="expected">The value to find in the collection.</param>
<exception cref="T:Xunit.Sdk.NoneException">Thrown when the collection contains at least one of the given element.</exception>
</member>
<member name="M:Xunit.Assert.None``1(System.Collections.Generic.IEnumerable{``0},``0)">
<summary>
Verifies that the given collection contains no
elements of the given value. The collection may or may not
contain other values.
</summary>
<param name="collection">The collection.</param>
<param name="expected">The value to find in the collection.</param>
<exception cref="T:Xunit.Sdk.NoneException">Thrown when the collection contains at least one of the given element.</exception>
</member>
<member name="M:Xunit.Assert.None``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean})">
<summary>
Verifies that the given collection contains no
elements that match the given predicate. The collection may or may not
contain other values.
</summary>
<param name="collection">The collection.</param>
<param name="predicate">The item matching predicate.</param>
<exception cref="T:Xunit.Sdk.NoneException">Thrown when the collection contains at least one matching element.</exception>
</member>
<member name="M:Xunit.Assert.NotEmpty(System.Collections.IEnumerable)"> <member name="M:Xunit.Assert.NotEmpty(System.Collections.IEnumerable)">
<summary> <summary>
Verifies that a collection is not empty. Verifies that a collection is not empty.
@@ -477,6 +477,31 @@
<member name="M:Xunit.Assert.GuardArgumentNotNull(System.String,System.Object)"> <member name="M:Xunit.Assert.GuardArgumentNotNull(System.String,System.Object)">
<summary/> <summary/>
</member> </member>
<member name="M:Xunit.Assert.RecordException(System.Action)">
<summary>
Records any exception which is thrown by the given code.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Assert.RecordException(System.Func{System.Object})">
<summary>
Records any exception which is thrown by the given code that has
a return value. Generally used for testing property accessors.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Assert.RecordException(System.Func{System.Threading.Tasks.Task})">
<summary/>
</member>
<member name="M:Xunit.Assert.RecordExceptionAsync(System.Func{System.Threading.Tasks.Task})">
<summary>
Records any exception which is thrown by the given task.
</summary>
<param name="testCode">The task which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Assert.NotSame(System.Object,System.Object)"> <member name="M:Xunit.Assert.NotSame(System.Object,System.Object)">
<summary> <summary>
Verifies that two objects are not the same instance. Verifies that two objects are not the same instance.
@@ -764,36 +789,6 @@
<param name="object">The object to be evaluated</param> <param name="object">The object to be evaluated</param>
<exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception> <exception cref="T:Xunit.Sdk.IsTypeException">Thrown when the object is not the given type</exception>
</member> </member>
<member name="T:Xunit.Record">
<summary>
Allows the user to record actions for a test.
</summary>
</member>
<member name="M:Xunit.Record.Exception(System.Action)">
<summary>
Records any exception which is thrown by the given code.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Record.Exception(System.Func{System.Object})">
<summary>
Records any exception which is thrown by the given code that has
a return value. Generally used for testing property accessors.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Record.Exception(System.Func{System.Threading.Tasks.Task})">
<summary/>
</member>
<member name="M:Xunit.Record.ExceptionAsync(System.Func{System.Threading.Tasks.Task})">
<summary>
Records any exception which is thrown by the given task.
</summary>
<param name="testCode">The task which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="T:Xunit.Sdk.ArgumentFormatter"> <member name="T:Xunit.Sdk.ArgumentFormatter">
<summary> <summary>
Formats arguments for display in theories. Formats arguments for display in theories.
@@ -1105,11 +1100,12 @@
Exception thrown when a value is unexpectedly true. Exception thrown when a value is unexpectedly true.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.FalseException.#ctor(System.String)"> <member name="M:Xunit.Sdk.FalseException.#ctor(System.String,System.Nullable{System.Boolean})">
<summary> <summary>
Creates a new instance of the <see cref="T:Xunit.Sdk.FalseException"/> class. Creates a new instance of the <see cref="T:Xunit.Sdk.FalseException"/> class.
</summary> </summary>
<param name="userMessage">The user message to be display, or null for the default message</param> <param name="userMessage">The user message to be display, or null for the default message</param>
<param name="value">The actual value</param>
</member> </member>
<member name="T:Xunit.Sdk.InRangeException"> <member name="T:Xunit.Sdk.InRangeException">
<summary> <summary>
@@ -1193,17 +1189,6 @@
<param name="expectedRegexPattern">The expected regular expression pattern</param> <param name="expectedRegexPattern">The expected regular expression pattern</param>
<param name="actual">The actual value</param> <param name="actual">The actual value</param>
</member> </member>
<member name="T:Xunit.Sdk.NoneException">
<summary>
Exception thrown when the collection did not contain exactly zero elements.
</summary>
</member>
<member name="M:Xunit.Sdk.NoneException.#ctor(System.Int32)">
<summary>
Initializes a new instance of the <see cref="T:Xunit.Sdk.NoneException"/> class.
</summary>
<param name="count">The numbers of items in the collection.</param>
</member>
<member name="T:Xunit.Sdk.NotEmptyException"> <member name="T:Xunit.Sdk.NotEmptyException">
<summary> <summary>
Exception thrown when a collection is unexpectedly empty. Exception thrown when a collection is unexpectedly empty.
@@ -1421,11 +1406,12 @@
Exception thrown when a value is unexpectedly false. Exception thrown when a value is unexpectedly false.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.TrueException.#ctor(System.String)"> <member name="M:Xunit.Sdk.TrueException.#ctor(System.String,System.Nullable{System.Boolean})">
<summary> <summary>
Creates a new instance of the <see cref="T:Xunit.Sdk.TrueException"/> class. Creates a new instance of the <see cref="T:Xunit.Sdk.TrueException"/> class.
</summary> </summary>
<param name="userMessage">The user message to be displayed, or null for the default message</param> <param name="userMessage">The user message to be displayed, or null for the default message</param>
<param name="value">The actual value</param>
</member> </member>
</members> </members>
</doc> </doc>

Binary file not shown.

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="SwapXunitExecutionLibs" AfterTargets="_ComputeAppxPackagePayload" BeforeTargets="_GenerateAppxManifest">
<Message Text="Swapping xUnit.net Execution Libraries" />
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.dll">
<TargetPath>xunit.execution.dll</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.pri" Condition="Exists('$(MSBuildThisFileDirectory)device\xunit.execution.pri')">
<TargetPath>xunit.execution.pri</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibsToRemove Include="@(AppxPackagePayload)" Condition="'%(TargetPath)' == 'xunit.execution.dll'"/>
<xUnitExecutionLibsToRemove Include="@(AppxPackagePayload)" Condition="'%(TargetPath)' == 'xunit.execution.pdb'"/>
<AppxPackagePayload Remove="@(xUnitExecutionLibsToRemove)" />
<AppxPackagePayload Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>

View File

@@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="SwapXunitExecutionLibs" BeforeTargets="XapPackager">
<Message Text="Swapping xUnit.net Execution Libraries" />
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.dll">
<TargetPath>xunit.execution.dll</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.pri" Condition="Exists('$(MSBuildThisFileDirectory)device\xunit.execution.pri')">
<TargetPath>xunit.execution.pri</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibsToRemove Include="@(XapFilesInputCollection)" Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('%(FullPath)', 'xunit.execution'))"/>
<XapFilesInputCollection Remove="@(xUnitExecutionLibsToRemove)" />
<XapFilesInputCollection Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="SwapXunitExecutionLibs" AfterTargets="_ComputeAppxPackagePayload" BeforeTargets="_GenerateAppxManifest">
<Message Text="Swapping xUnit.net Execution Libraries" />
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.dll">
<TargetPath>xunit.execution.dll</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)device\xunit.execution.pri" Condition="Exists('$(MSBuildThisFileDirectory)device\xunit.execution.pri')">
<TargetPath>xunit.execution.pri</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibsToRemove Include="@(AppxPackagePayload)" Condition="'%(TargetPath)' == 'xunit.execution.dll'"/>
<xUnitExecutionLibsToRemove Include="@(AppxPackagePayload)" Condition="'%(TargetPath)' == 'xunit.execution.pdb'"/>
<AppxPackagePayload Remove="@(xUnitExecutionLibsToRemove)" />
<AppxPackagePayload Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll"> <None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible> <Visible>False</Visible>
</None> </None>

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll"> <None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible> <Visible>False</Visible>
</None> </None>

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll"> <None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible> <Visible>False</Visible>
</None> </None>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)..\_Desktop\xunit.execution.desktop.dll">
<Link>xunit.execution.desktop.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)..\_Desktop\xunit.execution.desktop.dll">
<Link>xunit.execution.desktop.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="AddXunitExecutionLibs" AfterTargets="_ComputeAppxPackagePayload" BeforeTargets="_GenerateAppxManifest">
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)xunit.execution.universal.dll">
<TargetPath>xunit.execution.universal.dll</TargetPath>
</xUnitExecutionLibs>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)xunit.execution.universal.pri">
<TargetPath>xunit.execution.universal.pri</TargetPath>
</xUnitExecutionLibs>
<AppxPackagePayload Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)..\_Desktop\xunit.execution.desktop.dll">
<Link>xunit.execution.desktop.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="AddXunitExecutionLibs" AfterTargets="_ComputeAppxPackagePayload" BeforeTargets="_GenerateAppxManifest">
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)xunit.execution.win8.dll">
<TargetPath>xunit.execution.win8.dll</TargetPath>
</xUnitExecutionLibs>
<AppxPackagePayload Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

Binary file not shown.

View File

@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup> <ItemGroup>
<None Include="$(MSBuildThisFileDirectory)xunit.execution.dll"> <None Include="$(MSBuildThisFileDirectory)xunit.execution.*.dll">
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible> <Visible>False</Visible>
</None> </None>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="AddXunitExecutionLibs" BeforeTargets="XapPackager">
<ItemGroup>
<xUnitExecutionLibs Include="$(MSBuildThisFileDirectory)xunit.execution.wp8.dll">
<TargetPath>xunit.execution.wp8.dll</TargetPath>
</xUnitExecutionLibs>
<XapFilesInputCollection Include="@(xUnitExecutionLibs)" />
</ItemGroup>
</Target>
</Project>

Binary file not shown.

Binary file not shown.

View File

@@ -36,6 +36,21 @@
<member name="M:Guard.ArgumentValid(System.String,System.String,System.Boolean)"> <member name="M:Guard.ArgumentValid(System.String,System.String,System.Boolean)">
<summary/> <summary/>
</member> </member>
<member name="T:Xunit.Sdk.TestMethodDisplay">
<summary>
Indicates the default display name format for test methods.
</summary>
</member>
<member name="F:Xunit.Sdk.TestMethodDisplay.ClassAndMethod">
<summary>
Use a fully qualified name (namespace + class + method)
</summary>
</member>
<member name="F:Xunit.Sdk.TestMethodDisplay.Method">
<summary>
Use just the method name (without class)
</summary>
</member>
<member name="T:Xunit.Sdk.ArgumentFormatter"> <member name="T:Xunit.Sdk.ArgumentFormatter">
<summary> <summary>
Formats arguments for display in theories. Formats arguments for display in theories.
@@ -254,39 +269,63 @@
The member must return something compatible with IEnumerable&lt;object[]&gt; with the test data. The member must return something compatible with IEnumerable&lt;object[]&gt; with the test data.
</summary> </summary>
</member> </member>
<member name="M:Xunit.MemberDataAttribute.#ctor(System.String,System.Object[])"> <member name="T:Xunit.MemberDataAttributeBase">
<summary> <summary>
Creates a new instance of <see cref="T:Xunit.MemberDataAttribute"/>. Provides a base class for attributes that will provide member data. The member data must return
something compatible with <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
</summary>
</member>
<member name="M:Xunit.MemberDataAttributeBase.#ctor(System.String,System.Object[])">
<summary>
Initializes a new instance of the <see cref="T:Xunit.MemberDataAttributeBase"/> class.
</summary> </summary>
<param name="memberName">The name of the public static member on the test class that will provide the test data</param> <param name="memberName">The name of the public static member on the test class that will provide the test data</param>
<param name="parameters">The parameters for the member (only supported for methods; ignored for everything else)</param> <param name="parameters">The parameters for the member (only supported for methods; ignored for everything else)</param>
</member> </member>
<member name="M:Xunit.MemberDataAttribute.GetData(System.Reflection.MethodInfo)"> <member name="M:Xunit.MemberDataAttributeBase.GetData(System.Reflection.MethodInfo)">
<inheritdoc/> <inheritdoc/>
</member> </member>
<member name="P:Xunit.MemberDataAttribute.DisableDiscoveryEnumeration"> <member name="M:Xunit.MemberDataAttributeBase.ConvertDataItem(System.Reflection.MethodInfo,System.Object)">
<summary>
Converts an item yielded by the data member to an object array, for return from <see cref="M:Xunit.MemberDataAttributeBase.GetData(System.Reflection.MethodInfo)"/>.
</summary>
<param name="testMethod">The method that is being tested.</param>
<param name="item">An item yielded from the data member.</param>
<returns>An <see cref="T:object[]"/> suitable for return from <see cref="M:Xunit.MemberDataAttributeBase.GetData(System.Reflection.MethodInfo)"/>.</returns>
</member>
<member name="P:Xunit.MemberDataAttributeBase.DisableDiscoveryEnumeration">
<summary> <summary>
Returns <c>true</c> if the data attribute wants to skip enumerating data during discovery. Returns <c>true</c> if the data attribute wants to skip enumerating data during discovery.
This will cause the theory to yield a single test case for all data, and the data discovery This will cause the theory to yield a single test case for all data, and the data discovery
will be during during test execution instead of discovery. will be during test execution instead of discovery.
</summary> </summary>
</member> </member>
<member name="P:Xunit.MemberDataAttribute.MemberName"> <member name="P:Xunit.MemberDataAttributeBase.MemberName">
<summary> <summary>
Gets the member name. Gets the member name.
</summary> </summary>
</member> </member>
<member name="P:Xunit.MemberDataAttribute.MemberType"> <member name="P:Xunit.MemberDataAttributeBase.MemberType">
<summary> <summary>
Gets or sets the type to retrieve the member from. If not set, then the property will be Gets or sets the type to retrieve the member from. If not set, then the property will be
retrieved from the unit test class. retrieved from the unit test class.
</summary> </summary>
</member> </member>
<member name="P:Xunit.MemberDataAttribute.Parameters"> <member name="P:Xunit.MemberDataAttributeBase.Parameters">
<summary> <summary>
Gets or sets the parameters passed to the member. Only supported for static methods. Gets or sets the parameters passed to the member. Only supported for static methods.
</summary> </summary>
</member> </member>
<member name="M:Xunit.MemberDataAttribute.#ctor(System.String,System.Object[])">
<summary>
Initializes a new instance of the <see cref="T:Xunit.MemberDataAttribute"/> class.
</summary>
<param name="memberName">The name of the public static member on the test class that will provide the test data</param>
<param name="parameters">The parameters for the member (only supported for methods; ignored for everything else)</param>
</member>
<member name="M:Xunit.MemberDataAttribute.ConvertDataItem(System.Reflection.MethodInfo,System.Object)">
<inheritdoc/>
</member>
<member name="T:Xunit.Extensions.PropertyDataAttribute"> <member name="T:Xunit.Extensions.PropertyDataAttribute">
<summary/> <summary/>
</member> </member>
@@ -296,6 +335,39 @@
<member name="P:Xunit.Extensions.PropertyDataAttribute.PropertyType"> <member name="P:Xunit.Extensions.PropertyDataAttribute.PropertyType">
<summary/> <summary/>
</member> </member>
<member name="T:Xunit.Record">
<summary>
Allows the user to record actions for a test.
</summary>
</member>
<member name="M:Xunit.Record.Exception(System.Action)">
<summary>
Records any exception which is thrown by the given code.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Record.Exception(System.Func{System.Object})">
<summary>
Records any exception which is thrown by the given code that has
a return value. Generally used for testing property accessors.
</summary>
<param name="testCode">The code which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Record.Exception(System.Func{System.Threading.Tasks.Task})">
<summary/>
</member>
<member name="M:Xunit.Record.ExceptionAsync(System.Func{System.Threading.Tasks.Task})">
<summary>
Records any exception which is thrown by the given task.
</summary>
<param name="testCode">The task which may thrown an exception.</param>
<returns>Returns the exception that was thrown by the code; null, otherwise.</returns>
</member>
<member name="M:Xunit.Record.GuardArgumentNotNull(System.String,System.Object)">
<summary/>
</member>
<member name="T:Xunit.Sdk.BeforeAfterTestAttribute"> <member name="T:Xunit.Sdk.BeforeAfterTestAttribute">
<summary> <summary>
Base attribute which indicates a test method interception (allows code to be run before and Base attribute which indicates a test method interception (allows code to be run before and
@@ -410,6 +482,12 @@
</summary> </summary>
<param name="ex">The exception to be added.</param> <param name="ex">The exception to be added.</param>
</member> </member>
<member name="M:Xunit.Sdk.ExceptionAggregator.Aggregate(Xunit.Sdk.ExceptionAggregator)">
<summary>
Adds exceptions from another aggregator into this aggregator.
</summary>
<param name="aggregator">The aggregator whose exceptions should be copied.</param>
</member>
<member name="M:Xunit.Sdk.ExceptionAggregator.Clear"> <member name="M:Xunit.Sdk.ExceptionAggregator.Clear">
<summary> <summary>
Clears the aggregator. Clears the aggregator.
@@ -450,33 +528,22 @@
Returns <c>true</c> if the aggregator has at least one exception inside it. Returns <c>true</c> if the aggregator has at least one exception inside it.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Sdk.IMessageAggregator">
<summary>
Represents an aggregator which collects and returns messages of arbitrary types.
</summary>
</member>
<member name="M:Xunit.Sdk.IMessageAggregator.Add``1(``0)">
<summary>
Adds the specified message to the aggregation for the given type.
</summary>
<typeparam name="TMessage">The type of the message.</typeparam>
<param name="message">The message.</param>
</member>
<member name="M:Xunit.Sdk.IMessageAggregator.GetAndClear``1">
<summary>
Returns all the currently aggregated messages of the given type, and clears
the list for future iterations.
</summary>
<typeparam name="TMessage">The type of the message.</typeparam>
<returns>The aggregated messages.</returns>
</member>
<member name="T:Xunit.Sdk.IMessageBus"> <member name="T:Xunit.Sdk.IMessageBus">
<summary> <summary>
This is an internal interface, and is not intended to be called from end-user code. Used by discovery, execution, and extensibility code to send messages to the runner.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.IMessageBus.QueueMessage(Xunit.Abstractions.IMessageSinkMessage)"> <member name="M:Xunit.Sdk.IMessageBus.QueueMessage(Xunit.Abstractions.IMessageSinkMessage)">
<summary/> <summary>
Queues a message to be sent to the runner.
</summary>
<param name="message">The message to be sent to the runner</param>
<returns>
Returns <c>true</c> if discovery/execution should continue; <c>false</c>, otherwise.
The return value may be safely ignored by components which are not directly responsible
for discovery or execution, and this is intended to communicate to those sub-systems that
that they should short circuit and stop their work as quickly as is reasonable.
</returns>
</member> </member>
<member name="T:Xunit.Sdk.InlineDataDiscoverer"> <member name="T:Xunit.Sdk.InlineDataDiscoverer">
<summary> <summary>
@@ -548,10 +615,11 @@
to test methods that are attributed with <see cref="T:Xunit.FactAttribute"/> (or a subclass). to test methods that are attributed with <see cref="T:Xunit.FactAttribute"/> (or a subclass).
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.IXunitTestCaseDiscoverer.Discover(Xunit.Abstractions.ITestMethod,Xunit.Abstractions.IAttributeInfo)"> <member name="M:Xunit.Sdk.IXunitTestCaseDiscoverer.Discover(Xunit.Abstractions.ITestFrameworkDiscoveryOptions,Xunit.Abstractions.ITestMethod,Xunit.Abstractions.IAttributeInfo)">
<summary> <summary>
Discover test cases from a test method. Discover test cases from a test method.
</summary> </summary>
<param name="discoveryOptions">The discovery options to be used.</param>
<param name="testMethod">The test method the test cases belong to.</param> <param name="testMethod">The test method the test cases belong to.</param>
<param name="factAttribute">The fact attribute attached to the test method.</param> <param name="factAttribute">The fact attribute attached to the test method.</param>
<returns>Returns zero or more test cases represented by the test method.</returns> <returns>Returns zero or more test cases represented by the test method.</returns>
@@ -561,10 +629,11 @@
Represents a single test case from xUnit.net v2. Represents a single test case from xUnit.net v2.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.IXunitTestCase.RunAsync(Xunit.Sdk.IMessageBus,System.Object[],Xunit.Sdk.ExceptionAggregator,System.Threading.CancellationTokenSource)"> <member name="M:Xunit.Sdk.IXunitTestCase.RunAsync(Xunit.Abstractions.IMessageSink,Xunit.Sdk.IMessageBus,System.Object[],Xunit.Sdk.ExceptionAggregator,System.Threading.CancellationTokenSource)">
<summary> <summary>
Executes the test case, returning 0 or more result messages through the message sink. Executes the test case, returning 0 or more result messages through the message sink.
</summary> </summary>
<param name="diagnosticMessageSink">The message sink used to send diagnostic messages to.</param>
<param name="messageBus">The message bus to report results to.</param> <param name="messageBus">The message bus to report results to.</param>
<param name="constructorArguments">The arguments to pass to the constructor.</param> <param name="constructorArguments">The arguments to pass to the constructor.</param>
<param name="aggregator">The error aggregator to use for catching exception.</param> <param name="aggregator">The error aggregator to use for catching exception.</param>
@@ -581,7 +650,8 @@
<summary> <summary>
This interface is intended to be implemented by components which generate test collections. This interface is intended to be implemented by components which generate test collections.
End users specify the desired test collection factory by applying <see cref="T:Xunit.CollectionBehaviorAttribute"/> End users specify the desired test collection factory by applying <see cref="T:Xunit.CollectionBehaviorAttribute"/>
at the assembly level. at the assembly level. Classes which implement this interface must have a constructor
that takes <see cref="T:Xunit.Abstractions.ITestAssembly"/> and <see cref="T:Xunit.Abstractions.IMessageSink"/>.
</summary> </summary>
</member> </member>
<member name="M:Xunit.Sdk.IXunitTestCollectionFactory.Get(Xunit.Abstractions.ITypeInfo)"> <member name="M:Xunit.Sdk.IXunitTestCollectionFactory.Get(Xunit.Abstractions.ITypeInfo)">
@@ -597,6 +667,26 @@
user as part of the description of the test environment. user as part of the description of the test environment.
</summary> </summary>
</member> </member>
<member name="T:Xunit.Sdk.PlatformSpecificAssemblyAttribute">
<summary>
Marks an assembly as a platform specific assembly for use with xUnit.net. Type references from
such assemblies are allowed to use a special suffix ("My.Assembly.{Platform}"), which will
automatically be translated into the correct platform-specific name ("My.Assembly.desktop",
"My.Assembly.win8", etc.). This affects both extensibility points which require specifying
a string-based type name and assembly, as well as serialization. The supported platform target
names include:
"desktop" (for desktop and PCL tests),
"iOS-Universal" (for Xamarin test projects targeting iOS),
"MonoAndroid" (for Xamarin MonoAndroid tests),
"MonoTouch" (for Xamarin MonoTouch tests),
"universal" (for Windows Phone 8.1 and Windows 8.1 tests),
"win8" (for Modern Windows 8 tests), and
"wp8" (for Windows Phone 8 Silverlight tests).
Note that file names may be case sensitive (when running on platforms with case sensitive
file systems like Linux), so ensure that your assembly file name casing is consistent, and
that you use the suffixes here with the exact case shown.
</summary>
</member>
<member name="T:Xunit.Sdk.RunSummary"> <member name="T:Xunit.Sdk.RunSummary">
<summary> <summary>
Represents the statistical summary from a run of one or more tests. Represents the statistical summary from a run of one or more tests.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More