Permalink
Browse files

Removing subversion, nbehave and ilmerge; Updated Nuget

  • Loading branch information...
1 parent 14e3b1f commit c199591231be29fddf1ab28f78c2b9c6b9b8b634 @jbogard jbogard committed Sep 3, 2011
Showing with 39 additions and 52,899 deletions.
  1. +0 −6 AutoMapper.exclude
  2. +8 −41 default.ps1
  3. +2 −3 src/AutoMapper.sln
  4. +1 −1 src/AutoMapperSamples/AdvancedMappers/DynamicMapping.cs
  5. +1 −1 src/AutoMapperSamples/AdvancedMappers/Interfaces.cs
  6. +1 −1 src/AutoMapperSamples/AdvancedMappers/MapToExistingObjects.cs
  7. +3 −8 src/AutoMapperSamples/AutoMapperSamples.csproj
  8. +1 −1 src/AutoMapperSamples/CommonBaseClassConfiguration.cs
  9. +1 −1 src/AutoMapperSamples/Configuration/Profiles.cs
  10. +1 −1 src/AutoMapperSamples/CustomValueResolvers.cs
  11. +1 −1 src/AutoMapperSamples/Flattening.cs
  12. +1 −1 src/AutoMapperSamples/GlobalTypeConverters.cs
  13. +4 −4 src/AutoMapperSamples/InversionOfControl.cs
  14. +1 −1 src/AutoMapperSamples/Mappers/Arrays.cs
  15. +1 −1 src/AutoMapperSamples/Mappers/AssignableTypes.cs
  16. +1 −1 src/AutoMapperSamples/Mappers/Dictionaries.cs
  17. +2 −2 src/AutoMapperSamples/Mappers/Enumerations.cs
  18. +1 −1 src/AutoMapperSamples/Mappers/IListSources.cs
  19. +4 −4 src/AutoMapperSamples/Mappers/Lists.cs
  20. +1 −1 src/AutoMapperSamples/Mappers/Strings.cs
  21. +1 −1 src/AutoMapperSamples/NestedMappings.cs
  22. +1 −1 src/AutoMapperSamples/Projection.cs
  23. +1 −1 src/CommonAssemblyInfo.cs
  24. +0 −104 tools/ILMerge/ILMerge License.rtf
  25. BIN tools/ILMerge/ILMerge.doc
  26. BIN tools/ILMerge/ILMerge.exe
  27. BIN tools/NuGet.exe
  28. BIN tools/nant/CollectionGen.dll
  29. +0 −7 tools/nant/GenerateNAntSchema.build
  30. BIN tools/nant/Interop.MsmMergeTypeLib.dll
  31. BIN tools/nant/Interop.StarTeam.dll
  32. BIN tools/nant/Interop.WindowsInstaller.dll
  33. BIN tools/nant/MSITaskErrors.mst
  34. BIN tools/nant/MSITaskTemplate.msi
  35. BIN tools/nant/MSMTaskErrors.mst
  36. BIN tools/nant/MSMTaskTemplate.msm
  37. BIN tools/nant/NAnt.CompressionTasks.dll
  38. +0 −615 tools/nant/NAnt.CompressionTasks.xml
  39. BIN tools/nant/NAnt.Contrib.Tasks.dll
  40. +0 −18,933 tools/nant/NAnt.Contrib.Tasks.xml
  41. BIN tools/nant/NAnt.Core.dll
  42. +0 −15,577 tools/nant/NAnt.Core.xml
  43. BIN tools/nant/NAnt.DotNetTasks.dll
  44. +0 −5,318 tools/nant/NAnt.DotNetTasks.xml
  45. BIN tools/nant/NAnt.MSNetTasks.dll
  46. +0 −579 tools/nant/NAnt.MSNetTasks.xml
  47. BIN tools/nant/NAnt.NUnit.dll
  48. +0 −353 tools/nant/NAnt.NUnit.xml
  49. BIN tools/nant/NAnt.NUnit1Tasks.dll
  50. +0 −538 tools/nant/NAnt.NUnit1Tasks.xml
  51. BIN tools/nant/NAnt.NUnit2Tasks.dll
  52. +0 −568 tools/nant/NAnt.NUnit2Tasks.xml
  53. BIN tools/nant/NAnt.SourceControlTasks.dll
  54. +0 −1,283 tools/nant/NAnt.SourceControlTasks.xml
  55. BIN tools/nant/NAnt.VSNetTasks.dll
  56. +0 −3,912 tools/nant/NAnt.VSNetTasks.xml
  57. BIN tools/nant/NAnt.VisualCppTasks.dll
  58. +0 −1,205 tools/nant/NAnt.VisualCppTasks.xml
  59. BIN tools/nant/NAnt.Win32Tasks.dll
  60. +0 −690 tools/nant/NAnt.Win32Tasks.xml
  61. BIN tools/nant/NAnt.exe
  62. +0 −1,918 tools/nant/NAnt.exe.config
  63. +0 −78 tools/nant/NAnt.xml
  64. BIN tools/nant/NDoc.Documenter.NAnt.dll
  65. BIN tools/nant/SLiNgshoT.Core.dll
  66. BIN tools/nant/SLiNgshoT.exe
  67. BIN tools/nant/SourceSafe.Interop.dll
  68. BIN tools/nant/extensions/common/2.0/NAnt.MSBuild.dll
  69. +0 −37 tools/nant/extensions/common/2.0/NAnt.MSBuild.xml
  70. BIN tools/nant/lib/ICSharpCode.SharpCvsLib.Console.dll
  71. BIN tools/nant/lib/ICSharpCode.SharpCvsLib.dll
  72. BIN tools/nant/lib/ICSharpCode.SharpZipLib.dll
  73. BIN tools/nant/lib/NUnitCore.dll
  74. BIN tools/nant/lib/mono/1.0/NDoc.Core.dll
  75. BIN tools/nant/lib/mono/1.0/NDoc.Documenter.Msdn.dll
  76. BIN tools/nant/lib/mono/1.0/NDoc.ExtendedUI.dll
  77. BIN tools/nant/lib/mono/1.0/nunit.core.dll
  78. BIN tools/nant/lib/mono/1.0/nunit.framework.dll
  79. BIN tools/nant/lib/mono/1.0/nunit.util.dll
  80. BIN tools/nant/lib/mono/2.0/NDoc.Core.dll
  81. BIN tools/nant/lib/mono/2.0/NDoc.Documenter.Msdn.dll
  82. BIN tools/nant/lib/mono/2.0/NDoc.ExtendedUI.dll
  83. BIN tools/nant/lib/mono/2.0/nunit.core.dll
  84. BIN tools/nant/lib/mono/2.0/nunit.framework.dll
  85. BIN tools/nant/lib/mono/2.0/nunit.util.dll
  86. BIN tools/nant/lib/net/1.0/NDoc.Core.dll
  87. BIN tools/nant/lib/net/1.0/NDoc.Documenter.Msdn.dll
  88. BIN tools/nant/lib/net/1.0/NDoc.ExtendedUI.dll
  89. BIN tools/nant/lib/net/1.0/nunit.core.dll
  90. BIN tools/nant/lib/net/1.0/nunit.framework.dll
  91. BIN tools/nant/lib/net/1.0/nunit.util.dll
  92. BIN tools/nant/lib/net/1.1/NDoc.Core.dll
  93. BIN tools/nant/lib/net/1.1/NDoc.Documenter.Msdn.dll
  94. BIN tools/nant/lib/net/1.1/NDoc.ExtendedUI.dll
  95. BIN tools/nant/lib/net/1.1/nunit.core.dll
  96. BIN tools/nant/lib/net/1.1/nunit.framework.dll
  97. BIN tools/nant/lib/net/1.1/nunit.util.dll
  98. BIN tools/nant/lib/net/2.0/NDoc.Core.dll
  99. BIN tools/nant/lib/net/2.0/NDoc.Documenter.Msdn.dll
  100. BIN tools/nant/lib/net/2.0/NDoc.ExtendedUI.dll
  101. BIN tools/nant/lib/net/2.0/nunit.core.dll
  102. BIN tools/nant/lib/net/2.0/nunit.framework.dll
  103. BIN tools/nant/lib/net/2.0/nunit.util.dll
  104. +0 −81 tools/nant/license.html
  105. BIN tools/nant/log4net.dll
  106. BIN tools/nant/scvs.exe
  107. BIN tools/nbehave/NBehave-Console.exe
  108. BIN tools/nbehave/NBehave.MSBuild.dll
  109. BIN tools/nbehave/NBehave.NAnt.dll
  110. BIN tools/nbehave/NBehave.Narrator.Framework.dll
  111. BIN tools/nbehave/NBehave.Spec.Framework.dll
  112. BIN tools/nbehave/NBehave.Spec.MSTest.dll
  113. BIN tools/nbehave/NBehave.Spec.MbUnit.dll
  114. BIN tools/nbehave/NBehave.Spec.NUnit.dll
  115. BIN tools/nbehave/NBehave.Spec.Xunit.dll
  116. BIN tools/nbehave/NBehave.TestDriven.Plugin.dll
  117. BIN tools/subversion/intl3_svn.dll
  118. BIN tools/subversion/libapr-1.dll
  119. BIN tools/subversion/libapr.dll
  120. BIN tools/subversion/libapriconv-1.dll
  121. BIN tools/subversion/libapriconv.dll
  122. BIN tools/subversion/libaprutil-1.dll
  123. BIN tools/subversion/libaprutil.dll
  124. BIN tools/subversion/libdb41.dll
  125. BIN tools/subversion/libdb44.dll
  126. BIN tools/subversion/libeay32.dll
  127. BIN tools/subversion/libhttpd.dll
  128. BIN tools/subversion/libsasl.dll
  129. BIN tools/subversion/libsvn_client-1.dll
  130. BIN tools/subversion/libsvn_delta-1.dll
  131. BIN tools/subversion/libsvn_diff-1.dll
  132. BIN tools/subversion/libsvn_fs-1.dll
  133. BIN tools/subversion/libsvn_ra-1.dll
  134. BIN tools/subversion/libsvn_repos-1.dll
  135. BIN tools/subversion/libsvn_subr-1.dll
  136. BIN tools/subversion/libsvn_wc-1.dll
  137. BIN tools/subversion/libsvnjavahl-1.dll
  138. +0 −297 tools/subversion/license/APR_and_Serf.license
  139. +0 −44 tools/subversion/license/CyrusSASL.license
  140. +0 −504 tools/subversion/license/Neon.license
  141. +0 −127 tools/subversion/license/OpenSSL.license
  142. +0 −47 tools/subversion/license/Subversion.license
  143. BIN tools/subversion/openssl.exe
  144. BIN tools/subversion/pluginviewer.exe
  145. BIN tools/subversion/saslANONYMOUS.dll
  146. BIN tools/subversion/saslCRAMMD5.dll
  147. BIN tools/subversion/saslDIGESTMD5.dll
  148. BIN tools/subversion/saslLOGIN.dll
  149. BIN tools/subversion/saslNTLM.dll
  150. BIN tools/subversion/saslPLAIN.dll
  151. BIN tools/subversion/saslSASLDB.dll
  152. BIN tools/subversion/sasldblistusers2.exe
  153. BIN tools/subversion/saslpasswd2.exe
  154. BIN tools/subversion/ssleay32.dll
  155. BIN tools/subversion/ssleay32.dll.tmp
  156. BIN tools/subversion/svn-populate-node-origins-index.exe
  157. BIN tools/subversion/svn-push.exe
  158. BIN tools/subversion/svn.exe
  159. BIN tools/subversion/svnadmin.exe
  160. BIN tools/subversion/svnauthz-validate.exe
  161. BIN tools/subversion/svndumpfilter.exe
  162. BIN tools/subversion/svnlook.exe
  163. BIN tools/subversion/svnmucc.exe
  164. BIN tools/subversion/svnserve.exe
  165. BIN tools/subversion/svnsync.exe
  166. BIN tools/subversion/svnversion.exe
  167. BIN tools/subversion/uninst.exe
