Skip to content

Commit

Permalink
Updated all packages used during testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisdoomen committed Feb 8, 2018
1 parent 107050e commit d20605b
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 26 deletions.
5 changes: 5 additions & 0 deletions LiquidProjections.sln.DotSettings
Expand Up @@ -6,6 +6,7 @@
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_FOREACH/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_IFELSE/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/BRACES_FOR_WHILE/@EntryValue">Required</s:String>
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_ACCESSORHOLDER_ATTRIBUTE_ON_SAME_LINE_EX/@EntryValue">NEVER</s:String>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_SIMPLE_ANONYMOUSMETHOD_ON_SINGLE_LINE/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_WHILE_ON_NEW_LINE/@EntryValue">True</s:Boolean>
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_LIMIT/@EntryValue">130</s:Int64>
Expand Down Expand Up @@ -52,7 +53,11 @@
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/UserRules/=XAML_005FFIELD/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
<s:String x:Key="/Default/CodeStyle/Naming/XamlNaming/UserRules/=XAML_005FRESOURCE/@EntryIndexedValue">&lt;Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /&gt;</s:String>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpAttributeForSingleLineMethodUpgrade/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpRenamePlacementToArrangementMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EAddAccessorOwnerDeclarationBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002ECSharpPlaceAttributeOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateThisQualifierSettings/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/UnitTesting/DisabledProviders/=MSTest/@EntryIndexedValue">True</s:Boolean>
Expand Down
2 changes: 2 additions & 0 deletions Tests/LiquidProjections.Specs/DispatcherSpecs.cs
Expand Up @@ -8,6 +8,7 @@
using Chill;

using FluentAssertions;
using FluentAssertions.Extensions;
using LiquidProjections.Abstractions;
using LiquidProjections.Logging;
using LiquidProjections.Testing;
Expand Down Expand Up @@ -69,6 +70,7 @@ public void It_should_include_the_exception()
The<FakeLogProvider>().Exception.Should().Be(The<ProjectionException>());
}
}

public class When_a_projector_throws_an_exception_but_requires_retrying : GivenSubject<Dispatcher>
{
private int attempts;
Expand Down
4 changes: 2 additions & 2 deletions Tests/LiquidProjections.Specs/EventMapSpecs.cs
Expand Up @@ -719,7 +719,7 @@ public When_multiple_conditions_are_registered()
[Fact]
public void It_should_allow_all_of_them()
{
action.ShouldNotThrow();
action.Should().NotThrow();
}
}

Expand Down Expand Up @@ -959,7 +959,7 @@ public When_multiple_conditions_are_registered_on_a_projection()
[Fact]
public void It_should_allow_all_of_them()
{
action.ShouldNotThrow();
action.Should().NotThrow();
}
}

Expand Down
27 changes: 16 additions & 11 deletions Tests/LiquidProjections.Specs/LiquidProjections.Specs.csproj
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\..\packages\xunit.core.2.3.1\build\xunit.core.props" Condition="Exists('..\..\packages\xunit.core.2.3.1\build\xunit.core.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -34,14 +35,14 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<Reference Include="Chill, Version=3.0.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\packages\Chill.3.0.1\lib\net45\Chill.dll</HintPath>
<Reference Include="Chill, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\..\packages\Chill.3.2.0\lib\net45\Chill.dll</HintPath>
</Reference>
<Reference Include="FluentAssertions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a, processorArchitecture=MSIL">
<HintPath>..\..\packages\FluentAssertions.5.0.0-beta0001\lib\net451\FluentAssertions.dll</HintPath>
<Reference Include="FluentAssertions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a">
<HintPath>..\..\packages\FluentAssertions.5.0.0\lib\net45\FluentAssertions.dll</HintPath>
</Reference>
<Reference Include="FluentAssertions.Json, Version=5.0.0.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a">
<HintPath>..\..\packages\FluentAssertions.Json.5.0.0-beta0003\lib\net451\FluentAssertions.Json.dll</HintPath>
<HintPath>..\..\packages\FluentAssertions.Json.5.0.0\lib\net451\FluentAssertions.Json.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Owin, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Owin.3.1.0\lib\net45\Microsoft.Owin.dll</HintPath>
Expand All @@ -57,6 +58,9 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51">
<HintPath>..\..\packages\System.ValueTuple.4.3.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
Expand All @@ -66,14 +70,14 @@
<Reference Include="xunit.abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.abstractions.2.0.1\lib\net35\xunit.abstractions.dll</HintPath>
</Reference>
<Reference Include="xunit.assert, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.assert.2.2.0\lib\netstandard1.1\xunit.assert.dll</HintPath>
<Reference Include="xunit.assert, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c">
<HintPath>..\..\packages\xunit.assert.2.3.1\lib\netstandard1.1\xunit.assert.dll</HintPath>
</Reference>
<Reference Include="xunit.core, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.extensibility.core.2.2.0\lib\netstandard1.1\xunit.core.dll</HintPath>
<Reference Include="xunit.core, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c">
<HintPath>..\..\packages\xunit.extensibility.core.2.3.1\lib\netstandard1.1\xunit.core.dll</HintPath>
</Reference>
<Reference Include="xunit.execution.desktop, Version=2.2.0.3545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<HintPath>..\..\packages\xunit.extensibility.execution.2.2.0\lib\net452\xunit.execution.desktop.dll</HintPath>
<Reference Include="xunit.execution.desktop, Version=2.3.1.3858, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c">
<HintPath>..\..\packages\xunit.extensibility.execution.2.3.1\lib\net452\xunit.execution.desktop.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -113,6 +117,7 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\..\packages\xunit.core.2.3.1\build\xunit.core.targets" Condition="Exists('..\..\packages\xunit.core.2.3.1\build\xunit.core.targets')" />
<!-- 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.
<Target Name="BeforeBuild">
Expand Down
1 change: 1 addition & 0 deletions Tests/LiquidProjections.Specs/ProjectionStatsSpecs.cs
@@ -1,5 +1,6 @@
using System;
using FluentAssertions;
using FluentAssertions.Extensions;
using LiquidProjections.Statistics;
using Xunit;

Expand Down
3 changes: 2 additions & 1 deletion Tests/LiquidProjections.Specs/ProjectorSpecs.cs
Expand Up @@ -3,6 +3,7 @@
using System.Threading.Tasks;
using Chill;
using FluentAssertions;
using FluentAssertions.Extensions;
using LiquidProjections.Abstractions;
using LiquidProjections.Testing;
using Xunit;
Expand Down Expand Up @@ -143,7 +144,7 @@ public When_an_event_is_not_mapped_at_all()
[Fact]
public void Then_it_should_not_fail()
{
WhenAction.ShouldNotThrow();
WhenAction.Should().NotThrow();
}
}

