Skip to content

Commit b5c6d68

Browse files
committed
Added Mvc4 projects.
1 parent 540ece7 commit b5c6d68

File tree

8 files changed

+300
-1
lines changed

8 files changed

+300
-1
lines changed

FluentAssertionsMvc.sln

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2012
3+
# Visual Studio 2010
44
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentAssertions.Mvc3", "src\FluentAssertions.Mvc3\FluentAssertions.Mvc3.csproj", "{53589F79-0908-409A-8366-3E18DC637600}"
55
EndProject
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentAssertions.Mvc3.Tests", "tests\FluentAssertions.Mvc3.Tests\FluentAssertions.Mvc3.Tests.csproj", "{3CB00FF9-3DC2-460F-82E8-EBFB6339247D}"
@@ -9,6 +9,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "tests\test\test.csp
99
EndProject
1010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentAssertions.Mvc3.Samples", "samples\FluentAssertions.Mvc3.Samples\FluentAssertions.Mvc3.Samples.csproj", "{95B0CEBD-D9B8-4C41-A918-B13317A9AC16}"
1111
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentAssertions.Mvc4", "src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.csproj", "{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}"
13+
EndProject
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentAssertions.Mvc4.Tests", "tests\FluentAssertions.Mvc4.Tests\FluentAssertions.Mvc4.Tests.csproj", "{B9F72C07-90A8-4A15-815B-7618530CA889}"
15+
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mvc3", "Mvc3", "{4E91D524-3DC0-4E08-82FE-6FDAEB89212B}"
17+
EndProject
18+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Mvc4", "Mvc4", "{34E084BA-3DFA-4042-9B30-5C14831901B4}"
19+
EndProject
1220
Global
1321
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1422
Debug|Any CPU = Debug|Any CPU
@@ -56,8 +64,35 @@ Global
5664
{95B0CEBD-D9B8-4C41-A918-B13317A9AC16}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
5765
{95B0CEBD-D9B8-4C41-A918-B13317A9AC16}.Release|Mixed Platforms.Build.0 = Release|Any CPU
5866
{95B0CEBD-D9B8-4C41-A918-B13317A9AC16}.Release|x86.ActiveCfg = Release|Any CPU
67+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
70+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
71+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Debug|x86.ActiveCfg = Debug|Any CPU
72+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
73+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Release|Any CPU.Build.0 = Release|Any CPU
74+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
75+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
76+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}.Release|x86.ActiveCfg = Release|Any CPU
77+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
78+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Debug|Any CPU.Build.0 = Debug|Any CPU
79+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
80+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
81+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Debug|x86.ActiveCfg = Debug|Any CPU
82+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Release|Any CPU.ActiveCfg = Release|Any CPU
83+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Release|Any CPU.Build.0 = Release|Any CPU
84+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
85+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Release|Mixed Platforms.Build.0 = Release|Any CPU
86+
{B9F72C07-90A8-4A15-815B-7618530CA889}.Release|x86.ActiveCfg = Release|Any CPU
5987
EndGlobalSection
6088
GlobalSection(SolutionProperties) = preSolution
6189
HideSolutionNode = FALSE
6290
EndGlobalSection
91+
GlobalSection(NestedProjects) = preSolution
92+
{53589F79-0908-409A-8366-3E18DC637600} = {4E91D524-3DC0-4E08-82FE-6FDAEB89212B}
93+
{3CB00FF9-3DC2-460F-82E8-EBFB6339247D} = {4E91D524-3DC0-4E08-82FE-6FDAEB89212B}
94+
{95B0CEBD-D9B8-4C41-A918-B13317A9AC16} = {4E91D524-3DC0-4E08-82FE-6FDAEB89212B}
95+
{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD} = {34E084BA-3DFA-4042-9B30-5C14831901B4}
96+
{B9F72C07-90A8-4A15-815B-7618530CA889} = {34E084BA-3DFA-4042-9B30-5C14831901B4}
97+
EndGlobalSection
6398
EndGlobal