View
@@ -1,6 +0,0 @@
-Castle.Core.Interceptor.IInvocation
-Castle.Core.Interceptor.IInterceptor
-Castle.Core.Interceptor.IProxyTargetAccessor
-Castle.DynamicProxy.CompositionInvocation
-Castle.DynamicProxy.AbstractInvocation
-Castle.DynamicProxy.Generators.AttributesToAvoidReplicating
View
@@ -18,8 +18,8 @@ properties {
task default -depends local
task local -depends compile, test
-task full -depends local, merge, dist
-task ci -depends clean, release, commonAssemblyInfo, local, merge, dist
+task full -depends local, dist
+task ci -depends clean, release, commonAssemblyInfo, local, dist
task clean {
delete_directory "$build_dir"
@@ -39,27 +39,17 @@ task commonAssemblyInfo {
create-commonAssemblyInfo "$buildNumber" "$commit" "$source_dir\CommonAssemblyInfo.cs"
}
-task merge {
- create_directory "$build_dir\merge"
- exec { & $tools_dir\ILMerge\ilmerge.exe /targetplatform:"v4,$framework_dir" /log /out:"$build_dir\merge\AutoMapper.dll" /internalize:AutoMapper.exclude "$build_dir\$config\AutoMapper\AutoMapper.dll" "$build_dir\$config\AutoMapper\Castle.Core.dll" /keyfile:"$source_dir\AutoMapper.snk" }
-}
-
task test {
create_directory "$build_dir\results"
exec { & $tools_dir\nunit\nunit-console-x86.exe $build_dir/$config/UnitTests/AutoMapper.UnitTests.dll /nologo /nodots /xml=$result_dir\AutoMapper.xml }
}
task dist {
create_directory $dist_dir
- copy_files "$build_dir\merge" "$build_dir\dist-merged"
- copy_files "$build_dir\$config\AutoMapper" "$build_dir\dist"
- zip_directory "$build_dir\dist" "$dist_dir\AutoMapper-unmerged.zip"
- copy-item "$build_dir\dist-merged\AutoMapper.dll" "$dist_dir"
- create-merged-nuspec "$buildNumber"
- create-unmerged-nuspec "$buildNumber"
+ copy_files "$build_dir\$config\AutoMapper" "$dist_dir"
+ create-nuspec "$buildNumber"
exec { & $tools_dir\NuGet.exe pack $build_dir\AutoMapper.nuspec -Symbols }
- exec { & $tools_dir\NuGet.exe pack $build_dir\AutoMapper.UnMerged.nuspec -Symbols }
move-item "*.nupkg" "$dist_dir"
}
@@ -134,7 +124,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyInformationalVersionAttribute(""$version"")]" | out-file $filename -encoding "ASCII"
}
-function global:create-merged-nuspec()
+function global:create-nuspec()
{
"<?xml version=""1.0""?>
<package xmlns=""http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"">
@@ -150,33 +140,10 @@ function global:create-merged-nuspec()
<description>A convention-based object-object mapper. AutoMapper uses a fluent configuration API to define an object-object mapping strategy. AutoMapper uses a convention-based matching algorithm to match up source to destination values. Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.</description>
</metadata>
<files>
- <file src=""$build_dir\dist-merged\AutoMapper.dll"" target=""lib"" />
- <file src=""$build_dir\dist-merged\AutoMapper.pdb"" target=""lib"" />
+ <file src=""$dist_dir\AutoMapper.dll"" target=""lib"" />
+ <file src=""$dist_dir\AutoMapper.pdb"" target=""lib"" />
+ <file src=""$dist_dir\AutoMapper.xml"" target=""lib"" />
</files>
</package>" | out-file $build_dir\AutoMapper.nuspec -encoding "ASCII"
}
-function global:create-unmerged-nuspec()
-{
- "<?xml version=""1.0""?>
-<package xmlns=""http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"">
- <metadata>
- <id>AutoMapper.UnMerged</id>
- <version>$version</version>
- <authors>Jimmy Bogard</authors>
- <owners>Jimmy Bogard</owners>
- <licenseUrl>http://automapper.codeplex.com/license</licenseUrl>
- <projectUrl>http://automapper.codeplex.com</projectUrl>
- <iconUrl>https://s3.amazonaws.com/automapper/icon.png</iconUrl>
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
- <description>A convention-based object-object mapper. AutoMapper uses a fluent configuration API to define an object-object mapping strategy. AutoMapper uses a convention-based matching algorithm to match up source to destination values. Currently, AutoMapper is geared towards model projection scenarios to flatten complex object models to DTOs and other simple objects, whose design is better suited for serialization, communication, messaging, or simply an anti-corruption layer between the domain and application layer.</description>
- <dependencies>
- <dependency id=""Castle.Core"" version=""2.5.1"" />
- </dependencies>
- </metadata>
- <files>
- <file src=""$build_dir\dist\AutoMapper.dll"" target=""lib"" />
- <file src=""$build_dir\dist\AutoMapper.pdb"" target=""lib"" />
- </files>
-</package>" | out-file $build_dir\AutoMapper.UnMerged.nuspec -encoding "ASCII"
-}
View
@@ -2,7 +2,6 @@ Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0691ABF2-B3C7-43BF-9862-2D8D1299CE58}"
ProjectSection(SolutionItems) = preProject
- ..\AutoMapper.exclude = ..\AutoMapper.exclude
..\default.ps1 = ..\default.ps1
..\psake.bat = ..\psake.bat
EndProjectSection
@@ -61,9 +60,9 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {DDF551F9-B27D-4283-BFA0-E7068E05967D} = {C1930F52-C66E-4E56-B7DB-FD42E497FFF0}
- {002075C5-6517-4794-BC99-9B17B9E884E7} = {1BCC7A00-6382-4891-936A-F164614D26A4}
{B8051389-CB47-46FB-B234-9D49506704AA} = {1BCC7A00-6382-4891-936A-F164614D26A4}
+ {002075C5-6517-4794-BC99-9B17B9E884E7} = {1BCC7A00-6382-4891-936A-F164614D26A4}
+ {DDF551F9-B27D-4283-BFA0-E7068E05967D} = {C1930F52-C66E-4E56-B7DB-FD42E497FFF0}
{277C689D-B1C1-43EA-B20D-C1155C4B2EA7} = {B84E9CD3-2DDB-47FA-84BE-732EBF2F46CD}
EndGlobalSection
EndGlobal
@@ -1,5 +1,5 @@
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples
@@ -1,6 +1,6 @@
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples
{
@@ -1,6 +1,6 @@
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples
{
@@ -53,18 +53,13 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
- <Reference Include="NBehave.Spec.Framework, Version=0.4.0.0, Culture=neutral, PublicKeyToken=d421feca0f4a05f6, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\NBehave.Spec.Framework.dll</HintPath>
- </Reference>
- <Reference Include="NBehave.Spec.NUnit, Version=0.4.0.0, Culture=neutral, PublicKeyToken=d421feca0f4a05f6, processorArchitecture=MSIL">
- <SpecificVersion>False</SpecificVersion>
- <HintPath>..\..\lib\NBehave.Spec.NUnit.dll</HintPath>
- </Reference>
<Reference Include="nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\nunit.framework.dll</HintPath>
</Reference>
+ <Reference Include="Should">
+ <HintPath>..\..\lib\Should.dll</HintPath>
+ </Reference>
<Reference Include="StructureMap, Version=2.5.3.0, Culture=neutral, PublicKeyToken=e60ad81abae3c223, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\StructureMap\StructureMap.dll</HintPath>
@@ -1,5 +1,5 @@
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples
@@ -1,7 +1,7 @@
using System;
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples.Configuration
{
@@ -1,5 +1,5 @@
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples
@@ -2,7 +2,7 @@
using System.Linq;
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples
{
@@ -3,7 +3,7 @@
using System.Reflection;
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples
{
@@ -4,7 +4,7 @@
using NUnit.Framework;
using StructureMap;
using StructureMap.Attributes;
-using NBehave.Spec.NUnit;
+using Should;
using StructureMap.Configuration.DSL;
namespace AutoMapperSamples
@@ -34,13 +34,13 @@ public void Example()
var configuration1 = ObjectFactory.GetInstance<IConfiguration>();
var configuration2 = ObjectFactory.GetInstance<IConfiguration>();
- configuration1.ShouldBeTheSameAs(configuration2);
+ configuration1.ShouldBeSameAs(configuration2);
var configurationProvider = ObjectFactory.GetInstance<IConfigurationProvider>();
- configurationProvider.ShouldBeTheSameAs(configuration1);
+ configurationProvider.ShouldBeSameAs(configuration1);
var configuration = ObjectFactory.GetInstance<ConfigurationStore>();
- configuration.ShouldBeTheSameAs(configuration1);
+ configuration.ShouldBeSameAs(configuration1);
configuration1.CreateMap<Source, Destination>();
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -1,5 +1,5 @@
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -1,6 +1,6 @@
using System;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -26,7 +26,7 @@ public enum OrderStatusDto
public void Example()
{
Mapper.Map<OrderStatus, OrderStatusDto>(OrderStatus.InProgress).ShouldEqual(OrderStatusDto.InProgress);
- Mapper.Map<OrderStatus, short>(OrderStatus.Complete).ShouldEqual(1);
+ Mapper.Map<OrderStatus, short>(OrderStatus.Complete).ShouldEqual((short)1);
Mapper.Map<OrderStatus, string>(OrderStatus.Complete).ShouldEqual("Complete");
Mapper.Map<short, OrderStatus>(1).ShouldEqual(OrderStatus.Complete);
Mapper.Map<string, OrderStatus>("Complete").ShouldEqual(OrderStatus.Complete);
@@ -3,7 +3,7 @@
using System.ComponentModel;
using System.Linq;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -1,6 +1,6 @@
using System.Collections.Generic;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
using System.Linq;
@@ -90,9 +90,9 @@ public void Example()
var destinations = Mapper.Map<ParentSource[], ParentDestination[]>(sources);
- destinations[0].ShouldBeInstanceOf<ParentDestination>();
- destinations[1].ShouldBeInstanceOf<ChildDestination>();
- destinations[2].ShouldBeInstanceOf<ParentDestination>();
+ destinations[0].ShouldBeType<ParentDestination>();
+ destinations[1].ShouldBeType<ChildDestination>();
+ destinations[2].ShouldBeType<ParentDestination>();
}
}
}
@@ -1,6 +1,6 @@
using System;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples.Mappers
@@ -1,6 +1,6 @@
using AutoMapper;
using NUnit.Framework;
-using NBehave.Spec.NUnit;
+using Should;
namespace AutoMapperSamples
{
@@ -1,6 +1,6 @@
using System;
using AutoMapper;
-using NBehave.Spec.NUnit;
+using Should;
using NUnit.Framework;
namespace AutoMapperSamples
@@ -17,7 +17,7 @@
[assembly: AssemblyFileVersionAttribute("2.0.0.0")]
[assembly: AssemblyCopyrightAttribute("Copyright Jimmy Bogard 2008-2011")]
[assembly: AssemblyProductAttribute("AutoMapper")]
-[assembly: AssemblyTrademarkAttribute("75457834ed67c2f042c7e3e2a05d87da04b5aa28")]
+[assembly: AssemblyTrademarkAttribute("14e3b1fe041bdf23d0f64a7676ea5f671d45d2ac")]
[assembly: AssemblyCompanyAttribute("")]
[assembly: AssemblyConfigurationAttribute("release")]
[assembly: AssemblyInformationalVersionAttribute("2.0.0.0")]
Oops, something went wrong.

0 comments on commit c199591

Please sign in to comment.