Expand Down
9 changes: 5 additions & 4 deletions Tests/LiquidProjections.Specs/StatisticsHttpApiSpecs.cs
Expand Up @@ -4,6 +4,7 @@
using System.Threading.Tasks;
using Chill;
using FluentAssertions;
using FluentAssertions.Extensions;
using FluentAssertions.Json;
using LiquidProjections.Owin;
using LiquidProjections.Statistics;
Expand Down Expand Up @@ -50,7 +51,7 @@ public async Task Then_it_should_provide_a_list_of_all_projectors()
{
var jtoken = JToken.Parse(await Result.Content.ReadAsStringAsync());

jtoken.Should().Be(JToken.Parse(@"
jtoken.Should().BeEquivalentTo(JToken.Parse(@"
[
{
""projectorId"": ""id1"",
Expand Down Expand Up @@ -101,7 +102,7 @@ public async Task Then_it_should_return_the_last_checkpoint_and_properties()
{
var jtoken = JToken.Parse(await Result.Content.ReadAsStringAsync());

jtoken.Should().Be(JToken.Parse(@"
jtoken.Should().BeEquivalentTo(JToken.Parse(@"
{
""projectorId"": ""id1"",
""lastCheckpoint"": 1000,
Expand Down Expand Up @@ -145,7 +146,7 @@ public async Task Then_it_should_return_some_default_information()
{
var jtoken = JToken.Parse(await Result.Content.ReadAsStringAsync());

jtoken.Should().Be(JToken.Parse(@"
jtoken.Should().BeEquivalentTo(JToken.Parse(@"
{
""projectorId"": ""unknown"",
""lastCheckpoint"": 0,
Expand Down Expand Up @@ -187,7 +188,7 @@ public async Task Then_it_should_return_the_last_checkpoint_and_properties()
{
var jtoken = JToken.Parse(await Result.Content.ReadAsStringAsync());

jtoken.Should().Be(JToken.Parse(@"
jtoken.Should().BeEquivalentTo(JToken.Parse(@"
{
""projectorId"": ""id1"",
""events"": [{
Expand Down
18 changes: 10 additions & 8 deletions Tests/LiquidProjections.Specs/packages.config
@@ -1,16 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Chill" version="3.0.1" targetFramework="net452" />
<package id="FluentAssertions" version="5.0.0-beta0001" targetFramework="net452" />
<package id="FluentAssertions.Json" version="5.0.0-beta0003" targetFramework="net452" />
<package id="Chill" version="3.2.0" targetFramework="net452" />
<package id="FluentAssertions" version="5.0.0" targetFramework="net452" />
<package id="FluentAssertions.Json" version="5.0.0" targetFramework="net452" />
<package id="Microsoft.Owin" version="3.1.0" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
<package id="Owin" version="1.0" targetFramework="net452" />
<package id="OwinHttpMessageHandler" version="1.3.8" targetFramework="net452" />
<package id="xunit" version="2.2.0" targetFramework="net452" />
<package id="System.ValueTuple" version="4.3.0" targetFramework="net452" />
<package id="xunit" version="2.3.1" targetFramework="net452" />
<package id="xunit.abstractions" version="2.0.1" targetFramework="net452" />
<package id="xunit.assert" version="2.2.0" targetFramework="net452" />
<package id="xunit.core" version="2.2.0" targetFramework="net452" />
<package id="xunit.extensibility.core" version="2.2.0" targetFramework="net452" />
<package id="xunit.extensibility.execution" version="2.2.0" targetFramework="net452" />
<package id="xunit.analyzers" version="0.8.0" targetFramework="net452" />
<package id="xunit.assert" version="2.3.1" targetFramework="net452" />
<package id="xunit.core" version="2.3.1" targetFramework="net452" />
<package id="xunit.extensibility.core" version="2.3.1" targetFramework="net452" />
<package id="xunit.extensibility.execution" version="2.3.1" targetFramework="net452" />
</packages>

0 comments on commit d20605b

Please sign in to comment.