Skip to content

Commit d58400d

Browse files
committed
updated nuggets
1 parent 04b9c00 commit d58400d

File tree

67 files changed

+29055
-4686
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+29055
-4686
lines changed

ConventionTests/ConventionTests.csproj

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,21 @@
3131
<WarningLevel>4</WarningLevel>
3232
</PropertyGroup>
3333
<ItemGroup>
34-
<Reference Include="ApprovalTests">
35-
<HintPath>..\packages\ApprovalTests.1.9\lib\ApprovalTests.dll</HintPath>
34+
<Reference Include="ApprovalTests, Version=1.21.4783.39816, Culture=neutral, PublicKeyToken=11bd7d124fc62e0f, processorArchitecture=MSIL">
35+
<SpecificVersion>False</SpecificVersion>
36+
<HintPath>..\packages\ApprovalTests.2.2\lib\ApprovalTests.dll</HintPath>
3637
</Reference>
37-
<Reference Include="ApprovalUtilities">
38-
<HintPath>..\packages\ApprovalTests.1.9\lib\ApprovalUtilities.dll</HintPath>
38+
<Reference Include="ApprovalUtilities, Version=1.21.4783.25174, Culture=neutral, PublicKeyToken=11bd7d124fc62e0f, processorArchitecture=MSIL">
39+
<SpecificVersion>False</SpecificVersion>
40+
<HintPath>..\packages\ApprovalTests.2.2\lib\ApprovalUtilities.dll</HintPath>
3941
</Reference>
40-
<Reference Include="Castle.Core">
41-
<HintPath>..\packages\Castle.Core.3.0.0.4001\lib\net40-client\Castle.Core.dll</HintPath>
42+
<Reference Include="Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
43+
<SpecificVersion>False</SpecificVersion>
44+
<HintPath>..\packages\Castle.Core.3.2.0\lib\net40-client\Castle.Core.dll</HintPath>
4245
</Reference>
43-
<Reference Include="Castle.Windsor">
44-
<HintPath>..\packages\Castle.Windsor.3.0.0.4001\lib\net40\Castle.Windsor.dll</HintPath>
46+
<Reference Include="Castle.Windsor, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
47+
<SpecificVersion>False</SpecificVersion>
48+
<HintPath>..\packages\Castle.Windsor.3.2.0\lib\net40\Castle.Windsor.dll</HintPath>
4549
</Reference>
4650
<Reference Include="Microsoft.Build.Engine" />
4751
<Reference Include="Mono.Cecil">
@@ -56,8 +60,9 @@
5660
<Reference Include="Mono.Cecil.Rocks">
5761
<HintPath>..\packages\Mono.Cecil.0.9.5.4\lib\net40\Mono.Cecil.Rocks.dll</HintPath>
5862
</Reference>
59-
<Reference Include="nunit.framework">
60-
<HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
63+
<Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
64+
<SpecificVersion>False</SpecificVersion>
65+
<HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
6166
</Reference>
6267
<Reference Include="System" />
6368
<Reference Include="System.Core" />

ConventionTests/Conventions/Internal/WindsorConventionTest.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
using System;
44
using System.Collections.Generic;
55
using System.Linq;
6+
using System.Text;
67
using Castle.MicroKernel;
78
using Castle.MicroKernel.Handlers;
89
using Castle.Windsor.Diagnostics;
9-
using Castle.Windsor.Diagnostics.DebuggerViews;
1010
using Castle.Windsor.Diagnostics.Helpers;
1111

1212
public abstract class WindsorConventionTest<TDiagnostic> : WindsorConventionTest<TDiagnostic, IHandler>
@@ -39,8 +39,16 @@ public override void Execute(IAssert assert)
3939

4040
protected string MissingDependenciesDescription(IHandler var)
4141
{
42-
var item = new ComponentStatusDebuggerViewItem((IExposeDependencyInfo) var);
43-
return item.Message;
42+
var message = new StringBuilder("Some dependencies of this component could not be statically resolved.");
43+
var info = var as IExposeDependencyInfo;
44+
if (info == null)
45+
{
46+
return message.ToString();
47+
}
48+
var inspector = new DependencyInspector(message);
49+
info.ObtainDependencyDetails(inspector);
50+
51+
return inspector.Message;
4452
}
4553

4654
TDiagnosticData[] GetDataToTest(WindsorConventionData<TDiagnosticData> data)

ConventionTests/packages.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="ApprovalTests" version="1.9" />
4-
<package id="Castle.Core" version="3.0.0.4001" />
5-
<package id="Castle.Windsor" version="3.0.0.4001" />
3+
<package id="ApprovalTests" version="2.2" targetFramework="net40" />
4+
<package id="Castle.Core" version="3.2.0" targetFramework="net40" />
5+
<package id="Castle.Windsor" version="3.2.0" targetFramework="net40" />
66
<package id="Mono.Cecil" version="0.9.5.4" targetFramework="net40" />
7-
<package id="NUnit" version="2.6.0.12054" />
7+
<package id="NUnit" version="2.6.2" targetFramework="net40" />
88
</packages>
-68.9 KB
Binary file not shown.
-135 KB
Binary file not shown.
-96.5 KB
Binary file not shown.
-29 KB
Binary file not shown.
68.9 KB
Binary file not shown.
126 KB
Binary file not shown.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>ApprovalTests</id>
5+
<version>2.2</version>
6+
<title>Approval Tests</title>
7+
<authors>Llewellyn Falco &amp; Dan Gilkerson</authors>
8+
<owners>Llewellyn Falco &amp; Dan Gilkerson</owners>
9+
<projectUrl>http://approvaltests.sourceforge.net/</projectUrl>
10+
<iconUrl>http://approvaltests.sourceforge.net/sites/all/themes/corolla/logo.png</iconUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>A picture's worth a 1000 tests.
13+
Unit testing asserts can be difficult to use. Approval tests simplify this by taking a snapshot of the results, and confirming that they have not changed.</description>
14+
<language>en-US</language>
15+
<tags>unit testing</tags>
16+
</metadata>
17+
</package>

0 commit comments

Comments
 (0)