packages/repositories.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<repositories>
33
<repository path="..\samples\FluentAssertions.Mvc3.Samples\packages.config" />
44
<repository path="..\src\FluentAssertions.Mvc3\packages.config" />
5+
<repository path="..\src\FluentAssertions.Mvc4\packages.config" />
56
<repository path="..\tests\FluentAssertions.Mvc3.Tests\packages.config" />
7+
<repository path="..\tests\FluentAssertions.Mvc4.Tests\packages.config" />
68
</repositories>
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>FluentAssertions.Mvc</RootNamespace>
12+
<AssemblyName>FluentAssertions.Mvc4</AssemblyName>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="FluentAssertions">
35+
<HintPath>..\..\packages\FluentAssertions.2.0.0.1\lib\net40\FluentAssertions.dll</HintPath>
36+
</Reference>
37+
<Reference Include="System" />
38+
<Reference Include="System.Core" />
39+
<Reference Include="System.Web" />
40+
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
41+
<Reference Include="System.Xml.Linq" />
42+
<Reference Include="Microsoft.CSharp" />
43+
<Reference Include="System.Xml" />
44+
</ItemGroup>
45+
<ItemGroup>
46+
<Compile Include="..\FluentAssertions.Mvc3\ActionResultAssertions.cs">
47+
<Link>ActionResultAssertions.cs</Link>
48+
</Compile>
49+
<Compile Include="..\FluentAssertions.Mvc3\AssertionsExtensions.cs">
50+
<Link>AssertionsExtensions.cs</Link>
51+
</Compile>
52+
<Compile Include="..\FluentAssertions.Mvc3\ContentResultAssertions.cs">
53+
<Link>ContentResultAssertions.cs</Link>
54+
</Compile>
55+
<Compile Include="..\FluentAssertions.Mvc3\ControllerAssertions.cs">
56+
<Link>ControllerAssertions.cs</Link>
57+
</Compile>
58+
<Compile Include="..\FluentAssertions.Mvc3\FailureMessages.Designer.cs">
59+
<Link>FailureMessages.Designer.cs</Link>
60+
</Compile>
61+
<Compile Include="..\FluentAssertions.Mvc3\Fakes\FakeHttpContext.cs">
62+
<Link>Fakes\FakeHttpContext.cs</Link>
63+
</Compile>
64+
<Compile Include="..\FluentAssertions.Mvc3\Fakes\FakeHttpRequest.cs">
65+
<Link>Fakes\FakeHttpRequest.cs</Link>
66+
</Compile>
67+
<Compile Include="..\FluentAssertions.Mvc3\Fakes\FakeHttpResponse.cs">
68+
<Link>Fakes\FakeHttpResponse.cs</Link>
69+
</Compile>
70+
<Compile Include="..\FluentAssertions.Mvc3\PartialViewResultAssertions.cs">
71+
<Link>PartialViewResultAssertions.cs</Link>
72+
</Compile>
73+
<Compile Include="..\FluentAssertions.Mvc3\RedirectResultAssertions.cs">
74+
<Link>RedirectResultAssertions.cs</Link>
75+
</Compile>
76+
<Compile Include="..\FluentAssertions.Mvc3\RedirectToRouteAssertions.cs">
77+
<Link>RedirectToRouteAssertions.cs</Link>
78+
</Compile>
79+
<Compile Include="..\FluentAssertions.Mvc3\RouteCollection_Extensions.cs">
80+
<Link>RouteCollection_Extensions.cs</Link>
81+
</Compile>
82+
<Compile Include="..\FluentAssertions.Mvc3\RouteDataAssertions.cs">
83+
<Link>RouteDataAssertions.cs</Link>
84+
</Compile>
85+
<Compile Include="..\FluentAssertions.Mvc3\RouteValueDictionary_Extensions.cs">
86+
<Link>RouteValueDictionary_Extensions.cs</Link>
87+
</Compile>
88+
<Compile Include="..\FluentAssertions.Mvc3\ViewResultAssertions.cs">
89+
<Link>ViewResultAssertions.cs</Link>
90+
</Compile>
91+
<Compile Include="..\FluentAssertions.Mvc3\ViewResultBaseAssertions.cs">
92+
<Link>ViewResultBaseAssertions.cs</Link>
93+
</Compile>
94+
<Compile Include="..\SolutionInfo.cs">
95+
<Link>Properties\SolutionInfo.cs</Link>
96+
</Compile>
97+
<Compile Include="Properties\AssemblyInfo.cs" />
98+
</ItemGroup>
99+
<ItemGroup>
100+
<EmbeddedResource Include="..\FluentAssertions.Mvc3\FailureMessages.resx">
101+
<Link>FailureMessages.resx</Link>
102+
</EmbeddedResource>
103+
</ItemGroup>
104+
<ItemGroup>
105+
<None Include="packages.config" />
106+
</ItemGroup>
107+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
108+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
109+
Other similar extension points exist, see Microsoft.Common.targets.
110+
<Target Name="BeforeBuild">
111+
</Target>
112+
<Target Name="AfterBuild">
113+
</Target>
114+
-->
115+
</Project>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
4+
// Information about this assembly is defined by the following attributes.
5+
// Change them to the values specific to your project.
6+
7+
[assembly: AssemblyTitle("FluentAssertions.Mvc3")]
8+
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyConfiguration("")]
10+
11+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
12+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
13+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
14+
15+
// The following attributes are used to specify the signing key for the assembly,
16+
// if desired. See the Mono documentation for more information about signing.
17+
18+
//[assembly: AssemblyDelaySign(false)]
19+
//[assembly: AssemblyKeyFile("")]
20+
21+
[assembly: InternalsVisibleTo("FluentAssertions.Mvc4.Tests")]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="FluentAssertions" version="2.0.0.1" targetFramework="net40" />
4+
</packages>
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{B9F72C07-90A8-4A15-815B-7618530CA889}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>FluentAssertions.Mvc.Tests</RootNamespace>
12+
<AssemblyName>FluentAssertions.Mvc4.Tests</AssemblyName>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
</PropertyGroup>
16+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17+
<DebugSymbols>true</DebugSymbols>
18+
<DebugType>full</DebugType>
19+
<Optimize>false</Optimize>
20+
<OutputPath>bin\Debug\</OutputPath>
21+
<DefineConstants>DEBUG;TRACE</DefineConstants>
22+
<ErrorReport>prompt</ErrorReport>
23+
<WarningLevel>4</WarningLevel>
24+
</PropertyGroup>
25+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26+
<DebugType>pdbonly</DebugType>
27+
<Optimize>true</Optimize>
28+
<OutputPath>bin\Release\</OutputPath>
29+
<DefineConstants>TRACE</DefineConstants>
30+
<ErrorReport>prompt</ErrorReport>
31+
<WarningLevel>4</WarningLevel>
32+
</PropertyGroup>
33+
<ItemGroup>
34+
<Reference Include="FluentAssertions">
35+
<HintPath>..\..\packages\FluentAssertions.2.0.0.1\lib\net40\FluentAssertions.dll</HintPath>
36+
</Reference>
37+
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
38+
<SpecificVersion>False</SpecificVersion>
39+
<HintPath>..\..\lib\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
40+
</Reference>
41+
<Reference Include="System" />
42+
<Reference Include="System.Core" />
43+
<Reference Include="System.Web" />
44+
<Reference Include="System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
45+
<Reference Include="System.Xml.Linq" />
46+
<Reference Include="Microsoft.CSharp" />
47+
<Reference Include="System.Xml" />
48+
</ItemGroup>
49+
<ItemGroup>
50+
<Compile Include="..\FluentAssertions.Mvc3.Tests\ActionResultAssertions_Tests.cs">
51+
<Link>ActionResultAssertions_Tests.cs</Link>
52+
</Compile>
53+
<Compile Include="..\FluentAssertions.Mvc3.Tests\ContentResultAssertions_Tests.cs">
54+
<Link>ContentResultAssertions_Tests.cs</Link>
55+
</Compile>
56+
<Compile Include="..\FluentAssertions.Mvc3.Tests\FailureMessageHelper_Tests.cs">
57+
<Link>FailureMessageHelper_Tests.cs</Link>
58+
</Compile>
59+
<Compile Include="..\FluentAssertions.Mvc3.Tests\Fakes\FakeController.cs">
60+
<Link>Fakes\FakeController.cs</Link>
61+
</Compile>
62+
<Compile Include="..\FluentAssertions.Mvc3.Tests\Helpers\FailureMessageHelper.cs">
63+
<Link>Helpers\FailureMessageHelper.cs</Link>
64+
</Compile>
65+
<Compile Include="..\FluentAssertions.Mvc3.Tests\RedirectResultAssertions_Tests.cs">
66+
<Link>RedirectResultAssertions_Tests.cs</Link>
67+
</Compile>
68+
<Compile Include="..\FluentAssertions.Mvc3.Tests\RedirectToRoute_Tests.cs">
69+
<Link>RedirectToRoute_Tests.cs</Link>
70+
</Compile>
71+
<Compile Include="..\FluentAssertions.Mvc3.Tests\RouteDataAssertions_Tests.cs">
72+
<Link>RouteDataAssertions_Tests.cs</Link>
73+
</Compile>
74+
<Compile Include="..\FluentAssertions.Mvc3.Tests\RouteValueDictionary_Extensions_Tests.cs">
75+
<Link>RouteValueDictionary_Extensions_Tests.cs</Link>
76+
</Compile>
77+
<Compile Include="..\FluentAssertions.Mvc3.Tests\ViewResultAssertions_Tests.cs">
78+
<Link>ViewResultAssertions_Tests.cs</Link>
79+
</Compile>
80+
<Compile Include="Properties\AssemblyInfo.cs" />
81+
</ItemGroup>
82+
<ItemGroup>
83+
<ProjectReference Include="..\..\src\FluentAssertions.Mvc4\FluentAssertions.Mvc4.csproj">
84+
<Project>{B18BFBDE-02A0-4DB2-AFEA-E756C177E4AD}</Project>
85+
<Name>FluentAssertions.Mvc4</Name>
86+
</ProjectReference>
87+
</ItemGroup>
88+
<ItemGroup>
89+
<None Include="packages.config" />
90+
</ItemGroup>
91+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
92+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
93+
Other similar extension points exist, see Microsoft.Common.targets.
94+
<Target Name="BeforeBuild">
95+
</Target>
96+
<Target Name="AfterBuild">
97+
</Target>
98+
-->
99+
</Project>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
4+
// Information about this assembly is defined by the following attributes.
5+
// Change them to the values specific to your project.
6+
7+
[assembly: AssemblyTitle("FluentAssertions.Mvc4.Tests")]
8+
[assembly: AssemblyDescription("")]
9+
10+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
11+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
12+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
13+
14+
// The following attributes are used to specify the signing key for the assembly,
15+
// if desired. See the Mono documentation for more information about signing.
16+
17+
//[assembly: AssemblyDelaySign(false)]
18+
//[assembly: AssemblyKeyFile("")]
19+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="FluentAssertions" version="2.0.0.1" targetFramework="net40" />
4+
</packages>

0 commit comments

Comments
 (0)