Skip to content

Commit

Permalink
upgraded xUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
troygoode committed Sep 24, 2011
1 parent 8ed31f1 commit b3d6cfa
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 30 deletions.
32 changes: 16 additions & 16 deletions rakefile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
task :replace_package_contents_mvcmembershipmvc => :prepare_package_mvcmembershipmvc do
output_root = 'packages/MvcMembership.Mvc/content/'
Find.find output_root do |path|
#puts path
if File.file? path
#puts path
if File.file? path
text = File.read path
File.open path, 'w' do |file|
file.puts text.gsub /SampleWebsite\.Mvc3/, '$rootnamespace$'
Expand All @@ -100,23 +100,23 @@
end

exec :package_mvcmembership => :prepare_package_mvcmembership do |cmd|
cmd.command = 'nuget'
cmd.parameters [
'pack',
'./packages/MvcMembership/MvcMembership.nuspec',
'-OutputDirectory',
'./packages/'
]
cmd.command = 'nuget'
cmd.parameters [
'pack',
'./packages/MvcMembership/MvcMembership.nuspec',
'-OutputDirectory',
'./packages/'
]
end

exec :package_mvcmembershipmvc => :replace_package_contents_mvcmembershipmvc do |cmd|
cmd.command = 'nuget'
cmd.parameters [
'pack',
'./packages/MvcMembership.Mvc/MvcMembership.Mvc.nuspec',
'-OutputDirectory',
'./packages/'
]
cmd.command = 'nuget'
cmd.parameters [
'pack',
'./packages/MvcMembership.Mvc/MvcMembership.Mvc.nuspec',
'-OutputDirectory',
'./packages/'
]
end

task :package => [:package_mvcmembership, :package_mvcmembershipmvc] do
Expand Down
8 changes: 4 additions & 4 deletions src/MvcMembership.Tests/MvcMembership.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@
<Reference Include="System.Web" />
<Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.Xml" />
<Reference Include="xunit, Version=1.8.0.1545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<Reference Include="xunit, Version=1.8.0.1549, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.1.8.0.1545\lib\xunit.dll</HintPath>
<HintPath>..\packages\xunit.1.8.0.1549\lib\xunit.dll</HintPath>
</Reference>
<Reference Include="xunit.extensions, Version=1.8.0.1545, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<Reference Include="xunit.extensions, Version=1.8.0.1549, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensions.1.8.0.1545\lib\xunit.extensions.dll</HintPath>
<HintPath>..\packages\xunit.extensions.1.8.0.1549\lib\xunit.extensions.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/MvcMembership.Tests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<packages>
<package id="Moq" version="4.0.10827" />
<package id="PagedList" version="1.10" />
<package id="xunit" version="1.8.0.1545" />
<package id="xunit.extensions" version="1.8.0.1545" />
<package id="xunit" version="1.8.0.1549" />
<package id="xunit.extensions" version="1.8.0.1549" />
</packages>
10 changes: 6 additions & 4 deletions src/SampleWebsite.Mvc3.Tests/SampleWebsite.Mvc3.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="xunit">
<HintPath>..\packages\xunit.1.8.0.1545\lib\xunit.dll</HintPath>
<Reference Include="xunit, Version=1.8.0.1549, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.1.8.0.1549\lib\xunit.dll</HintPath>
</Reference>
<Reference Include="xunit.extensions">
<HintPath>..\packages\xunit.extensions.1.8.0.1545\lib\xunit.extensions.dll</HintPath>
<Reference Include="xunit.extensions, Version=1.8.0.1549, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\xunit.extensions.1.8.0.1549\lib\xunit.extensions.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/SampleWebsite.Mvc3.Tests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<packages>
<package id="Moq" version="4.0.10827" />
<package id="PagedList" version="1.10" />
<package id="xunit" version="1.8.0.1545" />
<package id="xunit.extensions" version="1.8.0.1545" />
<package id="xunit" version="1.8.0.1549" />
<package id="xunit.extensions" version="1.8.0.1549" />
</packages>
Binary file removed src/packages/xunit.1.8.0.1545/xunit.1.8.0.1545.nupkg
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions src/packages/xunit.1.8.0.1549/lib/xunit.dll.tdnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<TestRunner>
<FriendlyName>xUnit.net {0}.{1}.{2} build {3}</FriendlyName>
<AssemblyPath>xunit.runner.tdnet.dll</AssemblyPath>
<TypeName>Xunit.Runner.TdNet.TdNetRunner</TypeName>
</TestRunner>
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit b3d6cfa

Please sign in to comment.